예제 #1
0
        //public static void SelectButton(Button selectedButton, Control selectedControl, Panel slider, int sliderThickness)
        //{
        //    SliderPanel.SliderPanelLeft(selectedButton, slider, sliderThickness);
        //    selectedControl.BringToFront();
        //}


        public static void SelectTabPage(Control selectedButton, TabControl tabControl, TabPage selectedTabPage, Panel slider)
        {
            SliderPanel.SliderPanelLeft(selectedButton, slider);

            tabControl.SelectTab(selectedTabPage);
        }
예제 #2
0
 /// <summary>
 /// jab button click kia jay ga too
 /// Sidepanel uski left side per aa jay gaa
 /// selected control dikhnay lgay gaa
 /// </summary>
 /// <param name="selectedButton">jo Button app nay select kerna hay</param>
 /// <param name="selectedControl">Button click kernay say jo Control samnay ay ga</param>
 /// <param name="slider">konsa Panel clicked button kay sath hoga</param>
 public static void SelectButton(Control selectedButton, Control selectedControl, Panel slider)
 {
     SliderPanel.SliderPanelLeft(selectedButton, slider);
     selectedControl.BringToFront();
 }