PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
CloseReason equals UserClosing when form is programatically closed
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
CloseReason equals UserClosing when form is programatically closed
![]() |
CloseReason equals UserClosing when form is programatically closed |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
In FormClosedEventArgs of OnFormClosed() method, when the form is closed
using Form.Close() method, the e.CloseReason equals UserClosing. I would have been happy to differentiate when user has clicked the form "Close button" or when the form is closed progamatically by myself. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

