/// <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); }
/// <summary> /// Gets easy the BasicController instance /// </summary> /// <returns></returns> private BasicController GetBasicControllerInstance() { return(BasicController.GetInstance(MainWindow, BotId, Username)); }