private void ChangePinButton(object sender, RoutedEventArgs e) { ChangePin changePin = new ChangePin(); bool? result = changePin.ShowDialog(); if (result.HasValue && result.Value) { SessionMenu sessionMenu = new SessionMenu(); NavigationService.Navigate(sessionMenu); } }
private void btnchange_Click(object sender, EventArgs e) { ChangePin cg = new ChangePin(); cg.Show(); }