private void OnDataSourceCollectionChanged(object sender, EventArgs e)
 {
     MediaGalleryHelper.InitializeGallery(this.galleryControl1.Gallery, DataSource, null);
 }
 protected override void OnLoad(EventArgs e)
 {
     base.OnLoad(e);
     MediaGalleryHelper.InitializeGallery(this.galleryControl1.Gallery, OnAllowMediaStorage);
 }
 private void UpdateGallerySource()
 {
     MediaGalleryHelper.InitializeGallery(this.galleryControl1.Gallery, DataSource, null);
 }