示例#1
0
        protected override void Popup()
        {
            if (formMain != null)
            {
                formMain.Activate();
                return;
            }

            formMain             = new Views.WinForms.FormMain(settings);
            formMain.FormClosed += (s, a) => formMain = null;
            formMain.Show();
        }
示例#2
0
        public void Show()
        {
            if (formMain != null)
            {
                formMain.Activate();
                return;
            }

            formMain             = new Views.WinForms.FormMain(settings);
            formMain.FormClosed += (s, a) => formMain = null;
            formMain.Show();
        }
示例#3
0
        protected override void Popup()
        {
            VgcApis.Misc.UI.Invoke(() =>
            {
                if (formMain != null)
                {
                    formMain.Activate();
                    return;
                }

                formMain             = Views.WinForms.FormMain.CreateForm(settings);
                formMain.FormClosed += (s, a) => formMain = null;
                formMain.Show();
            });
        }