public DecoratedPictureBox(IDecoratedPictureBox i_PictureBox) { if (i_PictureBox is CorePictureBox) { PictureBoxToDecorate = (i_PictureBox as CorePictureBox).PictureBox; } else { PictureBoxToDecorate = (i_PictureBox as DecoratedPictureBox).PictureBoxToDecorate; } DecoratedFatherPictureBox = i_PictureBox; PictureBoxToDecorate.Visible = true; PictureBoxToDecorate.Enabled = true; }
public DecoratorPadding(IDecoratedPictureBox i_DecoratedPictureBox, Padding i_Padding) : base(i_DecoratedPictureBox) { Padding = i_Padding; }
public DecoratorMargin(IDecoratedPictureBox i_DecoratedPictureBox, Padding i_Margin) : base(i_DecoratedPictureBox) { Margin = i_Margin; }
public DecoratorBackColor(IDecoratedPictureBox i_DecoratedPictureBox, Color i_Color) : base(i_DecoratedPictureBox) { BackColor = i_Color; }