Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8142


Ignore:
Timestamp:
06/27/12 23:10:30 (12 years ago)
Author:
jkarder
Message:

#1648: fixed Control.Enabled state handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Access.Administration/3.3/Views/UserView.cs

    r8141 r8142  
    6262    }
    6363
     64    protected override void SetEnabledStateOfControls() {
     65      base.SetEnabledStateOfControls();
     66      if (Content == null) {
     67        resetPasswordButton.Enabled = false;
     68      } else {
     69        resetPasswordButton.Enabled = Content.Id != Guid.Empty;
     70      }
     71    }
     72
    6473    private void fullNameTextBox_TextChanged(object sender, System.EventArgs e) {
    6574      if (Content.FullName != fullNameTextBox.Text)
Note: See TracChangeset for help on using the changeset viewer.