static void DestroyWindow() { if (wnd != null) { wnd.Destroy(); wnd = null; } OnWindowClosed(EventArgs.Empty); }
static void DestroyWindow() { if (wnd != null) { wnd.Destroy(); ParameterInformationWindowManager.UpdateWindow(wnd.CompletionWidget); wnd = null; } OnWindowClosed(EventArgs.Empty); }
static void DestroyWindow() { if (wnd != null) { if (wnd.Visible) { wnd.HideWindow(); } wnd.WordCompleted -= HandleWndWordCompleted; wnd.VisibleChanged -= HandleWndVisibleChanged; wnd.Destroy(); wnd = null; } }