Esempio n. 1
0
 private void OnLoadCompleted(LoadRequest loadRequest, Image image)
 {
     if (LoadCompleted != null)
     {
         LoadCompletedEventArgs e = new LoadCompletedEventArgs
         {
             FilePath = loadRequest.FilePath,
             Tag = loadRequest.Tag,
             Image = image
         };
         LoadCompleted(this, e);
     }
 }
Esempio n. 2
0
        private void imageLoader_LoadCompleted(object sender, LoadCompletedEventArgs e)
		{
			this.Invoke(new SetImageDelegate(SetImage), (ListViewItem)e.Tag, e.Image);
		}