예제 #1
0
 private void AddLeftArrow()
 {
     LeftArrow = new ArrowButton("Left", thumbPanel.Height);
     bottomPanel.Controls.Add(LeftArrow);
     LeftArrow.Tag = "Left";
     LeftArrow.Dock = DockStyle.Right;
 }
예제 #2
0
        private void AddRightArrow()
        {
            RightArrow = new ArrowButton("Right", thumbPanel.Height);
            RightArrow.Tag = "Left";
            RightArrow.Dock = DockStyle.Left;
            RightArrow.SetArrowImage("Right");
            SetRightArrowCount();
            bottomPanel.Controls.Add(RightArrow);

            LeftArrow.Clicked += new EventHandler(LeftArrowClicked);
            LeftArrow.Enabled = false;
            RightArrow.Clicked += new EventHandler(RightArrowClicked);
        }