private void WindowX_Closed(object sender, EventArgs e)
 {
     Tool.Config.Write("H", ((int)this.Height).ToString());
     Tool.Config.Write("W", ((int)this.Width).ToString());
     notifyicon.Dispose();
     NoticeManager.ExitNotifiaction();
     Application.Current.Shutdown();
 }
 private void WindowX_Closed(object sender, EventArgs e)
 {
     Tool.Config.Write("H", ((int)Height).ToString());
     Tool.Config.Write("W", ((int)Width).ToString());
     notifyicon.Dispose();
     NoticeManager.ExitNotifiaction();
     Api.StopApi();
     Environment.Exit(0);
 }
Beispiel #3
0
 protected override void OnExit(ExitEventArgs e)
 {
     NoticeManager.ExitNotifiaction();
     base.OnExit(e);
 }