Click here to Skip to main content
15,889,116 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: How to add config file in Windows App .NET Pin
Pallavi Bhoite19-Nov-07 20:48
Pallavi Bhoite19-Nov-07 20:48 
GeneralRe: How to add config file in Windows App .NET Pin
mpavas19-Nov-07 23:54
mpavas19-Nov-07 23:54 
QuestionListbox DrawItem Decorator Pin
Jens Meyer18-Nov-07 23:11
Jens Meyer18-Nov-07 23:11 
QuestionGraphical Grid in c#.net Pin
sindhutiwari18-Nov-07 20:53
sindhutiwari18-Nov-07 20:53 
QuestionCommunication between forms. Pin
daavena17-Nov-07 4:29
daavena17-Nov-07 4:29 
AnswerRe: Communication between forms. Pin
Giorgi Dalakishvili17-Nov-07 6:31
mentorGiorgi Dalakishvili17-Nov-07 6:31 
AnswerRe: Communication between forms. Pin
sindhutiwari18-Nov-07 20:55
sindhutiwari18-Nov-07 20:55 
QuestionOpen a form Modally only to the calling form Pin
cfao16-Nov-07 12:55
cfao16-Nov-07 12:55 
Hi,

I'm currently developing an application that requires that in a certain point, during the execution of some code from an event, to open a new Form.
The problem is that I need for the form that triggered the original event to be locked until the new form is closed, but if other forms are opened I don't want them to be locked (so I can't use ShowDialog).
The other obstacle is that there is code after the call to show the new form, that I want to execute only after that new form gets closed.

I'm currently doing an active wait until in a loop, executing Application.DoEvents until I have confirmation that the new form is closed but that is very inneficient (cpu stays at 100% usage).

Is there a more efficient way to do this?

Thanks in advance.
AnswerRe: Open a form Modally only to the calling form Pin
pishkari17-Nov-07 23:51
pishkari17-Nov-07 23:51 
Question.Net Paint events causes blinking Pin
JoeJoe10116-Nov-07 12:33
JoeJoe10116-Nov-07 12:33 
AnswerRe: .Net Paint events causes blinking Pin
JoeJoe10116-Nov-07 13:02
JoeJoe10116-Nov-07 13:02 
Questionemail validation Pin
afreen taj15-Nov-07 18:48
afreen taj15-Nov-07 18:48 
AnswerRe: email validation Pin
DigiOz Multimedia18-Nov-07 9:40
DigiOz Multimedia18-Nov-07 9:40 
QuestionChanging base form UI design, does not reflect in inherited form. Pin
kumar.bs15-Nov-07 14:10
kumar.bs15-Nov-07 14:10 
AnswerRe: Changing base form UI design, does not reflect in inherited form. Pin
Luc Pattyn15-Nov-07 14:51
sitebuilderLuc Pattyn15-Nov-07 14:51 
QuestionBackground text in treeview? Pin
ErikZ14-Nov-07 23:25
ErikZ14-Nov-07 23:25 
AnswerRe: Background text in treeview? Pin
TJoe15-Nov-07 2:30
TJoe15-Nov-07 2:30 
GeneralRe: Background text in treeview? Pin
ErikZ15-Nov-07 2:36
ErikZ15-Nov-07 2:36 
Questionbatch file code to send 'net send' message Pin
vat2do14-Nov-07 20:22
vat2do14-Nov-07 20:22 
AnswerRe: batch file code to send 'net send' message Pin
Christian Graus14-Nov-07 20:44
protectorChristian Graus14-Nov-07 20:44 
Questionhow to get the service startup type from an external application Pin
Anandpatel2314-Nov-07 19:00
Anandpatel2314-Nov-07 19:00 
AnswerRe: how to get the service startup type from an external application Pin
TJoe15-Nov-07 2:26
TJoe15-Nov-07 2:26 
Question.NET3 - Docked Grid hijacks focus Pin
Montago14-Nov-07 0:11
Montago14-Nov-07 0:11 
Questionpassing value to one form to other form Pin
kiran@p2softech13-Nov-07 22:46
kiran@p2softech13-Nov-07 22:46 
AnswerRe: passing value to one form to other form Pin
Christian Graus13-Nov-07 23:33
protectorChristian Graus13-Nov-07 23:33 

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.