TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Software World > Programming

Notices

C# Form Closing Event

Programming


Reply
 
Thread Tools Display Modes
Old 05-06-2009, 05:41 PM   #11
ƒ(ψ)=ΘΊΧφ
 
bakuryu's Avatar
 
Join Date: May 2006
Location: India
Age: 24
Posts: 6,621
Thanks: 19
Thanked 649 Times in 605 Posts
Rep Power: 87 bakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant future


OS: Windows XP Windows Vista Windows 7


Send a message via Yahoo to bakuryu
Re: C# Form Closing Event

Now it works. Also add the event handlers from the interface, or link them via the ide later.

btw .. yeah the FormClosing event handler is not fired. But there's another FormClosed handler which works or the OnFormClosing method. turns out you got to use the override keyword to make it work.
Attached Files
File Type: zip Grade Tracker - modified.zip (388.3 KB, 13 views)
__________________
Please don't click here
bakuryu is offline   Reply With Quote
Thanked Users:
Smilodon (06-06-2009)
Old 06-06-2009, 01:16 AM   #12
Newbie
 
Join Date: May 2009
Age: 26
Posts: 24
Thanks: 10
Thanked 0 Times in 0 Posts
Rep Power: 0 Smilodon is an unknown quantity at this point


OS: Windows XP Windows Vista


Re: C# Form Closing Event

Thanks much once again.
This sentence is to add more characters since it told me my message was too short.
Smilodon is offline   Reply With Quote
Old 31-01-2010, 09:42 AM   #13
Newbie
 
Join Date: Jan 2010
Age: 29
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 HaseebAmjad is an unknown quantity at this point


OS: Windows Vista


Re: C# Form Closing Event

Hi,

Go to designer, Select the form for which you want to add this closing event, click the properties and then on the properties click lightining bolt to see all the form event, on the formclosing write the name of method that you want to call upon closing the form.

Hope that helps.

-H
HaseebAmjad is offline   Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 04:10 PM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional