Click here to Skip to main content
16,004,678 members
Home / Discussions / C#
   

C#

 
GeneralRe: getting enum integer ? Pin
Heath Stewart17-Dec-03 3:39
protectorHeath Stewart17-Dec-03 3:39 
GeneralSaving windows forms created at runtime Pin
kvimal16-Dec-03 12:49
kvimal16-Dec-03 12:49 
GeneralRe: Saving windows forms created at runtime Pin
Colin Angus Mackay16-Dec-03 13:01
Colin Angus Mackay16-Dec-03 13:01 
GeneralRe: Saving windows forms created at runtime Pin
Nigel Savidge17-Dec-03 4:30
Nigel Savidge17-Dec-03 4:30 
GeneralThreads and Controls Pin
Guinness4Strength16-Dec-03 11:59
Guinness4Strength16-Dec-03 11:59 
GeneralRe: Threads and Controls Pin
Mike Ellison16-Dec-03 14:15
Mike Ellison16-Dec-03 14:15 
GeneralRe: Threads and Controls Pin
Heath Stewart17-Dec-03 3:35
protectorHeath Stewart17-Dec-03 3:35 
GeneralMdi problemo Pin
datainjector16-Dec-03 10:09
datainjector16-Dec-03 10:09 
Okay here is what the problemo is ..

I am using MDI ... so i have this modal dialog box which opens up when the user clicks on a menuitem ... The person needs to enter some info into the dialog and click okay after that the values are passed to another form that is a MDI Child to the main form ... The problem is when the user clicks the close button the programm crashes ... I know why it does that because on the Okay button i inserted the code in the closing event so when the person closes the modal dialog with out filling anyhting in it .. it crashes which makes sence ...

I cant find a way to get around this problem ... The programm is a video lib managment system ... the modal dialog takes in the users code and opens the renting form ... Which is the mdi child ..

let me post the code it might help

<br />
CustomerCodeDialog cust == new CustomerCodeDialog();<br />
cd.ShowDialog();<br />
<br />
string customer_code = cust.getCustomerCode(); //which is a function that retrives the customer code from the text box<br />
string custoerm_name = cust.getCustomerName();<br />
<br />
issueWindow issue = new isuueWindow();<br />
issueWindow.MdiParent = this;<br />
issueWindow.Show();<br />

And please i cant find a good tutorials on MDI form for C# on codeProject or any other web site .. any links would help me alot...

Sorry my wnglish isnt that great ...

Thanks
DaIn
GeneralRe: Mdi problemo Pin
Heath Stewart17-Dec-03 3:29
protectorHeath Stewart17-Dec-03 3:29 
GeneralRe: Mdi problemo Pin
Heath Stewart17-Dec-03 3:32
protectorHeath Stewart17-Dec-03 3:32 
GeneralRe: Mdi problemo Pin
datainjector17-Dec-03 10:15
datainjector17-Dec-03 10:15 
GeneralRemote Debugging Pin
mikemilano16-Dec-03 9:13
mikemilano16-Dec-03 9:13 
GeneralRe: Remote Debugging Pin
Heath Stewart17-Dec-03 3:23
protectorHeath Stewart17-Dec-03 3:23 
Generalcontext menu with drag/drop and right click Pin
mikelb16-Dec-03 4:37
mikelb16-Dec-03 4:37 
Generalinterfaces and GUIDS Pin
Jinwah16-Dec-03 4:27
Jinwah16-Dec-03 4:27 
GeneralRe: interfaces and GUIDS Pin
Heath Stewart16-Dec-03 5:11
protectorHeath Stewart16-Dec-03 5:11 
GeneralRe: interfaces and GUIDS Pin
Jinwah16-Dec-03 5:34
Jinwah16-Dec-03 5:34 
GeneralRe: interfaces and GUIDS Pin
Heath Stewart16-Dec-03 5:45
protectorHeath Stewart16-Dec-03 5:45 
GeneralRe: interfaces and GUIDS Pin
Jinwah16-Dec-03 22:04
Jinwah16-Dec-03 22:04 
GeneralRe: interfaces and GUIDS Pin
Heath Stewart17-Dec-03 3:13
protectorHeath Stewart17-Dec-03 3:13 
GeneralRe: interfaces and GUIDS Pin
Member 26118817-Dec-03 6:02
Member 26118817-Dec-03 6:02 
GeneralSetting Up Computer to run IIS/ASP.NETwith C# Pin
Larry J. Siddens16-Dec-03 4:22
Larry J. Siddens16-Dec-03 4:22 
GeneralRe: Setting Up Computer to run IIS/ASP.NETwith C# Pin
Heath Stewart16-Dec-03 5:08
protectorHeath Stewart16-Dec-03 5:08 
GeneralRe: Setting Up Computer to run IIS/ASP.NETwith C# Pin
Larry J. Siddens16-Dec-03 7:03
Larry J. Siddens16-Dec-03 7:03 
GeneralRe: Setting Up Computer to run IIS/ASP.NETwith C# Pin
Heath Stewart16-Dec-03 11:06
protectorHeath Stewart16-Dec-03 11:06 

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.