U ucasesoftware Oct 27, 2005 #1 in the event closed how i can stop the closed ? i want a confirm before (and when they click the cross close too)
in the event closed how i can stop the closed ? i want a confirm before (and when they click the cross close too)
H Herfried K. Wagner [MVP] Oct 27, 2005 #2 ucasesoftware said: in the event closed how i can stop the closed ? i want a confirm before (and when they click the cross close too) Click to expand... Use the 'Closing' event instead and set 'e.Cancel' to 'True' to cancel closing.
ucasesoftware said: in the event closed how i can stop the closed ? i want a confirm before (and when they click the cross close too) Click to expand... Use the 'Closing' event instead and set 'e.Cancel' to 'True' to cancel closing.
S Siva M Oct 27, 2005 #3 In Windows Forms? If so, handle the Closing event. To prevent closing, set the CancelEventArgs's Cancel property to true. Here is the documentation for the same: http://msdn.microsoft.com/library/d...lrfsystemwindowsformsformclassclosedtopic.asp in the event closed how i can stop the closed ? i want a confirm before (and when they click the cross close too)
In Windows Forms? If so, handle the Closing event. To prevent closing, set the CancelEventArgs's Cancel property to true. Here is the documentation for the same: http://msdn.microsoft.com/library/d...lrfsystemwindowsformsformclassclosedtopic.asp in the event closed how i can stop the closed ? i want a confirm before (and when they click the cross close too)