コード例 #1
0
 public OpheliaInterface(MainWindow m)
 {
     this.ui = m;
     this.t = MainWindow.MessageType.Ophelia;
     this.core = new OpheliaCore();
     this.core.OnThinkingFinished += new OpheliaCore.ThinkingFinishedEventHandler(OpheliaFinishedThinking);
     new Thread(SayHelloAsync).Start();
 }
コード例 #2
0
 private void OpheliaFinishedThinking(object sender, OpheliaCore.ThinkingFinishedEventArgs e)
 {
     this.ui.SetInputActive(true);
 }