Exemplo n.º 1
0
 //Remove product image window on mouse exit.
 private void CloseImageWindowOnMouseLeave(object sender, MouseEventArgs e)
 {
     inventoryItemImageWindow.Close();
     inventoryItemImageWindow = null;
 }
Exemplo n.º 2
0
 //Display a product image window on click.
 private void ShowImage(object sender, RoutedEventArgs e)
 {
     inventoryItemImageWindow = new InventoryItemImageWindow(this);
     inventoryItemImageWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen;
     inventoryItemImageWindow.ShowDialog();
 }