Пример #1
0
 private void TestDllNameComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     SelectCategoryComboBox.Items.Clear();
     SelectModuleComboBox.Items.Clear();
     SelectTestCaseComboBox.Items.Clear();
     ClearGrid();
     try
     {
         if (e.AddedItems.Count > 0)
         {
             string[] list = ProductDetails.GetCategoryList();
             foreach (string s in list)
             {
                 SelectCategoryComboBox.Items.Add(s);
             }
         }
     }
     catch (Exception exception)
     {
         DisplayErrorMessage("Loading Categories Failed - " + exception.Message);
     }
 }