Last change
on this file since 17405 was
17405,
checked in by dpiringe, 4 years ago
|
#3026:
- added a new way to setup the targeted result types
- added new ui controls: NumericRangeControl, JsonItemArrayControl, JsonItemDefaultControl
- redesigned export dialog -> now the user can navigate with a tree view
- enhanced JsonItemVM
|
File size:
615 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 JsonItemArrayControl : JsonItemBaseControl {
|
---|
13 | public JsonItemArrayControl(JsonItemVM vm) : base(vm) {
|
---|
14 | InitializeComponent();
|
---|
15 | dataGridView.Columns.Add("Values", "Values");
|
---|
16 | foreach(var val in ((Array)VM.Item.Value)) {
|
---|
17 | dataGridView.Rows.Add(val);
|
---|
18 | }
|
---|
19 | }
|
---|
20 | }
|
---|
21 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.