protected void SetActivePage(IPageView pageView) { PageChanging?.Invoke(this, EventArgs.Empty); ActivePage = pageView; if (ActivePage == null) return; ActivePage.LoadPage(); MainController.Instance.Settings.SelectedPage = ActivePage.Page.Name; MainController.Instance.Settings.Save(); PageChanged?.Invoke(this, EventArgs.Empty); }