Example #1
0
 /// <summary>
 /// 显示窗口
 /// </summary>
 private static void ShowForm()
 {
     if (loadingForm != null)
     {
         loadingForm.CloseOrder();
         loadingForm = null;
     }
     loadingForm         = new WaitMessage();
     loadingForm.TopMost = true;
     loadingForm.ShowDialog();
 }
Example #2
0
 /// <summary>
 /// 关闭窗口,委托中使用
 /// </summary>
 private static void CloseFormInternal()
 {
     loadingForm.CloseOrder();
     loadingForm = null;
 }