Beispiel #1
0
        /// <summary>
        /// Join the Channel selected to the Current Server
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void listChannels_MouseDoubleClick(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            int s = listChannels.SelectedIndex;

            if (s == -1)
            {
                return;
            }

            IRCConnection c = _parent.InputPanel.CurrentConnection;

            if (c != null)
            {
                _parent.ParseOutGoingCommand(c, "/join " + listChannels.Items[s].ToString());
            }
        }
Beispiel #2
0
 private void treeBuddies_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
 {
     _parent.ParseOutGoingCommand((IRCConnection)e.Node.Tag, "/query " + e.Node.Text);
 }