public void ircMsgBox_KeyDown(object sender, KeyRoutedEventArgs e) { if (currentChannel == null || currentServer == null || currentServer == "" || currentChannel == "") { return; } IrcHandler.IrcTextBoxHandler(ircMsgBox, e, currentServer, currentChannel); }
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); }