Example #1
0
        private void UpdateDetailsButtonClick(object sender, RoutedEventArgs e)
        {
            UpdateTesterWindow Update = new UpdateTesterWindow(new Tester(Tester));

            Update.Closed += DetailsUpdated;
            Update.Show();
        }
        private void UpdateTester_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;
            UpdateTesterWindow updateTesterWindow = new UpdateTesterWindow(tester);

            IsEnabled = false;
            updateTesterWindow.Show();
            updateTesterWindow.Closed += ChildWindowClosed;
        }