Пример #1
0
        private void MainWindow_Closed(object sender, EventArgs e)
        {
            Bll.StopThread();//关闭静态线程

            ServerManagerBox1.StopServices();
            ServerManagerBox1.StopLogTimer();
            ServerManagerBox1.StopListenLog();

            CloseDaemonProcess();
            if (Application.Current != null)
            {
                Application.Current.Shutdown();
            }

            StaticEvents.LocateArchorByIp -= StaticEvents_LocateArchorByIp;
        }
Пример #2
0
 private void MainWindow_Closed(object sender, EventArgs e)
 {
     ServerManagerBox1.StopServices();
 }