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

                frmEmployeeAdd frmEmployeeAdd = new frmEmployeeAdd();
                frmEmployeeAdd.EmployeeEdit(guid);
            }
        }
Ejemplo n.º 2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmEmployeeAdd frmEmployeeAdd = new frmEmployeeAdd();

            frmEmployeeAdd.EmployeeAdd();
        }