예제 #1
0
        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);
        }
예제 #2
0
        public override bool ExecuteAction()
        {
            if (form == null)
            {
                form = new ExporterForm(this);
            }
            form.Show();

            return(true);
        }
예제 #3
0
        public override bool ExecuteAction()
        {
            if (form == null)
            {
                form = new ExporterForm(this);
            }
            form.Show();
            form.BringToFront();
            form.WindowState = FormWindowState.Normal;

            return(true);
        }