![]() |
![]() |
|
|||||||
| Register | Forum Rules | Getting Started! - Guide | Blog | Videos | Gallery | Members List | Social Groups | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
ƒ(ψ)=ΘΊΧφ
![]() |
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.
__________________
Please don't click here |
|
|
|
| Thanked Users: | Smilodon (06-06-2009) |
|
|
#12 |
|
Newbie
Join Date: May 2009
Age: 26
Posts: 24
Thanks: 10
Thanked 0 Times in 0 Posts
Rep Power: 0
![]() OS:
|
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. |
|
|
|
|
|
#13 |
|
Newbie
Join Date: Jan 2010
Age: 29
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
![]() OS:
|
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 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Home - Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |