public void Remove( Form form ) { if( Form.TopForm != null && Form.TopForm.FormTitle == form.FormTitle ) Form.TopForm = null; mForms.Remove( form ); }
public void Add( Form form ) { form.Owner = this; mForms.Add( form ); }
public void Remove() { if( SaveOnExit == true && Saved == false ) Save(); Form[] forms = new Form[ mForms.Count ]; CopyTo( forms, 0 ); foreach( Form form in forms ) Remove( form ); }