Click here to Skip to main content
15,886,857 members
Home / Discussions / C#
   

C#

 
GeneralRe: editing access table fields using C# Pin
rkherath17-Apr-07 20:34
rkherath17-Apr-07 20:34 
QuestionDesposing Form problem Pin
EEmaan17-Apr-07 18:28
EEmaan17-Apr-07 18:28 
AnswerRe: Desposing Form problem Pin
Christian Graus17-Apr-07 19:40
protectorChristian Graus17-Apr-07 19:40 
GeneralRe: Desposing Form problem Pin
EEmaan17-Apr-07 19:49
EEmaan17-Apr-07 19:49 
GeneralRe: Desposing Form problem Pin
Martin#17-Apr-07 20:07
Martin#17-Apr-07 20:07 
GeneralRe: Desposing Form problem Pin
EEmaan17-Apr-07 20:13
EEmaan17-Apr-07 20:13 
GeneralRe: Desposing Form problem Pin
Martin#17-Apr-07 20:22
Martin#17-Apr-07 20:22 
GeneralRe: Desposing Form problem Pin
Christian Graus17-Apr-07 20:38
protectorChristian Graus17-Apr-07 20:38 
OK, this can't work. You're opening an instance of Form3 ( please tell me it's not called that ). But, that instance exists as a child of the current form. So, when you close the current form, the Form3 instance, as a child, will also be disposed of.

The Show() method should only be used to show a form that is a member variable, otherwise you lose all references to it.

Your best bet here is to make Form3 and this form user controls and show them both on teh one form, just hide the one you don't want.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: Desposing Form problem Pin
Martin#17-Apr-07 20:43
Martin#17-Apr-07 20:43 
QuestionSplitting a path... Pin
deridder14917-Apr-07 17:28
deridder14917-Apr-07 17:28 
AnswerRe: Splitting a path... Pin
rah_sin17-Apr-07 17:53
professionalrah_sin17-Apr-07 17:53 
GeneralRe: Splitting a path... [modified] Pin
Mark Greenwood17-Apr-07 17:57
Mark Greenwood17-Apr-07 17:57 
GeneralRe: Splitting a path... Pin
Christian Graus17-Apr-07 19:30
protectorChristian Graus17-Apr-07 19:30 
AnswerRe: Splitting a path... Pin
AB777117-Apr-07 18:20
AB777117-Apr-07 18:20 
QuestionAdd a Form to TabControl Pin
Dothanhnam17-Apr-07 16:24
Dothanhnam17-Apr-07 16:24 
AnswerRe: Add a Form to TabControl Pin
lchild38517-Apr-07 16:39
lchild38517-Apr-07 16:39 
GeneralRe: Add a Form to TabControl [modified] Pin
Dothanhnam17-Apr-07 17:12
Dothanhnam17-Apr-07 17:12 
AnswerRe: Add a Form to TabControl Pin
Martin#17-Apr-07 20:14
Martin#17-Apr-07 20:14 
GeneralRe: Add a Form to TabControl Pin
Svett17-Apr-07 20:42
Svett17-Apr-07 20:42 
GeneralRe: Add a Form to TabControl Pin
Martin#17-Apr-07 20:45
Martin#17-Apr-07 20:45 
QuestionHow to get parent process id of a process Pin
lchild38517-Apr-07 16:23
lchild38517-Apr-07 16:23 
AnswerRe: How to get parent process id of a process Pin
Dave Kreskowiak17-Apr-07 17:03
mveDave Kreskowiak17-Apr-07 17:03 
GeneralRe: How to get parent process id of a process Pin
lchild38518-Apr-07 2:42
lchild38518-Apr-07 2:42 
QuestionDetect up/down pressed for NumericUpDown class Pin
bankai12317-Apr-07 15:51
bankai12317-Apr-07 15:51 
AnswerRe: Detect up/down pressed for NumericUpDown class Pin
sujithkumarsl17-Apr-07 19:55
sujithkumarsl17-Apr-07 19:55 

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.