public virtual void Clear() { if (TalkWindowForm != null && TalkWindowTextBox is TextBoxBase) { var tb = (TextBoxBase)TalkWindowTextBox; TalkWindowForm.Invoke(new MethodInvoker(tb.Clear)); } }