コード例 #1
0
        private async void tbH1SendCommand_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.Key == Key.Return)
            {
                await H1EngineFunctions.ExecuteCommand(tbH1SendCommand.Text);

                tbH1SendCommand.Text = "";
            }
        }
コード例 #2
0
        private async void btnH1SendCommand_Click(object sender, RoutedEventArgs e)
        {
            await H1EngineFunctions.ExecuteCommand(tbH1SendCommand.Text);

            tbH1SendCommand.Text = "";
        }