private fadeOutEvent ( Object myObject, EventArgs myEventArgs ) : void | ||
myObject | Object | |
myEventArgs | EventArgs | |
리턴 | void |
private void fadeOutEvent(Object myObject, EventArgs myEventArgs)
{
this.Opacity -= 0.05;
if (this.Opacity <= .05)
{
this.Opacity = 0;
this.Hide();
fadeOutTimer.Stop();
}
}