AODL.Document.Forms.ODFForm.ODFForm C# (CSharp) Метод

ODFForm() публичный Метод

Creates an ODFForm
public ODFForm ( IDocument document, string name ) : System
document IDocument Parent document
name string Form name
Результат System
		public ODFForm(IDocument document, string name)
		{
			Document = document;
			CreateBasicNode();
			this.ControlImplementation = "ooo:com.sun.star.form.component.Form";
			this.ApplyFilter = XmlBoolean.True;
			this.CommandType = CommandType.Table;
			this.Name = name;

			_controls = new ODFControlsCollection();
			_controls.Inserted += ControlsCollection_Inserted;
			_controls.Removed += ControlsCollection_Removed;
			_controls.Clearing += ControlsCollection_Clearing;

			_properties = new FormPropertyCollection();
			_properties.Inserted += PropertyCollection_Inserted;
			_properties.Removed += PropertyCollection_Removed;

			_formCollection = new ODFFormCollection();
			_formCollection.Inserted += FormCollection_Inserted;
			_formCollection.Removed += FormCollection_Removed;
			
		}

Same methods

ODFForm::ODFForm ( XmlNode node, IDocument document ) : System