Example #1
0
 void ChangeMenuMode()
 {
     if (mode == 0)
     {
         PanelMenuSlide.Location = new Point(0, 397);
         PanelSubMenu.Show();
         mode = 1;
     }
     else
     {
         PanelMenuSlide.Location = new Point(0, 278);
         PanelSubMenu.Hide();
         mode = 0;
     }
 }
Example #2
0
        private void Color_Button()
        {
            //
            TriangleCorner1.Show();
            TriangleCorner2.Hide();

            TriangleCorner4.Hide();
            TriangleCorner5.Hide();
            TriangleCorner6.Hide();
            TriangleCorner7.Hide();
            //
            PanelColorMain.Show();
            PanelColorProduct.Hide();

            PanelColorDepot.Hide();
            PanelColorRevenue.Hide();
            PanelColorSetting.Hide();
            PanelColorHelp.Hide();
            btnHome.Image = Image.FromFile(startupURL + "\\Icon\\button_home_blue.png");
            //
            PanelSubMenu.Hide();
        }
Example #3
0
 void closeSubMenu()
 {
     PanelMenuSlide.Location = new Point(0, 278);
     PanelSubMenu.Hide();
     mode = 0;
 }