private void Refresh_Button_Click(object sender, RoutedEventArgs e) { Hide(); var active = new ActiveSession(parkingManager, user); active.Show(); Close(); }
private void ActiveSessionButton_Click(object sender, RoutedEventArgs e) { Hide(); var actWin = new ActiveSession(parkingManager, user); if (actWin.CarNumber.Text != "The Car Number") { actWin.ShowDialog(); } Show(); }