private void btnEdit_Click(object sender, RoutedEventArgs e)
        {
            ProductStocksModel prodStocks = dgvProductsIn.SelectedItem as ProductStocksModel;

            if (prodStocks != null)
            {
                ProductStocksDetails prodDet = new ProductStocksDetails(this, prodStocks);
                prodDet.ShowDialog();
            }
        }
        private void btnAddProductStocks_Click(object sender, RoutedEventArgs e)
        {
            ProductStocksDetails prodStocks = new ProductStocksDetails(this);

            prodStocks.ShowDialog();
        }