protected override bool CanDrawCaption(BaseCheckObjectInfoArgs e) { MyCheckObjectInfoArgs ee = e as MyCheckObjectInfoArgs; if (ee == null) { return(base.CanDrawCaption(e)); } else { return(MyFlatCheckObjectPainter.CanDrawCaptionEx(ee)); } }
public override Rectangle CalcObjectMinBounds(ObjectInfoArgs e) { base.CalcObjectMinBounds(e); return(MyFlatCheckObjectPainter.ReCalcObjectMinBounds(e)); }