Last change
on this file since 17530 was
17471,
checked in by dpiringe, 5 years ago
|
#3026:
- deleted INamedMatrixJsonItem and all corresponding classes/views, because of bad design
- added ILookupJsonItem and IValueLookupJsonItem (incl. all corresponding implementations, VMs, Views)
- added IResultJsonItem
- changed type of property Control from JsonItemBaseControl to UserControl in IJsonItemVM (because the details control now builds up with linked user controls -> allows better construction of dynamic controls)
- added all properties of INamedMatrixJsonItem in IMatrixJsonItem
- refactored a lot of views for better usage (TableLayoutPanel is used a lot now -> for better item positioning)
- property ActualName is now located in ILookupJsonItem instead of IJsonItem
|
File size:
622 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.ComponentModel;
|
---|
4 | using System.Drawing;
|
---|
5 | using System.Data;
|
---|
6 | using System.Linq;
|
---|
7 | using System.Text;
|
---|
8 | using System.Threading.Tasks;
|
---|
9 | using System.Windows.Forms;
|
---|
10 |
|
---|
11 | namespace HeuristicLab.JsonInterface.OptimizerIntegration {
|
---|
12 | public partial class LookupJsonItemControl : UserControl {
|
---|
13 | public LookupJsonItemControl() {
|
---|
14 | InitializeComponent();
|
---|
15 | }
|
---|
16 | public LookupJsonItemControl(ILookupJsonItemVM vm) {
|
---|
17 | InitializeComponent();
|
---|
18 | textBoxActualName.DataBindings.Add("Text", vm, nameof(ILookupJsonItemVM.ActualName));
|
---|
19 | }
|
---|
20 | }
|
---|
21 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.