示例#1
0
        // 패널 자동 종속 문제 때문에 BringToFront 함수로 해결.

        public void BtnClear()
        {
            Burger_title.Load(@"images/LeftMenuImg/image1.png");
            Drink_title.Load(@"images/LeftMenuImg/drink_deactive.png");
            Side_title.Load(@"images/LeftMenuImg/side_nonactive.png");
            Set_title.Load(@"images/LeftMenuImg/set_nonactive.png");
        }
示例#2
0
 private void Burger_title_Click(object sender, EventArgs e)
 {
     BtnClear();
     PanelClear();
     menu_panel.BringToFront();
     Burger_title.Load(@"images/LeftMenuImg/image2.png");
     Burger_title.SizeMode = PictureBoxSizeMode.StretchImage;
     menu_panel.Visible    = true;
 }