AODL.Document.Forms.Controls.ODFFormControl.AddToContentCollection C# (CSharp) Метод

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

public AddToContentCollection ( ) : void
Результат 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!");
				}
			}
		}