示例#1
0
 private void MenuBtn_Click(object sender, EventArgs e)
 {
     if (Menu.Width == 253)
     {
         Menu.Visible = false;
         Menu.Width   = 56;
         MenuAnimator.ShowSync(Menu);
         Logo.Hide();
     }
     else
     {
         Menu.Visible = false;
         Menu.Width   = 253;
         MenuAnimator.ShowSync(Menu);
         LogoAminator.ShowSync(Logo);
     }
 }