private void MediaLibrary_CloseClick(object sender, RoutedEventArgs e)
 {
     MediaLibrary.Controls.MediaLibrary ml = sender as MediaLibrary.Controls.MediaLibrary;
     if (Manager.Databases.Count > 1)
     {
         Manager.Databases.Remove(ml.Database);
     }
 }
Exemple #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.mlbSelector = ((MediaLibrary.Controls.MediaLibrary)(target));
         return;
     }
     this._contentLoaded = true;
 }