Safe way to handle this is
If this helps, mark it as an answer or vote it.
RichTextBox rtbControl = tabControl1.SelectedTab.Controls[0] as RichTextBox
if ( rtbControl != null )
{
rtbControl.AppendText(tabSpace);
}
If this helps, mark it as an answer or vote it.
No comments:
Post a Comment