Example #1
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     if (ViewModelWindow1._ping == null)
     {
         return;
     }
     LongtaskPingCANCELING.analiz_closing_thread(ViewModelWindow1._ping, ViewModelWindow1._pingPREPARE);
 }
Example #2
0
        private void Ap_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            Trace.WriteLine("CLOSE WIN AUTOPING");

            LongtaskPingCANCELING.analiz_closing_thread(_ping, _pingPREPARE);
            winap = null;
            ap.stop();
            ap.Dispose();
            ap = null;
            Update_collection(typefilter.last);
        }