Пример #1
0
 // Constructor
 public DisplayButton()
 {
     textcolor               = ColorIndex.ControlNormalText;
     base.FlatStyle          = FlatStyle.Flat;
     corners                 = new CornerImagesProvider();
     corners.ScaleFixedWidth = true;
     localenabled            = true;
     clicksound              = "207";            // short subtile beep
     clickable               = true;
     normalcolor             = ColorIndex.ControlNormal;
     releasetimer            = new Timer();
     releasetimer.Interval   = 100;
     releasetimer.Tick      += releasetimer_Tick;
 }
Пример #2
0
 // Constructor
 public DisplayButton()
 {
     textcolor = ColorIndex.ControlNormalText;
     base.FlatStyle = FlatStyle.Flat;
     corners = new CornerImagesProvider();
     corners.ScaleFixedWidth = true;
     localenabled = true;
     clicksound = "207";		// short subtile beep
     clickable = true;
     normalcolor = ColorIndex.ControlNormal;
     releasetimer = new Timer();
     releasetimer.Interval = 100;
     releasetimer.Tick += releasetimer_Tick;
 }
Пример #3
0
 // Constructor
 public DisplayBar()
 {
     corners = new CornerImagesProvider();
     normalcolor = ColorIndex.ControlNormal;
     blockmouseinput = true;
 }
Пример #4
0
 // Constructor
 public DisplayBar()
 {
     corners         = new CornerImagesProvider();
     normalcolor     = ColorIndex.ControlNormal;
     blockmouseinput = true;
 }