Windows Develop Bookmark and Share   
 index > Windows Forms General > how can i make a button close that form after it saves the datas
 

how can i make a button close that form after it saves the datas

I have 5 forums for different tasks first one is login screen when admin enters it opens a new windowform5 to save new users
when button inform5 pressed i want it to close form5.

Benedict Von Richten  Wednesday, September 09, 2009 1:03 PM

Add this.Close(); in Button Handler.


Please mark the post as answer if it is helpfull to you because it boosts the members to answer more and more.


_SuDhiR_  Wednesday, September 09, 2009 1:32 PM

Add this.Close(); in Button Handler.


Please mark the post as answer if it is helpfull to you because it boosts the members to answer more and more.


_SuDhiR_  Wednesday, September 09, 2009 1:32 PM
i can ony see in your answer:

Add

this

but i guess
it is

this.close();
Benedict Von Richten  Wednesday, September 09, 2009 1:34 PM

You can use google to search for other answers

Custom Search

More Threads

• datagrid reorder
• Usercontrols in winforms
• selected item in listview
• Textbox control that can overlay its container
• Rectangular Arraylist or List
• SetVisibleCore(false) causes WM_CANCELMODE in owner window?
• Getting Units of Measure in use
• create shortcut exe in desktop
• Printing Children
• Doubleclick event on combox doesn't trigger