Click here to Skip to main content
15,888,816 members
Home / Discussions / Windows Forms
   

Windows Forms

 
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 
AnswerRe: Open a form Modally only to the calling form Pin
pishkari17-Nov-07 23:51
pishkari17-Nov-07 23:51 
hi,
it will help you

1- create a public parameter of your first form in your second form
ex: inform 2 write
public Form1 frm1;
2- after you created the object of your second form(ex : Form2 frm2 = new Form2();), and befor showing the second form write this code:
ex: frm2.frm1 = this;

3- move the code you want execute afte closing your second form to different public methode

4- write this code in Closing event of your second form :
ex: this.frm1.(the public event)


or you can make a boolean property in your first form that shows the second form is open or not(you can use closing event of your second form to change the value of it)
and in set of the property call the methode wich include codes that you want to execute after closing your second form



PISHI#
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 
AnswerRe: passing value to one form to other form Pin
Giorgi Dalakishvili14-Nov-07 0:47
mentorGiorgi Dalakishvili14-Nov-07 0:47 

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.