Пример #1
0
 public virtual void SetPictureBoxImageLocation(PictureBox Object, String Location)
 {
     if (this.InvokeRequired)
     {
         SetPictureBoxImageLocationDelegate dele = new SetPictureBoxImageLocationDelegate(SetPictureBoxImageLocation2);
         this.Invoke(dele, new object[] { Object, Location });
     }
     else
     {
         SetPictureBoxImageLocation2(Object, Location);
     }
 }
Пример #2
0
 public virtual void SetPictureBoxImageLocation(PictureBox Object, String Location)
 {
     if (this.InvokeRequired)
     {
         SetPictureBoxImageLocationDelegate dele = new SetPictureBoxImageLocationDelegate(SetPictureBoxImageLocation2);
         this.Invoke(dele, new object[] { Object, Location });
     }
     else
     {
         SetPictureBoxImageLocation2(Object, Location);
     }
 }