예제 #1
0
        private void InitializeComponent()
        {
            this.SuspendLayout();
            this.VScrollBar1 = new AC.ExtendedRenderer.Toolkit.ScrollBar.KryptonScrollBar();

            this.VScrollBar1.Name        = "VScrollBar1";
            this.VScrollBar1.Scroll     += VScrollBar1_miScroll;
            this.VScrollBar1.Orientation = ScrollBarOrientation.Vertical;
            this.ResumeLayout(false);
        }
예제 #2
0
        private void InitializeComponent()
        {
            this.VScrollBar1 = new AC.ExtendedRenderer.Toolkit.ScrollBar.KryptonScrollBar();
            this.HScrollBar1 = new AC.ExtendedRenderer.Toolkit.ScrollBar.KryptonScrollBar();

            this.SuspendLayout();

            //this.VScrollBar1.Anchor = AnchorStyles.Right | AnchorStyles.Bottom | AnchorStyles.Top;
            this.VScrollBar1.Anchor      = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.VScrollBar1.Dock = System.Windows.Forms.DockStyle.Right;
            this.VScrollBar1.LargeChange = 10;
            this.VScrollBar1.Location    = new Point(0x91, 0); // (145,0)
            this.VScrollBar1.Maximum     = 20;
            this.VScrollBar1.Minimum     = 0;
            this.VScrollBar1.MinimumSize = new Size(0x13, 15);   //(19,15)
            this.VScrollBar1.Name        = "VScrollBar1";
            this.VScrollBar1.Size        = new Size(0x13, 0x7f); //(19,127)
            this.VScrollBar1.SmallChange = 1;
            this.VScrollBar1.TabIndex    = 0;
            this.VScrollBar1.Scroll     += VScrollBar1_miScroll;
            this.VScrollBar1.Visible     = false;
            this.VScrollBar1.Orientation = ScrollBarOrientation.Vertical;


            //this.HScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.HScrollBar1.Dock        = System.Windows.Forms.DockStyle.Bottom;
            this.HScrollBar1.LargeChange = 10;
            this.HScrollBar1.Location    = new Point(0, 0x6c);//(0,108)
            this.HScrollBar1.Maximum     = 20;
            this.HScrollBar1.Minimum     = 0;
            this.HScrollBar1.MinimumSize = new Size(15, 0x13); //(15,19)
            this.HScrollBar1.Name        = "HScrollBar1";
            this.HScrollBar1.Size        = new Size(0x96, 15); //(150,15)
            this.HScrollBar1.SmallChange = 1;
            this.HScrollBar1.TabIndex    = 1;
            this.HScrollBar1.Scroll     += HScrollBar1_miScroll;
            this.HScrollBar1.Visible     = false;
            this.HScrollBar1.Orientation = ScrollBarOrientation.Horizontal;

            this.BackColor = Color.Transparent;

            //this.Controls.Add(this.VScrollBar1);
            this.Controls.Add(this.HScrollBar1);

            this.Size = new Size(0xa4, 0x7f); //(164,127)
            this.ResumeLayout(false);

            if (_win != null)
            {
                this.__win.Resize += win_Resize;
            }
        }