private void OnFormCardCreated(object sender, EventArgs e)
 {
     EventHandler<FormCardCreatedEventArgs> fPtr = (EventHandler<FormCardCreatedEventArgs>)base.Events[XUserControl.FormCardCreatedEvent];
     if (fPtr != null)
     {
         FormCard card = new FormCard(this);
         fPtr(this, new FormCardCreatedEventArgs(card));
         if (card.TableCount != 0)
             this.Card = card;
     }
 }
 internal void OnDeserialization(FormCard card)
 {
     this.card = card;
 }
 protected virtual void SetupExtended(FormCard card)
 {
 }