コード例 #1
0
 /// <summary>
 /// Sends the Output to Output Textbox
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ProcessOutputHandler(object sender, DataReceivedEventArgs e)
 {
     if (e.Data == null)
     {
         return;
     }
     BasicController.GetInstance(null, null, null).SendMessage(e.Data);
 }
コード例 #2
0
 /// <summary>
 /// Gets easy the BasicController instance
 /// </summary>
 /// <returns></returns>
 private BasicController GetBasicControllerInstance()
 {
     return(BasicController.GetInstance(MainWindow, BotId, Username));
 }