示例#1
0
        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);
            }
        }
示例#2
0
        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);
            }
        }