Пример #1
0
        private void gridControl1_DoubleClick(object sender, EventArgs e)
        {
            //int intRow = gridView1.GetSelectedRows()[0];
            string guid = ((DataRowView)(gridView1.GetFocusedRow())).Row[0].ToString();

            frmClientAdd frmClientAdd = new frmClientAdd();

            frmClientAdd.ClientEdit(guid);
        }
Пример #2
0
        //编辑
        private void tsbedit_Click(object sender, EventArgs e)
        {
            if (gridView1.RowCount > 0)
            {
                //int intRow = gridView1.GetSelectedRows()[0];
                string guid = ((DataRowView)(gridView1.GetFocusedRow())).Row[0].ToString();

                frmClientAdd frmClientAdd = new frmClientAdd();
                frmClientAdd.ClientEdit(guid);
            }
        }