}//call the add tester window

        private void add_trainee(object sender, RoutedEventArgs e)
        {
            addTrainee addtrainee = new addTrainee();

            addtrainee.ShowDialog();
            trainees_list.Items.Refresh();
        }//call the add trainee window
Пример #2
0
        private void MenuItem_Click_2(object sender, RoutedEventArgs e)
        {
            addTrainee addtrainee = new addTrainee();

            addtrainee.Show();
            this.Close();
        }