コード例 #1
0
 private void acceptButtonClick(object sender, RoutedEventArgs e)
 {
     Logging.Info("Name is " + PersonalityName);
     DialogResult = (PersonalityName != null && PersonalityName.Trim() != "");
     Logging.Info("Dialog result is " + DialogResult);
     this.Close();
 }
コード例 #2
0
 private void acceptButtonClick(object sender, RoutedEventArgs e)
 {
     DialogResult = (PersonalityName != null && PersonalityName.Trim() != "");
     this.Close();
 }