protected override void OnInitialized() { Logo = Properties.Resources.Logo; Priority = ExtensionPriority.High; if (MainUI != null) { MainUI.BringToFront(); } else { MainUI = new Main(this); MainUI.FormClosed += MainUI_FormClosed; MainUI.Show(); } }