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!");
}
}
}