private void Panel1_InAnimation(object sender, EventArgs e) { EventStateArgs ev = (EventStateArgs)e;// EventArgs É INFORMADO COMO EventStateArgs lblInAnimationCom.Text = "InAnimation - " + ev.AnimationState.ToString(); lblInAnimationCom.ForeColor = Color.Green; }
private void Panel1_AnimationStateResponse(object sender, EventArgs e) { EventStateArgs ev = (EventStateArgs)e;// EventArgs É INFORMADO COMO EventStateArgs lblInAnimationCom.Text = "InAnimation - " + ev.AnimationState.ToString(); lblInAnimationCom.ForeColor = Color.Black; lblAnimationStateResponseComp.Text = "AnimationStateResponse - " + ev.AnimationState.ToString() + " - " + DateTime.Now.ToString("HH:mm:ss"); }