protected override void Popup() { if (formMain != null) { formMain.Activate(); return; } formMain = new Views.WinForms.FormMain( settings, vgcServers); formMain.FormClosed += (s, a) => formMain = null; formMain.Show(); }
public void Show() { if (formMain != null) { formMain.Activate(); return; } formMain = new Views.WinForms.FormMain( settings, vgcServers); formMain.FormClosed += (s, a) => formMain = null; formMain.Show(); }