Пример #1
0
 public void Close()
 {
     if (loadingForm != null)
     {
         loadingForm.BeginInvoke(new System.Threading.ThreadStart(loadingForm.CloseLoadingForm));
         loadingForm = null;
         loadthread  = null;
     }
 }
Пример #2
0
 public void Close()
 {
     try
     {
         if (loadingForm != null)
         {
             loadingForm.BeginInvoke(new System.Threading.ThreadStart(loadingForm.CloseLoadingForm));
             loadingForm = null;
             loadthread  = null;
         }
     }
     catch (Exception ex)
     {
         FAQ_Net.G.AddRowToLog("Не закрывается фоновая форма ожидания", ex.Message);
     }
 }