private void LogoutMenuItem_Click(object sender, RoutedEventArgs e) { DialogResult = true; MainWindow mw = new MainWindow(); this.Hide(); mw.ShowDialog(); }
private void button3_Click(object sender, RoutedEventArgs e) { MainWindow mw = new MainWindow(); this.Close(); mw.ShowDialog(); }
private void btnLogout_Click(object sender, RoutedEventArgs e) { if (mungoSystem.ApoloMuszak.Where(am => am.Deleted == 0 && am.PeopleID == sessionUser.PeopleID && am.EndDate == null).Count() > 0) { MessageBox.Show("Nem adta le a műszakot!"); } else { MainWindow mw = new MainWindow(); this.Close(); mw.ShowDialog(); } }
private void kijelentkezesBTN_Click(object sender, RoutedEventArgs e) { MainWindow mw = new MainWindow(); this.Close(); ovm.SelectedBeteg = null; mw.ShowDialog(); }