private void NewUserButton_Click(object sender, RoutedEventArgs e)
        {
            Window AddTester = new AddTesterWindow();

            AddTester.Show();
            this.Hide();
        }
        private void btnUpdate_Click(object sender, RoutedEventArgs e)
        {
            if (findGrid.SelectedItem == null)
            {
                MessageBox.Show("יש לבחור בוחן לעידכון");
                return;
            }
            Window addTester = new AddTesterWindow((Tester)findGrid.SelectedItem);

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

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

            window.Show();
        }
示例#5
0
        private void Button_SignupTester(object sender, RoutedEventArgs e)
        {
            AddTesterWindow addTesterWindow = new AddTesterWindow();

            addTesterWindow.Show();
        }