# HG changeset patch
# User sl
# Date 1420999216 -3600
# Node ID 829dd13b10484fe7ec36c3cff4f055ef1c057014
# Parent 9c4a78195ac447d8316322b4769edb9063fadc8b
Adding app exit event handler.
diff -r 9c4a78195ac4 -r 829dd13b1048 Server/Program.cs
--- a/Server/Program.cs Sun Jan 11 18:34:52 2015 +0100
+++ b/Server/Program.cs Sun Jan 11 19:00:16 2015 +0100
@@ -16,11 +16,23 @@
///
[STAThread]
static void Main()
- {
+ {
+ Application.ApplicationExit += new EventHandler(OnApplicationExit);
+ //
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
iMainForm = new MainForm();
Application.Run(iMainForm);
}
+
+ ///
+ /// Occurs after form closing.
+ ///
+ ///
+ ///
+ static private void OnApplicationExit(object sender, EventArgs e)
+ {
+
+ }
}
}