예제 #1
0
 public void Initialize()
 {
     var viewModel = new AccessoryViewModel(_accessoryRepository);
     var panel = new AccessoryRegistryPanel(viewModel);
     _regionManager.Regions["Sales"].Add(panel);
 }
 public AccessoryRegistryPanel(AccessoryViewModel model)
 {
     InitializeComponent();
     DataContext = model;
 }
 public AccessoryRegistryPanel(AccessoryViewModel model)
 {
     InitializeComponent();
     DataContext = model;
 }