source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/MatrixJsonItemControl.cs

Last change on this file was 17843, checked in by dpiringe, 3 months ago

#3026

  • removed property ConvertableType from all converters
  • removed the option to fixate or loosen the path of JsonItems (obsolete)
  • added a abstract formatter SymbolicRegressionSolutionFormatterBase as base formatter for ISymbolicRegressionSolution
  • unified the construction of exporter controls
  • code cleanup
File size: 647 bytes
Line 
1using System.Windows.Forms;
2
3namespace HeuristicLab.JsonInterface.OptimizerIntegration {
4  public partial class MatrixJsonItemControl : UserControl {
5    private MatrixJsonItemControl() {
6      InitializeComponent();
7    }
8
9    protected MatrixJsonItemControl(IJsonItemVM vm) {
10      InitializeComponent();
11      checkBoxRowsResizable.DataBindings.Add("Checked", vm, nameof(IMatrixJsonItemVM.RowsResizable));
12      checkBoxColumnsResizable.DataBindings.Add("Checked", vm, nameof(IMatrixJsonItemVM.ColumnsResizable));
13    }
14
15    public static MatrixJsonItemControl Create(IJsonItemVM vm) => new MatrixJsonItemControl(vm);
16  }
17}
Note: See TracBrowser for help on using the repository browser.