Exemplo n.º 1
0
 private void SetBGImage(Image Img)
 {
     if (this.InvokeRequired)
     {
         SetBGImageCallback d = new SetBGImageCallback(SetBGImage);
         this.Invoke(d, new object[] { Img });
     }
     else
     {
         this.BackgroundImage = Img;
     }
 }
Exemplo n.º 2
0
 private void SetBGImage(Image Img)
 {
     if (this.InvokeRequired)
     {
         SetBGImageCallback d = new SetBGImageCallback(SetBGImage);
         this.Invoke(d, new object[] { Img });
     }
     else
     {
         this.BackgroundImage = Img;
     }
 }