public SettingsMenagerStructure2(string name, string hardName, string value, string defaultValue, SettingsMenager2.Type type) { this.name = name; this.hardName = hardName; this.type = type; this.value = value; this.defaultValue = defaultValue; }
public SettingsMenagerStructure2(System.Windows.Forms.Control control, string hardName) { this.name = control.Name; this.hardName = hardName; this.type = GetType(control); this.value = GetValue(control); this.defaultValue = ""; }