private void standardButtonLeave(object sender, EventArgs e) { Button currentButton = sender as Button; ButtonAnimation.ButtonLeaveEffect(this, currentButton); }