private void HappySelect(object sender, RoutedEventArgs e) { EmployeeWelcomeWindow welcomeWindow = new EmployeeWelcomeWindow(); welcomeWindow.Show(); this.Close(); }
private void OpenWelcomeWindow() { EmployeeWelcomeWindow welcomeWindow = new EmployeeWelcomeWindow(); welcomeWindow.GetController(controller); welcomeWindow.Show(); this.Close(); }
// Goes to EmployeeWelcomeWindow private void OpenWelcomeWindow() { EmployeeWelcomeWindow employeeWelcomeWindow = new EmployeeWelcomeWindow(); employeeWelcomeWindow.GetController(controller); employeeWelcomeWindow.Show(); Thread.Sleep(10); this.Close(); }