Example #1
0
 public SongVMs()
 {
     Song                 = new SongwithModelBase();
     SongVM               = new SongVM();
     SongVMwithCommand    = new SongVMwithCommand();
     SongVMwithSUICommand = new SongVMwithSUICommand();
 }
Example #2
0
        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;
        }