private void AnimateShow() { Task.Factory.StartNew(() => { for (int i = 0; i <= 10; i++) { BeginInvoke(new Action(() => { Opacity = i / 10.0; Skin.SetBits(); })); Thread.Sleep(25); } }); }
public void SetBackground(Image img) { Skin.BackgroundImage = img; Skin.SetBits(); }