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

C#

 
AnswerRe: Set 'visible' property to 'false' for all the opened forms Pin
Stefan Troschuetz23-Oct-06 21:42
Stefan Troschuetz23-Oct-06 21:42 
Whenever you open a form, store the reference to it in some central collection (don't forget to remove after closing the form). Now, if you want to hide all forms, iterate over the collection and assign false to the Visible property.


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de

GeneralRe: Set 'visible' property to 'false' for all the opened forms Pin
AngryC25-Oct-06 11:03
AngryC25-Oct-06 11:03 
GeneralRe: Set 'visible' property to 'false' for all the opened forms Pin
Stefan Troschuetz25-Oct-06 16:33
Stefan Troschuetz25-Oct-06 16:33 
AnswerRe: Set 'visible' property to 'false' for all the opened forms Pin
MGoettmann24-Oct-06 4:06
MGoettmann24-Oct-06 4:06 
GeneralRe: Set 'visible' property to 'false' for all the opened forms Pin
AngryC25-Oct-06 11:03
AngryC25-Oct-06 11:03 
AnswerRe: Set 'visible' property to 'false' for all the opened forms Pin
MGoettmann25-Oct-06 12:14
MGoettmann25-Oct-06 12:14 
GeneralRe: Set 'visible' property to 'false' for all the opened forms Pin
AngryC26-Oct-06 11:50
AngryC26-Oct-06 11:50 
GeneralRe: Set 'visible' property to 'false' for all the opened forms Pin
MGoettmann27-Oct-06 5:11
MGoettmann27-Oct-06 5:11 
GeneralRichTextBox Pin
1010210623-Oct-06 12:29
1010210623-Oct-06 12:29 
GeneralRe: RichTextBox Pin
1010210623-Oct-06 12:43
1010210623-Oct-06 12:43 
QuestionC # 3 in net framework 3 package? Pin
SJ_Phoenix23-Oct-06 7:53
SJ_Phoenix23-Oct-06 7:53 
AnswerRe: C # 3 in net framework 3 package? Pin
S. Senthil Kumar23-Oct-06 7:58
S. Senthil Kumar23-Oct-06 7:58 
GeneralRe: C # 3 in net framework 3 package? Pin
SJ_Phoenix23-Oct-06 8:07
SJ_Phoenix23-Oct-06 8:07 
QuestionHELP - Datagrid Pin
Wargamon23-Oct-06 6:56
Wargamon23-Oct-06 6:56 
QuestionSerialization problem Pin
-Yoyosh-23-Oct-06 5:11
-Yoyosh-23-Oct-06 5:11 
AnswerRe: Serialization problem Pin
led mike23-Oct-06 5:21
led mike23-Oct-06 5:21 
GeneralRe: Serialization problem Pin
-Yoyosh-23-Oct-06 11:58
-Yoyosh-23-Oct-06 11:58 
GeneralRe: Serialization problem Pin
led mike24-Oct-06 5:01
led mike24-Oct-06 5:01 
QuestionHttpWebRequest + CookieContainer Pin
FlyOnIT23-Oct-06 5:09
FlyOnIT23-Oct-06 5:09 
QuestionPort 80 Pin
-Yoyosh-23-Oct-06 5:08
-Yoyosh-23-Oct-06 5:08 
QuestionObtaining Page Rank Pin
gvanto23-Oct-06 5:00
gvanto23-Oct-06 5:00 
QuestionNot have any cell selected in a datagrid Pin
Dan Neely23-Oct-06 4:45
Dan Neely23-Oct-06 4:45 
QuestionOverride inherited delegates??? Pin
lsugirljte23-Oct-06 4:36
lsugirljte23-Oct-06 4:36 
AnswerRe: Override inherited delegates??? Pin
led mike23-Oct-06 5:17
led mike23-Oct-06 5:17 
GeneralRe: Override inherited delegates??? Pin
lsugirljte23-Oct-06 5:34
lsugirljte23-Oct-06 5:34 

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.