Click here to Skip to main content
15,909,835 members
Home / Discussions / C#
   

C#

 
GeneralRe: Noob question, probably easy answer... Pin
Guffa3-Feb-09 10:07
Guffa3-Feb-09 10:07 
GeneralRe: Noob question, probably easy answer... Pin
Rob Philpott3-Feb-09 6:31
Rob Philpott3-Feb-09 6:31 
GeneralRe: Noob question, probably easy answer... Pin
Lodeclaw3-Feb-09 6:38
Lodeclaw3-Feb-09 6:38 
GeneralRe: Noob question, probably easy answer... Pin
EliottA3-Feb-09 6:39
EliottA3-Feb-09 6:39 
GeneralRe: Noob question, probably easy answer... Pin
musefan3-Feb-09 6:42
musefan3-Feb-09 6:42 
GeneralRe: Noob question, probably easy answer... Pin
EliottA3-Feb-09 6:54
EliottA3-Feb-09 6:54 
GeneralRe: Noob question, probably easy answer... Pin
musefan3-Feb-09 7:01
musefan3-Feb-09 7:01 
QuestionShowDialog hides parent form Pin
musefan3-Feb-09 5:54
musefan3-Feb-09 5:54 
Hi All,

I have an application which calls a number of different child form for different processes.

These forms are mainly displayed with the ShowDialog() method as they require the user to enter data before doing anything else.

Now the problem is sometimes (not very often) when the child 'dialog' form is finished with, either by setting DialogResult to 'OK' or to 'Cancel' and then calling this.Hide(), the parent form will not be visible. The form is still present in the taskbar, so a quick minimise then maximise will show it once again, but clearly this is not acceptable.

If anyone has experienced this problem or can offer an explaination, I would be greatful.

But please remember its not a common occurances, and if you offer a simple solution such as try setting the parent form to visible everytime as safety measure, I cannot test so easily and would much prefer an explaination if possible.

Of course saying that, if someone can say they have had experience with the problem and have solved with no more issues without knowing a reason behind, I would be happy with that as a solution - atleast for now

Thanks

My opinion is... If someone has already posted an answer, dont post the SAME answer

AnswerRe: ShowDialog hides parent form Pin
Kristian Sixhøj3-Feb-09 6:25
Kristian Sixhøj3-Feb-09 6:25 
GeneralRe: ShowDialog hides parent form Pin
musefan3-Feb-09 6:37
musefan3-Feb-09 6:37 
JokeRe: ShowDialog hides parent form Pin
musefan3-Feb-09 7:04
musefan3-Feb-09 7:04 
AnswerRe: ShowDialog hides parent form Pin
musefan2-Apr-09 2:50
musefan2-Apr-09 2:50 
Questionone more somewhat dumb question... Pin
l a u r e n3-Feb-09 5:35
l a u r e n3-Feb-09 5:35 
AnswerRe: one more somewhat dumb question... Pin
musefan3-Feb-09 5:38
musefan3-Feb-09 5:38 
GeneralRe: one more somewhat dumb question... Pin
EliottA3-Feb-09 5:49
EliottA3-Feb-09 5:49 
GeneralRe: one more somewhat dumb question... Pin
musefan3-Feb-09 5:59
musefan3-Feb-09 5:59 
GeneralRe: one more somewhat dumb question... Pin
l a u r e n3-Feb-09 6:47
l a u r e n3-Feb-09 6:47 
GeneralRe: one more somewhat dumb question... Pin
musefan3-Feb-09 6:56
musefan3-Feb-09 6:56 
GeneralRe: one more somewhat dumb question... Pin
l a u r e n3-Feb-09 7:20
l a u r e n3-Feb-09 7:20 
AnswerRe: one more somewhat dumb question... Pin
humayunlalzad3-Feb-09 5:57
humayunlalzad3-Feb-09 5:57 
AnswerRe: one more somewhat dumb question... [modified] Pin
Luc Pattyn3-Feb-09 6:03
sitebuilderLuc Pattyn3-Feb-09 6:03 
GeneralRe: one more somewhat dumb question... Pin
l a u r e n3-Feb-09 6:46
l a u r e n3-Feb-09 6:46 
Questiondata connections and forms / apps Pin
l a u r e n3-Feb-09 4:58
l a u r e n3-Feb-09 4:58 
AnswerRe: data connections and forms / apps Pin
Rob Philpott3-Feb-09 5:06
Rob Philpott3-Feb-09 5:06 
GeneralRe: data connections and forms / apps Pin
l a u r e n3-Feb-09 5:11
l a u r e n3-Feb-09 5:11 

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.