ObjectDisposedException: 无法访问已释放的对象。 对象名:“RichTextBox”。 --Message: 无法访问已释放的对象。 对象名:“RichTextBox”。 --ObjectName: RichTextBox StackTrace: 在 System.Windows.Forms.Control.CreateHandle() 在 System.Windows.Forms.TextBoxBase.CreateHandle() 在 System.Windows.Forms.Control.get_Handle() 在 System.Windows.Forms.RichTextBox.get_TextLength() 在 System.Windows.Forms.TextBoxBase.AdjustSelectionStartAndEnd(Int32 selStart, Int32 selLength, Int32& start, Int32& end, Int32 textLen) 在 System.Windows.Forms.TextBoxBase.GetSelectionStartAndLength(Int32& start, Int32& length) 在 System.Windows.Forms.TextBoxBase.AppendText(String text) 在 __ScriptExecution.__hnvadnv5.<>c__DisplayClass2_0.<Exec>b__0(Object sender, DataReceivedEventArgs e) 在 System.Diagnostics.Process.OutputReadNotifyUser(String data) 在 System.Diagnostics.AsyncStreamReader.FlushMessageQueue() 在 System.Diagnostics.AsyncStreamReader.GetLinesFromStringBuilder() 在 System.Diagnostics.AsyncStreamReader.ReadBuffer(IAsyncResult ar) 在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.IO.Stream.ReadWriteTask.System.Threading.Tasks.ITaskCompletionAction.Invoke(Task completingTask) 在 System.Threading.Tasks.Task.FinishContinuations() 在 System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted) 在 System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) 在 System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution) 在 System.Threading.ThreadPoolWorkQueue.Dispatch()