Example #1
0
 //Konstruktor
 public MainViewVM()
 {
     data            = new Kniha();
     this.Prejdi     = new Command(this.Prejdi_Execute);
     this.Prejdi_Add = new Command(this.Prejdi_Add_Execute);
     this.Delete     = new Command(this.Delete_Execute);
     this.Profil     = new Command(this.Profil_Execute);
 }
Example #2
0
 public AddPageVM()
 {
     data        = new Model.Kniha();
     this.Pridej = new Command(this.Add_Execute);
     this.Prejdi = new Command(this.Prejdi_Execute);
 }