private static void SetStringProperty(SimpleParameter <string> parameter, TextBox control)
 {
     parameter.setter(control.Text);
 }
 private static void SetCheckboxProperty(SimpleParameter <bool> parameter, CheckBox control)
 {
     parameter.setter(control.Checked);
 }
 private static void SetNumericProperty(SimpleParameter <int> parameter, NumericUpDown control)
 {
     parameter.setter((int)control.Value);
 }