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();

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

            frmDeptAdd.DeptAdd();
        }