void ScreenConfirmEvent(object sender, ProductEventArgs e)
 {
     CreateProductIdForInput(e.ProductColorList, e.ProductSizeList, e.StockList);
 }
 public void Confirm()
 {
     ProductEventArgs eventArgs = new ProductEventArgs();
     eventArgs.ProductColorList = SelectedProductColors;
     eventArgs.ProductSizeList = SelectedProductSizes;
     if(ConfirmEvent!=null) ConfirmEvent(this, eventArgs);
     ShellViewModel.Current.HideDialog(this);
     //Shutdown();
 }
 public void Confirm()
 {
     ProductEventArgs eventArgs = new ProductEventArgs();
     eventArgs.ProductColorList = SelectedProductColors;
     eventArgs.ProductSizeList = SelectedProductSizes;
     eventArgs.StockList = _stockList as IList;
     if(ConfirmEvent!=null) ConfirmEvent(this, eventArgs);
     _startViewModel.HideDialog(this);
     //Shutdown();
 }