Ejemplo n.º 1
0
        private void btnTrying_Click(object sender, RoutedEventArgs e)
        {
            TryingProductAlertWin tryingWin = new TryingProductAlertWin();

            tryingWin.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            tryingWin.Show();
        }
 private void lbProductColorSize_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (lbProductColors.SelectedIndex != -1 && lbProductSizes.SelectedIndex != -1)
     {
         TryingProductAlertWin tryingWin = new TryingProductAlertWin();
         tryingWin.WindowStartupLocation = WindowStartupLocation.CenterScreen;
         tryingWin.Show();
     }
 }