Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/16/21 11:26:51 (3 years ago)
Author:
chaider
Message:

#3140 merged branch into trunk

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/HeuristicLab.Problems.DataAnalysis.Symbolic.Views

  • trunk/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/TreeEditDialogs/SymbolicExpressionTreeConstantNodeEditDialog.cs

    r18132 r18143  
    2929namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Views {
    3030  public partial class NumberNodeEditDialog : Form {
    31     private INumericTreeNode numberTreeNode;
    32     public INumericTreeNode NewNode {
     31    private NumberTreeNode numberTreeNode;
     32    public NumberTreeNode NewNode {
    3333      get { return numberTreeNode; }
    3434      set {
    3535        if (InvokeRequired)
    36           Invoke(new Action<SymbolicExpressionTreeNode>(x => numberTreeNode = (INumericTreeNode)x), value);
     36          Invoke(new Action<SymbolicExpressionTreeNode>(x => numberTreeNode = (NumberTreeNode)x), value);
    3737        else
    3838          numberTreeNode = value;
     
    4343      InitializeComponent();
    4444      oldValueTextBox.TabStop = false; // cannot receive focus using tab key
    45       NewNode = (INumericTreeNode)node;
     45      NewNode = (NumberTreeNode)node;
    4646      InitializeFields();
    4747    }
     
    103103      // we impose an extra validation condition: that the new value is different from the original value
    104104      if (numberTreeNode.Value.Equals(value)) return;
    105 
    106105      numberTreeNode.Value = value;
    107106      DialogResult = DialogResult.OK;
Note: See TracChangeset for help on using the changeset viewer.