コード例 #1
0
 public EditLicensViewModel()
 {
     Shared           = StaticClassSingleton.Instance;
     GoBackBtn        = new GoBackCommand();
     SaveChangesBtn   = new ExecuteAndNavigateBackCommand(SaveChanges);
     _originalLicense = Shared.SelectedLicens;
 }
コード例 #2
0
 public AddSupplierViewModel()
 {
     AddSupplierBtn = new ExecuteAndNavigateBackCommand(AddSupplier);
     GoBackBtn      = new GoBackCommand();
     Shared         = StaticClassSingleton.Instance;
 }
コード例 #3
0
 public AddCustomerViewModel()
 {
     CancelThis          = new GoBackCommand();
     RegisterCustomerBtn = new ExecuteAndNavigateBackCommand(AddCustomer);
     Shared = StaticClassSingleton.Instance;
 }
コード例 #4
0
 public ConnectNewLicenseViewModel()
 {
     Shared    = StaticClassSingleton.Instance;
     GoBack    = new GoBackCommand();
     CreateBtn = new ExecuteAndNavigateBackCommand(CreateLicens);
 }