Esempio n. 1
0
 protected void OnFeedbackReceived(object sender, BotFeedbackEventArgs args)
 {
     if (BotFeedbackReceived != null)
     {
         BotFeedbackReceived(sender, args);
     }
 }
 void bot_BotFeedbackReceived(object sender, BotFeedbackEventArgs args)
 {
     this.Invoke((MethodInvoker)delegate { lbFeedback.Items.Add(args.Message); });
 }