Exemplo n.º 1
0
        private void 修改ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int n = dgUserKey.CurrentRow.Index;

            this.dgUserKey.CurrentCell = dgUserKey[0, n];
            string    id        = dgUserKey.CurrentCell.Value.ToString();
            KeyChange keyChange = new KeyChange(id, dsXML);

            keyChange.ShowDialog();
        }
Exemplo n.º 2
0
 private void �޸�ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     int n = dgUserKey.CurrentRow.Index;
     this.dgUserKey.CurrentCell=dgUserKey[0,n];
     string id = dgUserKey.CurrentCell.Value.ToString();
     KeyChange keyChange = new KeyChange(id,dsXML);
     keyChange.ShowDialog();
 }