private void textBoxIp_EnterKeyDown(object sender, TextBoxEventArgs e) { gui.ClearFocus(); menuOptions.Children[1].SetFocus(true); MenuOptionOnClick(menuOptions.Children[1], EventArgs.Empty); }
private void textBox_EnterKeyDown(object sender, TextBoxEventArgs e) { if (EnterKeyDown != null) { EnterKeyDown(this, e); } }