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