protected override void Popup() { if (formMain != null) { formMain.Activate(); return; } formMain = new Views.WinForms.FormMain(settings); formMain.FormClosed += (s, a) => formMain = null; formMain.Show(); }
public void Show() { if (formMain != null) { formMain.Activate(); return; } formMain = new Views.WinForms.FormMain(settings); formMain.FormClosed += (s, a) => formMain = null; formMain.Show(); }
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(); }); }