示例#1
0
        private void Refresh_Button_Click(object sender, RoutedEventArgs e)
        {
            Hide();
            var active = new ActiveSession(parkingManager, user);

            active.Show();
            Close();
        }
示例#2
0
        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();
        }