public static void ShowForm(string caption) { if (waitForm == null || waitForm.IsDisposed == true) { waitForm = new WaitWindow(); } waitForm.Text = caption; waitForm.Refresh(); //System.Threading.Thread.Sleep(500); waitForm.ShowDialog(); }
protected void StartLoadingShow(string TitleText) { ww = new WaitWindow(); ww.SetMessage(TitleText); CheckThreadState(); }
protected void StartLoadingShow() { ww = new WaitWindow(); ww.SetMessage("查詢中,請稍等"); CheckThreadState(); }