예제 #1
0
        private void testList_SelectionChanged(object sender, MouseButtonEventArgs e)
        {
            TestTemplate test = (TestTemplate)testList.SelectedItem;

            if (test == null)
            {
                return;
            }
            DetailsWindow win = new DetailsWindow(test);

            win.ShowDialog();
            UpdateTestData();
        }
예제 #2
0
        private void DetailsTestAction(object sender, RoutedEventArgs e)
        {
            TestTemplate test = (TestTemplate)testList.SelectedItem;

            if (test == null)
            {
                return;
            }
            DetailsWindow win = new DetailsWindow(test);

            win.ShowDialog();
            UpdateTestData();
        }