private void btnAdnvanced_Click(object sender, RoutedEventArgs e) { bool?result = null; var ml = new AdvancedWindow(); ml.Owner = this; result = ml.ShowDialog(); if (result == true && ml.IsNicknameChanged) { this.irc.RfcNick(Cfg.Default.IrcNickname.Trim().Replace(" ", "_"), Priority.High); } }
private void btnAdnvanced_Click(object sender, RoutedEventArgs e) { bool? result = null; var ml = new AdvancedWindow(); ml.Owner = this; result = ml.ShowDialog(); if (result == true && ml.IsNicknameChanged) { this.irc.RfcNick(Cfg.Default.IrcNickname.Trim().Replace(" ", "_"), Priority.High); } }