Ejemplo n.º 1
0
 public static void AddToForm(Form form)
 {
     // Background transparency workaround: Draw USizeGrip control in parts.
     for (int q = 1; q <= 2; q++)
     {
         USizeGrip sizeGrip = new USizeGrip();
         sizeGrip.KeepBottomRight = true;
         sizeGrip.Part            = q;
         form.Controls.Add(sizeGrip);
         sizeGrip.BringToFront();
     }
 }
Ejemplo n.º 2
0
 public static void AddToForm(Form form)
 {
     // Background transparency workaround: Draw USizeGrip control in parts.
     for (int q = 1; q <= 2; q++)
     {
         USizeGrip sizeGrip = new USizeGrip();
         sizeGrip.KeepBottomRight = true;
         sizeGrip.Part = q;
         form.Controls.Add(sizeGrip);
         sizeGrip.BringToFront();
     }
 }