コード例 #1
0
        private void 修改ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var list = GetSelectedModelList();

            if (list == null)
            {
                return;
            }
            if (list.Count > 1)
            {
                MessageBoxEx.Show("请选中一条进行修改!");
                return;
            }
            FrmAddAuthUser frm = new FrmAddAuthUser(LoadDataToDataGridView, _curPage, true, list[0]);

            frm.ShowDialog();
        }
コード例 #2
0
        private void 添加用户ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmAddAuthUser frm = new FrmAddAuthUser(LoadDataToDataGridView, _curPage);

            frm.ShowDialog();
        }