Esempio n. 1
0
        private void gridView1_RowClick(object sender, DevExpress.XtraGrid.Views.Grid.RowClickEventArgs e)
        {
            System.Data.DataRow row = gridView1.GetDataRow(gridView1.FocusedRowHandle);
            //if (row["status"].ToString() == "PO Created")
            //{
            //    MessageBox.Show("PO Already Created...!", "ALERT", MessageBoxButtons.OK, MessageBoxIcon.Information);
            //}
            //else
            //{
            String no = row["productCode"].ToString();
            Product_for_Discount po = new Product_for_Discount(no);

            po.ShowDialog();
            loadData();
            //}
        }
Esempio n. 2
0
        private void gridView1_DoubleClick(object sender, EventArgs e)
        {
            Product_for_Discount a = new Product_for_Discount("");

            a.ShowDialog();
        }