public MaskTop(MpeControlMask mask) : base(mask)
 {
     nodes = new Rectangle[3];
     for (int i = 0; i < nodes.Length; i++)
     {
         nodes[i] = new Rectangle(0, 0, mask.NodeSize, mask.NodeSize);
     }
 }
Example #2
0
 public MaskTop(MpeControlMask mask) : base(mask)
 {
   nodes = new Rectangle[3];
   for (int i = 0; i < nodes.Length; i++)
   {
     nodes[i] = new Rectangle(0, 0, mask.NodeSize, mask.NodeSize);
   }
 }
 public MaskComponent(MpeControlMask mask)
 {
     this.mask = mask;
     SetStyle(ControlStyles.SupportsTransparentBackColor, true);
     SetStyle(ControlStyles.DoubleBuffer, true);
     SetStyle(ControlStyles.AllPaintingInWmPaint, true);
     SetStyle(ControlStyles.UserPaint, true);
     SetStyle(ControlStyles.ResizeRedraw, true);
     BackColor = Color.Transparent;
 }
Example #4
0
 public MaskComponent(MpeControlMask mask)
 {
   this.mask = mask;
   SetStyle(ControlStyles.SupportsTransparentBackColor, true);
   SetStyle(ControlStyles.DoubleBuffer, true);
   SetStyle(ControlStyles.AllPaintingInWmPaint, true);
   SetStyle(ControlStyles.UserPaint, true);
   SetStyle(ControlStyles.ResizeRedraw, true);
   BackColor = Color.Transparent;
 }
Example #5
0
 public MaskLeft(MpeControlMask mask) : base(mask)
 {
     nodes    = new Rectangle[1];
     nodes[0] = new Rectangle(0, 0, mask.NodeSize, mask.NodeSize);
 }
Example #6
0
 public MaskLeft(MpeControlMask mask) : base(mask)
 {
   nodes = new Rectangle[1];
   nodes[0] = new Rectangle(0, 0, mask.NodeSize, mask.NodeSize);
 }