user interface - form close event in c# -


i trying cleaning when form closes. using following signature

private void batchgui_closing(object sender, formclosingeventargs e) 

the issue is, if put breakpoint in there code never executes, how write method form close event?

thanks

in winforms event called formclosing:

private void form1_formclosing(object sender, formclosingeventargs e) {  } 

make sure attached event in designer. adding method not enough!


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -