private void Init() { if (mClip.Width == 0 || mClip.Height == 0) { return; } if (mStartImg != null) { Dispose(); } mStartImg = new Bitmap(mClip.Width, mClip.Height); mFinishImg = new Bitmap(mClip.Width, mClip.Height); using (Graphics g = Graphics.FromImage(mStartImg)) Start.DrawStatic(g); using (Graphics g = Graphics.FromImage(mFinishImg)) Finish.DrawStatic(g); if (mPreload) { Thread t = new Thread(Preload); t.Priority = ThreadPriority.BelowNormal; t.Name = "FadePreload"; t.Start(); } }