public SectionParam(SectionParam sectionParam)
 {
     Name        = sectionParam.Name;
     Value       = sectionParam.Value;
     ValueType   = sectionParam.ValueType;
     Description = sectionParam.Description;
 }
 public SectionParam(SectionParam sectionParam)
 {
   Name = sectionParam.Name;
   Value = sectionParam.Value;
   ValueType = sectionParam.ValueType;
   Description = sectionParam.Description;
 }
Beispiel #3
0
 private void cmb_params_SelectedIndexChanged(object sender, EventArgs e)
 {
   SelectedItem = cmb_params.SelectedItem as SectionParam;
   panel1.Controls.Clear();
   Panels[SelectedItem.ValueType].Set(SelectedItem);
   panel1.Controls.Add((Control)Panels[SelectedItem.ValueType]);
   label_desc.Text = SelectedItem.Description;
 }
Beispiel #4
0
 public void Set(SectionParam param)
 {
   Param = param;
   if (Param.GetValueAsBool())
     radio_Yes.Checked = true;
   else
     radio_No.Checked = true;
 }
 public void Set(SectionParam param)
 {
   Param = param;
 }
 public void Add(SectionParam sectionParam)
 {
     Items.Add(sectionParam);
 }
Beispiel #7
0
 public void Set(SectionParam param)
 {
   Param = param;
   txt_file.Text = param.Value;
 }
 public void Set(SectionParam param)
 {
   Param = param;
   textBox1.Text = param.Value;
 }
 public void Add(SectionParam sectionParam)
 {
   Items.Add(sectionParam);
 }