- Timestamp:
- 10/29/21 16:56:22 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/StructureTemplate/StructureTemplateView.cs
r18073 r18075 2 2 using System.Collections.Generic; 3 3 using System.Drawing; 4 using System.Linq; 4 5 using System.Text; 5 6 using System.Windows.Forms; … … 25 26 InitializeComponent(); 26 27 infoLabel.Text = ""; 28 this.Resize += StructureTemplateViewResize; 27 29 treeChart.SymbolicExpressionTreeNodeClicked += SymbolicExpressionTreeNodeClicked; 28 30 31 } 32 33 private void StructureTemplateViewResize(object sender, EventArgs e) { 34 PaintTree(); 29 35 } 30 36 … … 83 89 infoLabel.Text = "Template structure successfully parsed."; 84 90 infoLabel.ForeColor = Color.DarkGreen; 91 } catch (AggregateException ex) { 92 infoLabel.Text = string.Join("\n", ex.InnerExceptions.Select(x => x.Message)); 93 infoLabel.ForeColor = Color.DarkRed; 85 94 } catch (Exception ex) { 86 95 infoLabel.Text = ex.Message;
Note: See TracChangeset
for help on using the changeset viewer.