예제 #1
0
 public TopMenuViewModel(IDomainContext domainContext)
 {
     databaseIsVerified = false;
     BasketCaption      = "0.00" + CurrencySuffix;
     DomainContext      = domainContext;
     menuItemsStyle     = new MenuItemsStyle(DomainContext,
                                             ColorService.CreateBrush(0x2B, 0x3E, 0x80),
                                             ColorService.CreateBrush(0x5B, 0x6E, 0xA0),
                                             ColorService.CreateBrush(0x8B, 0x9E, 0xF0),
                                             ColorService.CreateBrush(0xDB, 0xEE, 0xFF));
     SubscribeMessenger();
     RefreshBasketCapture();
 }
예제 #2
0
 private void SelectTopMenu(MenuChangedEventArgs args)
 {
     MenuItemsStyle.SetMouseUpMenuItems(args);
 }