Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/20/10 05:15:15 (14 years ago)
Author:
swagner
Message:

Worked on OKB data model and services (#1174)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB/HeuristicLab.Clients.OKB-3.3/Views/NamedOKBItemView.cs

    r4426 r4441  
    9191      }
    9292    }
    93     protected virtual void nameTextBox_Validated(object sender, EventArgs e) {
    94       Content.Name = nameTextBox.Text;
     93    protected virtual void nameTextBox_TextChanged(object sender, EventArgs e) {
     94      if (nameTextBox.Text != Content.Name)
     95        Content.Name = nameTextBox.Text;
    9596    }
    96     protected virtual void descriptionTextBox_Validated(object sender, EventArgs e) {
    97       Content.Description = descriptionTextBox.Text;
     97    protected virtual void descriptionTextBox_TextChanged(object sender, EventArgs e) {
     98      if (descriptionTextBox.Text != Content.Description)
     99        Content.Description = descriptionTextBox.Text;
    98100    }
    99101
Note: See TracChangeset for help on using the changeset viewer.