Ejemplo n.º 1
0
 //Const Grid - A list of constants with a description and a box to change the value
 private void Const_ListBox_SelectionChanged(object sender, RoutedEventArgs e)
 {
     if (Const_ListBox.SelectedIndex != -1)
     {
         string name = Const_ListBox.SelectedItem.ToString();
         Const_Name.Text        = name;
         Const_Value.Text       = MGSOGlobals.GetConstantValue(name);
         Const_Description.Text = MGSOGlobals.GetConstantDescription(name);
     }
 }