Exemple #1
0
 public NewCringle(Main inMain)
 {
     main                = inMain;
     CurrentCringle      = null;
     AddPersonCommand    = new Classes.RelayCommand(AddPersonExecute);
     RemovePersonCommand = new Classes.RelayCommand(RemovePersonExecute);
     OKCommand           = new Classes.RelayCommand(OKExecute);
 }
Exemple #2
0
 public void Refresh(XMusCringleLib.Model.XMusCringleContext _db)
 {
     db = _db;
     PeopleInCringle = new ObservableCollection <Model.Person>();
     Model.CringleDetail cdet = new Model.CringleDetail
     {
         OCoverLetter = "Put your cover letter in here.  Use the template variables and they will be replaced wiht the values you enter.",
         OCringleName = "New Cringle",
         IsSelected   = true,
         OAmount      = 50,
     };
     CurrentCringle = cdet;
     //Set Avilable People
     AvilablePeople = new ObservableCollection <Model.Person>(db.People.ToList());
 }