04-20-2011, 11:25 AM
(04-20-2011, 06:39 AM)KoBE Wrote: This code gets c/p everywhere. And everytime I have to ask...
Why do you have two different increments for each for loop?
Because we are fading in and out. Simple as that. If we fade in, we must start from zero and slowly increase to 1.x to allow the form to reveal itself on load. For fading out we want the form to slowly decrease its opacity as easy, so we divide the earlier numbers declared by the FadingOutProcess to allow the form to fade out.