/// <summary> /// The child form will be captured when it gets loaded /// </summary> /// <param name="e">OnLoad event args</param> protected override void OnLoad(EventArgs e) { base.OnLoad(e); ////Add to the collection only if the calling form is a MDI child form if (this.IsMdiContainer == false && this.MdiParent != null) { ChildCollection.Add(this.formID.ToString()); ChildNames.Add(this.CurrentFormName); this.IntimateParent(true); } }
private void Add(ReorderableList list) { ChildNames.Add("New"); }