Click here to Skip to main content
15,918,808 members
Home / Discussions / C#
   

C#

 
AnswerRe: *.ico files Pin
Henry Minute6-May-09 8:46
Henry Minute6-May-09 8:46 
AnswerRe: *.ico files Pin
Jabbar_espania6-May-09 10:58
Jabbar_espania6-May-09 10:58 
AnswerRe: *.ico files Pin
Jonathan Harker7-May-09 1:23
Jonathan Harker7-May-09 1:23 
QuestionPassing byte[] to Report Pin
Jacob Dixon6-May-09 8:39
Jacob Dixon6-May-09 8:39 
Questionreturn value Pin
behzadcp6-May-09 5:47
professionalbehzadcp6-May-09 5:47 
AnswerRe: return value Pin
DaveyM696-May-09 6:09
professionalDaveyM696-May-09 6:09 
GeneralRe: return value Pin
behzadcp6-May-09 6:19
professionalbehzadcp6-May-09 6:19 
GeneralRe: return value Pin
DaveyM696-May-09 9:36
professionalDaveyM696-May-09 9:36 
AnswerRe: return value Pin
OriginalGriff6-May-09 6:14
mveOriginalGriff6-May-09 6:14 
GeneralRe: return value Pin
musefan6-May-09 6:21
musefan6-May-09 6:21 
GeneralRe: return value Pin
Henry Minute6-May-09 7:14
Henry Minute6-May-09 7:14 
Questiondefinivelty confused about sqlite as embedded database Pin
highjo6-May-09 5:18
highjo6-May-09 5:18 
GeneralRe: definivelty confused about sqlite as embedded database Pin
highjo6-May-09 6:33
highjo6-May-09 6:33 
QuestionNeed to copy folder from one path to other Pin
honeyashu6-May-09 4:55
honeyashu6-May-09 4:55 
AnswerRe: Need to copy folder from one path to other Pin
musefan6-May-09 6:11
musefan6-May-09 6:11 
GeneralRe: Need to copy folder from one path to other Pin
Member 10339076-May-09 10:23
Member 10339076-May-09 10:23 
Questionmake a new object in an event! Pin
pcsience6-May-09 4:44
pcsience6-May-09 4:44 
QuestionRe: make a new object in an event! Pin
OriginalGriff6-May-09 4:53
mveOriginalGriff6-May-09 4:53 
QuestionRe: make a new object in an event! Pin
pcsience6-May-09 5:37
pcsience6-May-09 5:37 
AnswerRe: make a new object in an event! Pin
musefan6-May-09 5:49
musefan6-May-09 5:49 
QuestionRe: make a new object in an event! Pin
pcsience6-May-09 7:55
pcsience6-May-09 7:55 
AnswerRe: make a new object in an event! Pin
Henry Minute6-May-09 9:06
Henry Minute6-May-09 9:06 
QuestionRe: make a new object in an event! Pin
pcsience6-May-09 11:38
pcsience6-May-09 11:38 
AnswerRe: make a new object in an event! Pin
Henry Minute6-May-09 12:01
Henry Minute6-May-09 12:01 
Closing the childform disposes it. The point of an MDI interface is that it allows you to have many child windows open, which is why I suggested using ActiveMDIChild.

If you want to use your toolTest_Click you must either test that ActiveMDIChild is not null and return if it is, or you must add myTest = new ChildTest() to the method. The problem with the last option, is that you will end up with lots of myTest forms open, just to test your methods. Alternatively don't close the first instance of ChildTest().

This is why I suggested that you read the article I gave the link for. Also the MDI Walkthroughs on MSDN are not bad, such as this one[^].

If you study either, or both of these, you will get a better understanding, because it is obvious that you are misunderstanding something about Windows Forms Programming in general and MDI in particular.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: make a new object in an event! Pin
pcsience9-May-09 2:29
pcsience9-May-09 2:29 

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.