예제 #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 Drink_title_Click(object sender, EventArgs e)
 {
     BtnClear();
     PanelClear();
     DrinkMenu_panel.Visible = true;
     DrinkMenu_panel.BringToFront();
     Drink_title.Load(@"images/LeftMenuImg/drink_active.png");
     Drink_title.SizeMode = PictureBoxSizeMode.StretchImage;
 }