Exemplo n.º 1
0
        public void ircMsgBox_KeyDown(object sender, KeyRoutedEventArgs e)
        {
            if (currentChannel == null || currentServer == null || currentServer == "" || currentChannel == "")
            {
                return;
            }

            IrcHandler.IrcTextBoxHandler(ircMsgBox, e, currentServer, currentChannel);
        }
Exemplo n.º 2
0
        public void ircMsgBox_KeyDown(object sender, KeyRoutedEventArgs e)
        {
            if (Server == null || Channel == null || Server == "" || Channel == "")
            {
                return;
            }

            if ((e.Key == Windows.System.VirtualKey.Tab) && (msgBox.Text != ""))
            {
                e.Handled = true;

                this.TabComplete();
                return;
            }

            saved = false;
            index = 0;

            IrcHandler.IrcTextBoxHandler(msgBox, e, Server, Channel);
        }