Пример #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();
        }
Пример #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();
 }