예제 #1
0
        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;
        }
예제 #2
0
 public DecoratorPadding(IDecoratedPictureBox i_DecoratedPictureBox, Padding i_Padding) : base(i_DecoratedPictureBox)
 {
     Padding = i_Padding;
 }
예제 #3
0
 public DecoratorMargin(IDecoratedPictureBox i_DecoratedPictureBox, Padding i_Margin) : base(i_DecoratedPictureBox)
 {
     Margin = i_Margin;
 }
예제 #4
0
 public DecoratorBackColor(IDecoratedPictureBox i_DecoratedPictureBox, Color i_Color) : base(i_DecoratedPictureBox)
 {
     BackColor = i_Color;
 }