public void Show() { try { arg = new ThreadWaiting(); arg.theForm = theForm; ThreadStart ts = new ThreadStart(arg.Run); theThread = new Thread(ts); theThread.Name = "Waiting"; theThread.Start(); theForm = arg.theForm; } catch { } }
public void Close() { if (arg == null) return; try { if (arg != null && arg.theForm != null) { arg.theForm.HideForm(); } } catch { } arg = null; }
public void Close() { if (arg == null) { return; } try { if (arg != null && arg.theForm != null) { arg.theForm.HideForm(); } } catch { } arg = null; }