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(); }
private void acceptButtonClick(object sender, RoutedEventArgs e) { DialogResult = (PersonalityName != null && PersonalityName.Trim() != ""); this.Close(); }