Пример #1
0
 private void OptionsComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     try
     {
         if (isFirst)
         {
             Descriptions.Text = FileAdapter.GetDescripionToBase(OptionsComboBox.SelectedItem.ToString());
         }
         else
         {
             try
             {
                 Descriptions.Text = FileAdapter.GetDescripionToItem(OptionsComboBox.SelectedItem.ToString(), baseName, index);
             }
             catch
             {
                 Descriptions.Text = FileAdapter.GetDescripionToItem("", baseName, index);
             }
         }
     }
     catch
     {
         Descriptions.Text = "";
     }
 }