Click here to Skip to main content
15,900,258 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: deleted DataRows just vanishes from DataTable, no way to access them Pin
imak28-Apr-10 3:26
imak28-Apr-10 3:26 
AnswerRe: deleted DataRows just vanishes from DataTable, no way to access them Pin
Shameel23-May-10 5:42
professionalShameel23-May-10 5:42 
AnswerRe: How to get User Name of a machine present in LAN Pin
Eddy Vluggen24-Apr-10 23:25
professionalEddy Vluggen24-Apr-10 23:25 
QuestionHow to get source code of a popup window via webbrowser? Pin
bilalkorkmaz20-Apr-10 2:19
bilalkorkmaz20-Apr-10 2:19 
QuestionIE show up on Top of parentForm Pin
sri_009919-Apr-10 20:48
sri_009919-Apr-10 20:48 
AnswerRe: IE show up on Top of parentForm Pin
Eddy Vluggen24-Apr-10 23:28
professionalEddy Vluggen24-Apr-10 23:28 
GeneralRe: IE show up on Top of parentForm Pin
sri_009925-Apr-10 19:29
sri_009925-Apr-10 19:29 
GeneralRe: IE show up on Top of parentForm Pin
Eddy Vluggen25-Apr-10 23:28
professionalEddy Vluggen25-Apr-10 23:28 
sri_0099 wrote:
Yes, i set the parent form as property. And before closing childform i called prentform.activate() method.

The parent isn't always the owner.

There's an overloaded version of the .Show and .ShowDialog method that takes an Owner-handle. The OS will reset the focus to this "owner" if the window gets closed. Something like this;
C#
new MyForm.Show(this);
If all is well, then you should be able to remove the ParentForm.Activate(), just closing the child should be enough.
I are Troll Suspicious | :suss:

QuestionUnable to change the properties of the Month Calendar Control on my forms app. Pin
Squire Dude18-Apr-10 11:36
Squire Dude18-Apr-10 11:36 
AnswerRe: Unable to change the properties of the Month Calendar Control on my forms app. Pin
Som Shekhar18-Apr-10 17:32
Som Shekhar18-Apr-10 17:32 
GeneralRe: Unable to change the properties of the Month Calendar Control on my forms app. Pin
Squire Dude19-Apr-10 4:19
Squire Dude19-Apr-10 4:19 
GeneralRe: Unable to change the properties of the Month Calendar Control on my forms app. Pin
Som Shekhar19-Apr-10 4:25
Som Shekhar19-Apr-10 4:25 
GeneralRe: Unable to change the properties of the Month Calendar Control on my forms app. Pin
Squire Dude19-Apr-10 5:31
Squire Dude19-Apr-10 5:31 
GeneralRe: Unable to change the properties of the Month Calendar Control on my forms app. Pin
Som Shekhar19-Apr-10 5:43
Som Shekhar19-Apr-10 5:43 
GeneralRe: Unable to change the properties of the Month Calendar Control on my forms app. Pin
Squire Dude19-Apr-10 6:28
Squire Dude19-Apr-10 6:28 
GeneralRe: Unable to change the properties of the Month Calendar Control on my forms app. Pin
Som Shekhar19-Apr-10 6:31
Som Shekhar19-Apr-10 6:31 
GeneralRe: Unable to change the properties of the Month Calendar Control on my forms app. Pin
Squire Dude19-Apr-10 10:34
Squire Dude19-Apr-10 10:34 
GeneralRe: Unable to change the properties of the Month Calendar Control on my forms app. Pin
Som Shekhar19-Apr-10 18:21
Som Shekhar19-Apr-10 18:21 
GeneralRe: Unable to change the properties of the Month Calendar Control on my forms app. Pin
Squire Dude20-Apr-10 5:12
Squire Dude20-Apr-10 5:12 
GeneralRe: Unable to change the properties of the Month Calendar Control on my forms app. Pin
Som Shekhar20-Apr-10 6:46
Som Shekhar20-Apr-10 6:46 
AnswerRe: Unable to change the properties of the Month Calendar Control on my forms app. Pin
Henry Minute27-Apr-10 11:40
Henry Minute27-Apr-10 11:40 
QuestionAdd item to a listbox that is bind to a DataSource Pin
imak16-Apr-10 6:19
imak16-Apr-10 6:19 
AnswerRe: Add item to a listbox that is bind to a DataSource Pin
Dan Mos16-Apr-10 6:44
Dan Mos16-Apr-10 6:44 
GeneralRe: Add item to a listbox that is bind to a DataSource Pin
imak16-Apr-10 6:53
imak16-Apr-10 6:53 
GeneralRe: Add item to a listbox that is bind to a DataSource Pin
Dan Mos16-Apr-10 7:01
Dan Mos16-Apr-10 7:01 

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.