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