private void ObjectCollectionEditorForm_Load(object sender, EventArgs e) { foreach (object obj in editor.GetItems(value)) textBox1.AppendText(obj.ToString() + '\n'); lines = textBox1.Lines.Length; }