Beispiel #1
0
 private void ValidateData(object sender, EventArgs e)
 {
     OK.IsEnabled = ((CreateNewIssue && Validation.IsValid(CommentTextBox)) ||
                     (!CreateNewIssue && Validation.IsValid(IssueNumberTextBox))) &&
                    Validation.IsValid(FileNameTextBox);
 }