protected override void OnClosed(EventArgs e) { base.OnClosed(e); m_wndHelper.Detach(); m_wndHelper.Dispose(); m_window1 = null; }
public static void ShowWindow() { if (m_window1 != null) { m_window1.Focus(); return; } m_window1 = new WindowHost(); m_window1.Show(); }