Esempio n. 1
0
 private void ShowPopUp_CellMouseClick(object sender, System.Windows.Forms.DataGridViewCellMouseEventArgs e)
 {
     if (e.RowIndex != -1)
     {
         string productCode = UnleashedData.Rows[e.RowIndex].Cells[0].Value.ToString();
         ProductDetailWindow productDetail = new MRPTool.ProductDetailWindow(productCode);
         productDetail.Show();
     }
 }
Esempio n. 2
0
        private void ShowPopUp_CellMouseClick(object sender, System.Windows.Forms.DataGridViewCellMouseEventArgs e)
        {
            if (e.RowIndex != -1)
            {
                string productCode = UnleashedData.Rows[e.RowIndex].Cells[0].Value.ToString();
                ProductDetailWindow productDetail = new MRPTool.ProductDetailWindow(productCode);

                productDetail.Show();
                //var responseProducts = UnLeashedMain.GetJson("Products/1", ApiId, ApiKey, "");
                //var dtProducts = JsonConvert.DeserializeObject<ULProducts>(responseProducts);
                ////ItemsProducts.AddRange(dtProducts.Items);
                //MessageBox.Show("Files are missing,please provide all the files.", "Warning");
            }
        }