示例#1
0
        private void updateUser()
        {
            if (dataGridView.SelectedRows.Count < 1)
            {
                return;
            }
            string      U_Code      = dataGridView.SelectedRows[0].Cells["F_Account"].Value.ToString();
            frmUserEdit frmUserEdit = new frmUserEdit(this, frmMain.User, U_Code, 2);

            frmUserEdit.ShowDialog();
        }
示例#2
0
        private void addUser()
        {
            frmUserEdit frmUserEdit = new frmUserEdit(this, frmMain.User, "", 1);

            frmUserEdit.ShowDialog();
        }