示例#1
0
		public void Remove( Form form ) {
			if( Form.TopForm != null && Form.TopForm.FormTitle == form.FormTitle )
				Form.TopForm = null;
			mForms.Remove( form );
		}
示例#2
0
		public void Add( Form form ) {
			form.Owner = this;
			mForms.Add( form );
		}
示例#3
0
		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 );
		}