private void paramList_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     int pInd = paramList.SelectedIndex;
     selectedParam = oParams[pInd];
     paramValue.Text = selectedParam.Value;
 }
 /// <summary>
 /// Loads extra Parmeters in to edit screen
 /// </summary>
 private void getExtraParams(string controlName)
 {
     OSAEObjectPropertyCollection uc = OSAEObjectPropertyManager.GetObjectProperties(controlName);
     foreach (OSAEObjectProperty p in uc)
     {
         if (p.Name != "Control Type" & p.Name != "Object Name" & p.Name != "X" & p.Name != "Y" & p.Name != "ZOrder")
         {
             objParams oP = new objParams();
             oP.Name = p.Name;
             oP.Value = p.Value;
             oParams.Add(oP);
             hasParams = true;
             paramList.Items.Add(oP.Name);
         }
     }
 }