Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/10/13 17:38:07 (11 years ago)
Author:
ascheibe
Message:

#2069 fixed object disposed exception in CodeNodeView that occurred when switching the viewhost

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Robocode/HeuristicLab.Problems.Robocode/Symbols/CodeNodeView.cs

    r9601 r9603  
    1717      : base() {
    1818      InitializeComponent();
    19       //this.prefixCode.Text = Content.Prefix;
    20       //this.suffixCode.Text = Content.Suffix;
    2119    }
    2220
     
    2927        this.prefixCode.Text = Content.Prefix;
    3028        this.suffixCode.Text = Content.Suffix;
    31         //Content.Prefix = this.prefixCode.Text;
    32         //Content.Suffix = this.suffixCode.Text;
    3329      }
    3430    }
    3531
    36     private void prefixCode_Leave(object sender, EventArgs e) {
    37       Content.Prefix = this.prefixCode.Text;
     32    private void suffixCode_Validated(object sender, EventArgs e) {
     33      Content.Suffix = this.suffixCode.Text;
    3834    }
    3935
    40     private void suffixCode_Leave(object sender, EventArgs e) {
    41       Content.Suffix = this.suffixCode.Text;
     36    private void prefixCode_Validated(object sender, EventArgs e) {
     37      Content.Prefix = this.prefixCode.Text;
    4238    }
    4339  }
Note: See TracChangeset for help on using the changeset viewer.