private static void CreateShellForm() { ShellForm frm = new ShellForm(); mShell = frm.Shell; frm.Show(DockPanel, Properties.Settings.Default.ShellDockState); Tabs.Shell = frm; }