Exemplo n.º 1
0
 /// <summary>Handles the Click event of the btnOk control.</summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 private void btnOk_Click(object sender, EventArgs e)
 {
     BotRecord = new PandoraBotRecord(txtBotName.Text, txtBotId.Text);
 }
Exemplo n.º 2
0
 /// <summary>Adds a bot.</summary>
 /// <param name="groupKey">The group key.</param>
 /// <param name="botRecord">The bot record.</param>
 private void AddBot(string groupKey, PandoraBotRecord botRecord)
 {
     AddBot(groupKey, botRecord.Name, botRecord.Id, botRecord.Interactions);
 }
Exemplo n.º 3
0
 /// <summary>Handles the Click event of the btnCancel control.</summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 private void btnCancel_Click(object sender, EventArgs e)
 {
     BotRecord = null;
 }