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