Exemple #1
0
 private void InitializeComponent()
 {
     this._vScrollBar = new SimpleVScrollbar();
     this.SuspendLayout();
     //
     // vScrollBar
     //
     this._vScrollBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this._vScrollBar.BackColor     = System.Drawing.Color.White;
     this._vScrollBar.LargeChange   = 25;
     this._vScrollBar.Location      = new System.Drawing.Point(510, 3);
     this._vScrollBar.Maximum       = 50;
     this._vScrollBar.Minimum       = 0;
     this._vScrollBar.Name          = "vScrollBar";
     this._vScrollBar.Size          = new System.Drawing.Size(5, 326);
     this._vScrollBar.SmallChange   = 0;
     this._vScrollBar.TabIndex      = 0;
     this._vScrollBar.Value         = 0;
     this._vScrollBar.Visible       = false;
     this._vScrollBar.ValueChanged += new System.EventHandler <System.EventArgs>(this.OnScrollBarValueChanged);
     //
     // ShardListControl
     //
     this.Controls.Add(this._vScrollBar);
     this.Name = "ShardListControl";
     this.Size = new System.Drawing.Size(517, 335);
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this._vScrollBar = new SimpleVScrollbar();
     this.SuspendLayout();
     //
     // vScrollBar
     //
     this._vScrollBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this._vScrollBar.BackColor = System.Drawing.Color.White;
     this._vScrollBar.LargeChange = 25;
     this._vScrollBar.Location = new System.Drawing.Point(510, 3);
     this._vScrollBar.Maximum = 50;
     this._vScrollBar.Minimum = 0;
     this._vScrollBar.Name = "vScrollBar";
     this._vScrollBar.Size = new System.Drawing.Size(5, 326);
     this._vScrollBar.SmallChange = 0;
     this._vScrollBar.TabIndex = 0;
     this._vScrollBar.Value = 0;
     this._vScrollBar.Visible = false;
     this._vScrollBar.ValueChanged += new System.EventHandler<System.EventArgs>(this.OnScrollBarValueChanged);
     //
     // ShardListControl
     //
     this.Controls.Add(this._vScrollBar);
     this.Name = "ShardListControl";
     this.Size = new System.Drawing.Size(517, 335);
     this.ResumeLayout(false);
 }