public void SetObject(SMOrderedList obj) { Object = obj; richTextBox1.Text = ""; foreach (SMOrderedList.StringItem o in obj.Objects) { if (o.IsText) { richTextBox1.AppendText(o.Text + "\n"); } } }
public void SetObject(SMControl obj) { Object = (SMOrderedList)obj; }