Ejemplo n.º 1
0
 private void miInventory_Click(object sender, RoutedEventArgs e)
 {
     Views.InventoryWindow window = new Views.InventoryWindow();
     this.CpCurrentScreenContent.Content = window.Content;
     ResetMenuButtons();
     this.miInventory.Background  = Brushes.LightSlateGray;
     this.LblContentTitle.Content = "Inventory Management";
 }
Ejemplo n.º 2
0
 private void Window_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)
 {
     if (e.Key == Key.I && (Keyboard.Modifiers == ModifierKeys.Control))
     {
         Views.InventoryWindow window = new Views.InventoryWindow();
         this.CpCurrentScreenContent.Content = window.Content;
         ResetMenuButtons();
         this.miInventory.Background  = Brushes.LightSlateGray;
         this.LblContentTitle.Content = "Inventory Management";
     }
 }