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(); }
private void OpheliaFinishedThinking(object sender, OpheliaCore.ThinkingFinishedEventArgs e) { this.ui.SetInputActive(true); }