예제 #1
0
        /// <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);
            }
        }
예제 #2
0
 private void Add(ReorderableList list)
 {
     ChildNames.Add("New");
 }