예제 #1
0
 private void RefreshSerializableSources()
 {
     SerializableSources.Clear();
     foreach (MigrationSource source in MigrationSources)
     {
         SerializableSources.Add(new SerializableSource(source, MigrationSources, Sessions, this));
     }
 }
예제 #2
0
 void MigrationSources_ItemAdded(IDualNotifyingCollection <MigrationSource> sender, ItemAddedEventArgs <MigrationSource> eventArgs)
 {
     eventArgs.Item.PropertyChanged += new UndoablePropertyChangedEventHandler(configurationSource_PropertyChanged);
     SerializableSources.Add(new SerializableSource(eventArgs.Item, MigrationSources, Sessions, this));
 }