AODL.Document.Forms.Controls.ODFFormControl.AddToContentCollection C# (CSharp) Méthode

AddToContentCollection() public méthode

public AddToContentCollection ( ) : void
Résultat void
		public virtual void AddToContentCollection()
		{
			if (_contentCollection !=null)
			{
				if (_refCounter == 0)
				{
					_contentCollection.Add(_controlRef);
					_refCounter++;
				}
				else
				{
					throw new Exception("Cannot add control to form: it already belongs to another form!");
				}
			}
		}