Esempio n. 1
0
 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);
         }
     });
 }
Esempio n. 2
0
 public void SetBackground(Image img)
 {
     Skin.BackgroundImage = img;
     Skin.SetBits();
 }