/// <summary> /// Show forms which were visible when the previous session was terminated /// </summary> public void InitializeFormVisibility() { foreach (formBuilder form in this.fBuilders) { form.Visible = GeneralSettings.GetWindowWasOpen(form); } return; }
/// <summary> /// Show forms which were visible when the previous session was terminated /// </summary> public void InitializeFormVisibility() { this.fChampions.Visible = GeneralSettings.GetWindowWasOpen(this.fChampions); this.fItems.Visible = GeneralSettings.GetWindowWasOpen(this.fItems); this.fMaps.Visible = GeneralSettings.GetWindowWasOpen(this.fMaps); this.fSettings.Visible = GeneralSettings.GetWindowWasOpen(this.fSettings); this.builderFactory.InitializeFormVisibility(); GeneralSettings.ClearOpenWindows(); return; }