コード例 #1
0
 public FProgressBar()
 {
     SetStyle((ControlStyles)8198, true);
     Colors = new Pigment[] {
         new Pigment("Border", 214, 214, 216),
         new Pigment("Backcolor1", 247, 247, 251),
         new Pigment("Backcolor2", 239, 239, 242),
         new Pigment("Highlight", 100, 255, 255, 255),
         new Pigment("Forecolor", 224, 224, 224),
         new Pigment("Gloss", 130, 255, 255, 255)
     };
 }
コード例 #2
0
 public FTheme()
 {
     SetStyle((ControlStyles)8198, true);
     Pigment[] C = new Pigment[] {
         new Pigment("Border", Color.Black),
         new Pigment("Frame", 47, 47, 50),
         new Pigment("Border Highlight", 15, 255, 255, 255),
         new Pigment("Side Highlight", 6, 255, 255, 255),
         new Pigment("Shine", 20, 255, 255, 255),
         new Pigment("Shadow", 38, 38, 40),
         new Pigment("Backcolor", 247, 247, 251),
         new Pigment("Transparency", Color.Fuchsia)
     };
 }
コード例 #3
0
 public FButton()
 {
     SetStyle((ControlStyles)8198, true);
     Colors = new Pigment[] {
         new Pigment("Border", 254, 133, 0),
         new Pigment("Backcolor", 247, 247, 251),
         new Pigment("Highlight", 255, 197, 19),
         new Pigment("Gradient1", 255, 175, 12),
         new Pigment("Gradient2", 255, 127, 1),
         new Pigment("Text Color", Color.White),
         new Pigment("Text Shadow", 30, 0, 0, 0)
     };
     Font = new Font("Verdana", 8);
 }