- Timestamp:
- 02/10/20 17:02:41 (5 years ago)
- Location:
- branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ExportJsonDialog.cs
r17431 r17432 38 38 BuildTreeNode(parent, Root); 39 39 treeView.Nodes.Add(parent); 40 treeView.ExpandAll(); 41 40 42 } 41 43 } … … 88 90 vm.TreeView = treeView; 89 91 UserControl control = vm.GetControl(); 90 if (control != null) {91 control.Dock = DockStyle.Fill;92 control.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;93 }94 92 Hash2Control.Add(node.GetHashCode(), control); 95 93 if (item.Children != null) { … … 121 119 122 120 private void treeView_AfterSelect(object sender, TreeViewEventArgs e) { 123 if(Hash2Control.TryGetValue(treeView.SelectedNode.GetHashCode(), out UserControl c trl)) {121 if(Hash2Control.TryGetValue(treeView.SelectedNode.GetHashCode(), out UserControl control)) { 124 122 panel.Controls.Clear(); 125 if (ctrl != null) { 126 panel.Controls.Add(ctrl); 123 if (control != null) { 124 panel.Controls.Add(control); 125 control.Width = panel.Width; 126 control.Dock = DockStyle.Fill; 127 control.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; 127 128 } 128 129 panel.Refresh(); -
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/JsonItemRangeControl.Designer.cs
r17410 r17432 88 88 // numericRangeControl1 89 89 // 90 this.numericRangeControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 91 | System.Windows.Forms.AnchorStyles.Right))); 90 92 this.numericRangeControl1.Location = new System.Drawing.Point(9, 145); 91 93 this.numericRangeControl1.Name = "numericRangeControl1"; -
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/JsonItemValueControl.Designer.cs
r17411 r17432 50 50 // 51 51 this.numericRangeControl1.Location = new System.Drawing.Point(9, 101); 52 this.numericRangeControl1.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right; 52 53 this.numericRangeControl1.Name = "numericRangeControl1"; 53 54 this.numericRangeControl1.Size = new System.Drawing.Size(487, 112);
Note: See TracChangeset
for help on using the changeset viewer.