Exemplo n.º 1
0
 Library IComponentGalleryService.BrowseGallery(string typeFilter)
 {
     ComponentGalleryDialog form = new ComponentGalleryDialog(this._serviceProvider);
     form.TypeFilter = typeFilter;
     IUIService service = (IUIService) this._serviceProvider.GetService(typeof(IUIService));
     if (service.ShowDialog(form) == DialogResult.OK)
     {
         return form.DownloadedLibrary;
     }
     return null;
 }
Exemplo n.º 2
0
 public DownloadAsyncTask(ComponentGalleryDialog owner, string url)
 {
     this._owner = owner;
     this._url = url;
 }