private static MaintainerWindow Create(MaintainerTab tab) { windowInstance = Create(); if (windowInstance.currentTab != tab) { windowInstance.currentTab = UserSettings.Instance.selectedTab = tab; } windowInstance.Refresh(true); return(windowInstance); }
public static MaintainerWindow Create(MaintainerTab tab) { windowInstance = Create(); if (windowInstance.currentTab != tab) { windowInstance.currentTab = MaintainerPersonalSettings.Instance.selectedTab = tab; } windowInstance.Refresh(true); return(windowInstance); }