Beispiel #1
0
        private void gridControl1_DoubleClick(object sender, EventArgs e)
        {
            int           ProductID = Convert.ToInt32(gridView1.GetFocusedRowCellValue("م"));
            frmAddProduct frm       = new frmAddProduct();

            frm.add       = false;
            frm.ProductID = ProductID;
            frm.ShowDialog();
            frmShowCategory_Load(sender, e);
        }
Beispiel #2
0
        private void simpleButton2_Click(object sender, EventArgs e)
        {
            frmAddProduct frm = new frmAddProduct();

            frm.ShowDialog();
        }