Ejemplo n.º 1
0
        private void NewUserButton_Click(object sender, RoutedEventArgs e)
        {
            Window addNewTrainee = new AddTraineeWindow();

            addNewTrainee.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
        private void btnUpdate_Click(object sender, RoutedEventArgs e)
        {
            if (findGrid.SelectedItem == null)
            {
                MessageBox.Show("יש לבחור תלמיד לעידכון");
                return;
            }
            Window addTrainee = new AddTraineeWindow((Trainee)findGrid.SelectedItem);

            addTrainee.Show();
        }
        private void AddTrainee_Click(object sender, RoutedEventArgs e)
        {
            if (testersListView.SelectedItem == null)
            {
                MessageBox.Show("Please select a trainee to update from the list");
                return;
            }
            Tester tester = testersListView.SelectedItem as Tester;

            AddTraineeWindow addTraineeWindow = new AddTraineeWindow();

            IsEnabled = false;
            addTraineeWindow.Show();
            addTraineeWindow.Closed += ChildWindowClosed;
        }
        private void btnAddTrainee_Click(object sender, RoutedEventArgs e)
        {
            Window window = new AddTraineeWindow();

            window.Show();
        }
Ejemplo n.º 5
0
        private void ButtonAdd_Click(object sender, RoutedEventArgs e)
        {
            Window addTrainee = new AddTraineeWindow();

            addTrainee.ShowDialog();
        }
Ejemplo n.º 6
0
        private void Button_SignupTrainee(object sender, RoutedEventArgs e)
        {
            AddTraineeWindow addTraineeWindow = new AddTraineeWindow();

            addTraineeWindow.Show();
        }