Click here to Skip to main content
15,914,013 members
Home / Discussions / C#
   

C#

 
AnswerRe: creating a Wireless bitmap file Pin
Not Active26-Jul-07 2:04
mentorNot Active26-Jul-07 2:04 
AnswerRe: creating a Wireless bitmap file Pin
Dave Kreskowiak26-Jul-07 4:09
mveDave Kreskowiak26-Jul-07 4:09 
GeneralRe: creating a Wireless bitmap file Pin
Fara7626-Jul-07 11:59
Fara7626-Jul-07 11:59 
GeneralRe: creating a Wireless bitmap file Pin
ekynox27-Jul-07 15:12
ekynox27-Jul-07 15:12 
Questionhow to close the form. Pin
monuSaini26-Jul-07 1:24
monuSaini26-Jul-07 1:24 
AnswerRe: how to close the form. Pin
Pete O'Hanlon26-Jul-07 1:29
mvePete O'Hanlon26-Jul-07 1:29 
AnswerRe: how to close the form. Pin
kubben26-Jul-07 1:34
kubben26-Jul-07 1:34 
AnswerRe: how to close the form. Pin
Luc Pattyn26-Jul-07 6:34
sitebuilderLuc Pattyn26-Jul-07 6:34 
Hi,

while form2 is shown with ShowDialog() form1 normally remains visible, but inaccessible;
i.e. form2 behaves like a modal dialog, one that gets all the attention the process gets,
until form2 is closed.

If you dont want to see form1 behind form2, I would try this:

this.Hide();  // or this.Visible=false;
objForm2.ShowDialog();
this.Show();  // or this.Visible=true;


BTW: you normally capture the return value of ShowDialog to find out the reason it
got closed(use different DialogResult values for different buttons on the dialog).

Smile | :)




QuestionApplication that can't be terminate or kill Pin
Developer61126-Jul-07 1:05
Developer61126-Jul-07 1:05 
AnswerRe: Application that can't be terminate or kill Pin
Pete O'Hanlon26-Jul-07 1:13
mvePete O'Hanlon26-Jul-07 1:13 
GeneralRe: Application that can't be terminate or kill Pin
Developer61126-Jul-07 1:20
Developer61126-Jul-07 1:20 
GeneralRe: Application that can't be terminate or kill Pin
Pete O'Hanlon26-Jul-07 1:33
mvePete O'Hanlon26-Jul-07 1:33 
GeneralRe: Application that can't be terminate or kill Pin
J4amieC26-Jul-07 1:34
J4amieC26-Jul-07 1:34 
GeneralRe: Application that can't be terminate or kill Pin
Developer61126-Jul-07 1:51
Developer61126-Jul-07 1:51 
GeneralRe: Application that can't be terminate or kill Pin
Colin Angus Mackay26-Jul-07 1:59
Colin Angus Mackay26-Jul-07 1:59 
GeneralRe: Application that can't be terminate or kill Pin
Developer61126-Jul-07 2:04
Developer61126-Jul-07 2:04 
GeneralRe: Application that can't be terminate or kill Pin
Dave Kreskowiak26-Jul-07 4:05
mveDave Kreskowiak26-Jul-07 4:05 
GeneralRe: Application that can't be terminate or kill Pin
Developer61126-Jul-07 2:08
Developer61126-Jul-07 2:08 
GeneralRe: Application that can't be terminate or kill Pin
Dan Neely26-Jul-07 2:17
Dan Neely26-Jul-07 2:17 
GeneralRe: Application that can't be terminate or kill Pin
leckey26-Jul-07 4:05
leckey26-Jul-07 4:05 
JokeRe: Application that can't be terminate or kill Pin
Luc Pattyn26-Jul-07 6:28
sitebuilderLuc Pattyn26-Jul-07 6:28 
GeneralRe: Application that can't be terminate or kill Pin
J4amieC26-Jul-07 3:51
J4amieC26-Jul-07 3:51 
AnswerRe: Application that can't be terminate or kill Pin
Sam_c26-Jul-07 3:31
Sam_c26-Jul-07 3:31 
AnswerRe: Application that can't be terminate or kill Pin
Ihtesham8-Mar-10 21:25
Ihtesham8-Mar-10 21:25 
QuestionWCF performance Pin
qmiswax26-Jul-07 0:53
qmiswax26-Jul-07 0:53 

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.