Exemplo n.º 1
0
 public View_Shifts1(Service service)
 {
     this.service     = service;
     VM               = new AllShiftsData(service);
     this.DataContext = VM;
     InitializeComponent();
 }
Exemplo n.º 2
0
 public View_Shifts1()
 {
     service         = new Service();
     service.Manager = true;
     VM = new AllShiftsData(service);
     this.DataContext = VM;
     InitializeComponent();
 }