Exemplo n.º 1
0
 static ScrollbarFactory()
 {
     BackgroundStyle = RendererSingleton.StyleFactory.ProduceNewFillStyleInfo(System.Drawing.Color.WhiteSmoke);
     BorderStyle = RendererSingleton.StyleFactory.ProduceNewLineStyleInfo(System.Drawing.Color.WhiteSmoke, 1);
     ButtonUpStyle = new ArrowButtonStyle(ArrowButtonStyle.ArrowType.Up);
     ButtonDownStyle = new ArrowButtonStyle(ArrowButtonStyle.ArrowType.Down);
     ButtonLeftStyle = new ArrowButtonStyle(ArrowButtonStyle.ArrowType.Left);
     ButtonRightStyle = new ArrowButtonStyle(ArrowButtonStyle.ArrowType.Right);
     MyThumbStyle = new ScrollbarButtonStyle();
 }
Exemplo n.º 2
0
 static ScrollbarFactory()
 {
     BackgroundStyle  = RendererSingleton.StyleFactory.ProduceNewFillStyleInfo(System.Drawing.Color.WhiteSmoke);
     BorderStyle      = RendererSingleton.StyleFactory.ProduceNewLineStyleInfo(System.Drawing.Color.WhiteSmoke, 1);
     ButtonUpStyle    = new ArrowButtonStyle(ArrowButtonStyle.ArrowType.Up);
     ButtonDownStyle  = new ArrowButtonStyle(ArrowButtonStyle.ArrowType.Down);
     ButtonLeftStyle  = new ArrowButtonStyle(ArrowButtonStyle.ArrowType.Left);
     ButtonRightStyle = new ArrowButtonStyle(ArrowButtonStyle.ArrowType.Right);
     MyThumbStyle     = new ScrollbarButtonStyle();
 }
Exemplo n.º 3
0
 public ScrollbarButton()
     : base()
 {
     MyButtonStyle = new ScrollbarButtonStyle();
     this.Bounds.Size.Set(16, 16);
 }
Exemplo n.º 4
0
 public ScrollbarButton()
     : base()
 {
     MyButtonStyle = new ScrollbarButtonStyle();
     this.Bounds.Size.Set(16, 16);
 }