示例#1
0
 // Events for SubCommands
 private void USC_MouseLeave(object sender, MouseEventArgs e)
 {
     AnimationLib.ChangeBackgroundColor(sender as Menu, Color.FromRgb(0x00, 0x77, 0x9F), 0.2);
     AnimationLib.MoveToTargetXwoMargin(sender as Control, 0, 10, .2);
 }
示例#2
0
 private void USC_MouseEnter(object sender, MouseEventArgs e)
 {
     AnimationLib.ChangeBackgroundColor((sender as UI.UC.Menu), Color.FromRgb(0x00, 0x4c, 0x65), 0.2);
     AnimationLib.MoveToTargetXwoMargin((sender as Control), 10, 0, .2);
 }