private void SettingsPageOnOnCloseSettings(object sender, CloseSettingsEventArgs args) { if (_connectedToServer) { SetPage(PageType.BrowserPage); } }