what is event_Dispose of VB.net in C# ?
C#
2
Posts
2
Posters
0
Views
1
Watching
-
C# has Form.Disposed event handler... thou it does not seem to come up in design mode so you will have to code it your self...
public Form1()
{
InitializeComponent();
Form1.Disposed += new EventHander(OnFormDisposed);
}void OnFormDisposed(object sender, EventArgs e)
{
//do something
}I don't know what EventArgs can be used with it or even if it will work. What do you need it for?
Life goes very fast. Tomorrow, today is already yesterday.