Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/09/11 11:01:08 (13 years ago)
Author:
mkommend
Message:

#1479: Updated grammar editor branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GP.Grammar.Editor/HeuristicLab.Analysis.Views/3.3/DataRowVisualPropertiesControl.cs

    r6377 r6647  
    6464          binsApproximatelyRadioButton.Checked = false;
    6565          binsExactRadioButton.Checked = false;
     66          displayNameTextBox.Text = String.Empty;
    6667        } else {
    6768          chartTypeComboBox.SelectedItem = Content.ChartType;
     
    8384          binsApproximatelyRadioButton.Checked = !Content.ExactBins;
    8485          binsExactRadioButton.Checked = Content.ExactBins;
     86          displayNameTextBox.Text = Content.DisplayName;
    8587        }
    8688      } finally { SuppressEvents = false; }
     
    168170      }
    169171    }
     172
     173    private void displayNameTextBox_Validated(object sender, EventArgs e) {
     174      if (!SuppressEvents && Content != null) {
     175        SuppressEvents = true;
     176        try {
     177          Content.DisplayName = displayNameTextBox.Text;
     178        } finally { SuppressEvents = false; }
     179      }
     180    }
    170181    #endregion
    171182  }
Note: See TracChangeset for help on using the changeset viewer.