|
Hi,
I'm a PHP developer turned C# and its all a bit confusing. (i've done a bit of VB6 so maybe it ain't so confusing).
How do i add code to the form close event??
For example, frmMain contains a button to open frmLogin which disables frmMain so the user MUST login. When frmLogin closes how do i activate the close event to re-instate frmMain.
I tried playing around with frmLogin_closing() {} but i just couldn't work it out. Please help me
-james
p.s If that didn't make sense, i just want to know how to use the form.close event! |