Click here to Skip to main content
15,906,625 members
Home / Discussions / C#
   

C#

 
AnswerRe: MultiThreading + SendKeys.Send() Pin
Luc Pattyn2-Apr-12 11:55
sitebuilderLuc Pattyn2-Apr-12 11:55 
GeneralRe: MultiThreading + SendKeys.Send() Pin
Emptora2-Apr-12 13:27
Emptora2-Apr-12 13:27 
AnswerRe: MultiThreading + SendKeys.Send() Pin
Luc Pattyn2-Apr-12 13:42
sitebuilderLuc Pattyn2-Apr-12 13:42 
GeneralRe: MultiThreading + SendKeys.Send() Pin
Emptora3-Apr-12 12:26
Emptora3-Apr-12 12:26 
AnswerRe: MultiThreading + SendKeys.Send() Pin
Luc Pattyn3-Apr-12 12:42
sitebuilderLuc Pattyn3-Apr-12 12:42 
Questiongeneric copy constructor Pin
andy_t_roo1-Apr-12 13:59
andy_t_roo1-Apr-12 13:59 
AnswerRe: generic copy constructor Pin
RobCroll1-Apr-12 15:03
RobCroll1-Apr-12 15:03 
QuestionEntity FrameWork, pass entity between forms Pin
mehdi00161-Apr-12 12:43
mehdi00161-Apr-12 12:43 
Hi I'm working on new winform project using EF and i'm looking for best approach to pass an entity between forms as parameter.
In main form i have a grid populated with i.e. customers from dbcontext like:
C#
var db = new context();
grid.datasource = db.Customers.toList();
db.dispose();

Then i want to edit grid selected row(presents a customer record) in a new form(Detail form).
I get selected customer by this:
C#
Customer editCustomer = (Customer)grid.selectedRows[0].dataBoundItem;

and then pass the 'editCustomer' to a new instance of Detail form constructor.
Now my problem is how to save editCustomer changes made in Detail form? (with consideration of in Detail form the editCustomer have Detached state). this really confusing me Confused | :confused:
Please help me.
Thanks.
AnswerRe: Entity FrameWork, pass entity between forms Pin
RobCroll1-Apr-12 14:57
RobCroll1-Apr-12 14:57 
AnswerRe: Entity FrameWork, pass entity between forms Pin
Richard Andrew x641-Apr-12 17:23
professionalRichard Andrew x641-Apr-12 17:23 
QuestionEDM Pin
MemberDotNetting1-Apr-12 12:10
MemberDotNetting1-Apr-12 12:10 
AnswerRe: EDM Pin
Richard Andrew x641-Apr-12 17:22
professionalRichard Andrew x641-Apr-12 17:22 
Questionhow to reduce the size of exe File ... Pin
nassimnastaran1-Apr-12 8:41
nassimnastaran1-Apr-12 8:41 
AnswerRe: how to reduce the size of exe File ... Pin
DaveyM691-Apr-12 9:45
professionalDaveyM691-Apr-12 9:45 
AnswerRe: how to reduce the size of exe File ... Pin
RobCroll1-Apr-12 14:46
RobCroll1-Apr-12 14:46 
GeneralRe: how to reduce the size of exe File ... Pin
PIEBALDconsult1-Apr-12 16:52
mvePIEBALDconsult1-Apr-12 16:52 
GeneralRe: how to reduce the size of exe File ... Pin
RobCroll1-Apr-12 17:33
RobCroll1-Apr-12 17:33 
GeneralRe: how to reduce the size of exe File ... Pin
Pete O'Hanlon1-Apr-12 23:00
mvePete O'Hanlon1-Apr-12 23:00 
GeneralRe: how to reduce the size of exe File ... Pin
RobCroll2-Apr-12 12:20
RobCroll2-Apr-12 12:20 
GeneralRe: how to reduce the size of exe File ... Pin
nassimnastaran2-Apr-12 5:27
nassimnastaran2-Apr-12 5:27 
GeneralRe: how to reduce the size of exe File ... Pin
Pete O'Hanlon3-Apr-12 1:58
mvePete O'Hanlon3-Apr-12 1:58 
AnswerRe: how to reduce the size of exe File ... Pin
PIEBALDconsult1-Apr-12 16:51
mvePIEBALDconsult1-Apr-12 16:51 
JokeRe: how to reduce the size of exe File ... Pin
Peter_in_27801-Apr-12 17:53
professionalPeter_in_27801-Apr-12 17:53 
AnswerRe: how to reduce the size of exe File ... Pin
Eddy Vluggen1-Apr-12 23:52
professionalEddy Vluggen1-Apr-12 23:52 
Questionhandling of paint event Pin
Danzy8331-Mar-12 22:37
Danzy8331-Mar-12 22:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.