Last change
on this file since 17829 was
17829,
checked in by dpiringe, 3 years ago
|
#3026
- moved JsonItems from Models to JsonItems
- moved WinForms controls from Shared to Views
|
File size:
488 bytes
|
Rev | Line | |
---|
[17828] | 1 | using System.Windows.Forms;
|
---|
| 2 |
|
---|
| 3 | namespace 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.