public SongVMs() { Song = new SongwithModelBase(); SongVM = new SongVM(); SongVMwithCommand = new SongVMwithCommand(); SongVMwithSUICommand = new SongVMwithSUICommand(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.songVM = ((WpfApplication2.ViewModel.SongVMwithCommand)(target)); return; case 2: this.btnUpdateArtist = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }