/// <summary> /// Provied Textbox object to the constructor /// </summary> /// <param name="logTb"></param> /// public Log(ExRichTextBox logTb) { settings = Properties.Settings.Default; lockWriteLine = new object(); tb = logTb; tb.Clear(); }
public void ClearText() { if (this.rtb.InvokeRequired) { this.rtb.BeginInvoke((MethodInvoker) delegate { ClearText(); }); } else { rtb.Clear(); } }