Esempio n. 1
0
        private void gridControl1_DoubleClick(object sender, EventArgs e)
        {
            if (gridView1.RowCount > 0)
            {
                //int intRow = gridView1.GetSelectedRows()[0];
                string guid = ((DataRowView)(gridView1.GetFocusedRow())).Row[0].ToString();

                frmSupplierAdd frmSupplierAdd = new frmSupplierAdd();
                frmSupplierAdd.SupplierEdit(guid);
            }
        }
Esempio n. 2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmSupplierAdd frmSupplierAdd = new frmSupplierAdd();

            frmSupplierAdd.SupplierAdd();
        }