public override bool ExecuteAction() { if (form == null || form.IsDisposed) { form = new ExporterForm(this); } if (parentWindow == null) { parentWindow = new NativeWindow(); } if (parentWindow.Handle == IntPtr.Zero) { parentWindow.AssignHandle(Loader.Core.MAXHWnd); } if (!form.Visible) { form.Show(parentWindow); } form.WindowState = FormWindowState.Normal; form.BringToFront(); return(true); }
public void Close() { if (form == null) { return; } form.Dispose(); form = null; }
public override bool ExecuteAction() { if (form == null) form = new ExporterForm(this); form.Show(); form.BringToFront(); return true; }
public override bool ExecuteAction() { if (form == null) { form = new ExporterForm(this); } form.Show(); return(true); }
public override bool ExecuteAction() { if (form == null) { form = new ExporterForm(this); } form.Show(); form.BringToFront(); form.WindowState = FormWindowState.Normal; return(true); }
public void Close() { form.Dispose(); form = null; }