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; }
public DownloadAsyncTask(ComponentGalleryDialog owner, string url) { this._owner = owner; this._url = url; }