Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/JsonItemArrayControl.cs @ 17405

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 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Drawing;
5using System.Data;
6using System.Linq;
7using System.Text;
8using System.Threading.Tasks;
9using System.Windows.Forms;
10
11namespace 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.