source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ArrayJsonItemControl.cs @ 17829

Last change on this file since 17829 was 17829, checked in by dpiringe, 2 months ago

#3026

  • moved JsonItems from Models to JsonItems
  • moved WinForms controls from Shared to Views
File size: 488 bytes
Line 
1using System.Windows.Forms;
2
3namespace HeuristicLab.JsonInterface.OptimizerIntegration {
4  public partial class ArrayJsonItemControl : UserControl {
5
6    public ArrayJsonItemControl() {
7      InitializeComponent();
8    }
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;
14    }
15  }
16}
Note: See TracBrowser for help on using the repository browser.