Пример #1
0
        private async Task IntentBuscarCurso(WaterfallStepContext stepContext, RecognizerResult luisResult, CancellationToken cancellationToken)
        {
            await stepContext.Context.SendActivityAsync($"**Para acceder a un curso 📒 realice los siguientes pasos:**", cancellationToken : cancellationToken);

            await Task.Delay(3000);

            await BuscarCurso.ToShow(stepContext, cancellationToken);

            await Task.Delay(5000);

            await RespuestaBot.ToShow(stepContext, cancellationToken);
        }
Пример #2
0
        private void adasToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            BuscarCurso buscarCurso = new BuscarCurso();

            buscarCurso.ShowDialog(this);
        }