private void CreateAccountButton_Click(object sender, EventArgs e) { ReachWindow mainWindow = (ReachWindow)Context.EntryPoint; mainWindow.CloseAllChildren(); new NewAccountView(); }
private void OnDisconnect(LoggedInUserModel model) { if (this.InvokeRequired) { this.Invoke((LoginController.ExternalEventHandler) OnDisconnect, model); return; } this.Visible = false; ReachWindow e = (ReachWindow)Context.EntryPoint; e.CloseAllChildren(); e.HideItemsInToolbar(); e.ShowLoginWindow(); }
private void ReturnToLogin_Click(object sender, EventArgs e) { ReachWindow mainWindow = (ReachWindow)Context.EntryPoint; mainWindow.CloseAllChildren(); }