Changeset 17843 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ArrayJsonItemControl.cs
- Timestamp:
- 02/23/21 16:36:44 (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ArrayJsonItemControl.cs
r17829 r17843 4 4 public partial class ArrayJsonItemControl : UserControl { 5 5 6 p ublicArrayJsonItemControl() {6 private ArrayJsonItemControl() { 7 7 InitializeComponent(); 8 8 } 9 9 10 public static ArrayJsonItemControl Create(IJsonItemVM vm) { 11 var control = new ArrayJsonItemControl(); 12 control.checkBoxResizable.DataBindings.Add("Checked", vm, nameof(IArrayJsonItemVM.Resizable)); 13 return control; 10 protected ArrayJsonItemControl(IJsonItemVM vm) { 11 InitializeComponent(); 12 checkBoxResizable.DataBindings.Add("Checked", vm, nameof(IArrayJsonItemVM.Resizable)); 14 13 } 14 15 public static ArrayJsonItemControl Create(IJsonItemVM vm) => new ArrayJsonItemControl(vm); 15 16 } 16 17 }
Note: See TracChangeset
for help on using the changeset viewer.