Exemplo n.º 1
0
        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button11_Click(object sender, EventArgs e)
        {
            var frm = new FrmUserManage();

            frm.ShowDialog();
            button12_Click(null, null);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 编辑
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button10_Click(object sender, EventArgs e)
        {
            if (dataGridView3.SelectedRows.Count < 1)
            {
                return;
            }
            var userInfo = userInfoManange.GetUserInfo((int)dataGridView3.SelectedRows[0].Cells[1].Value);
            var frm      = new FrmUserManage(userInfo);

            frm.ShowDialog();
            button12_Click(null, null);
        }
Exemplo n.º 3
0
        public override void Run(object sender, EventArgs e)
        {
            FrmUserManage dlg = new FrmUserManage();

            dlg.ShowDialog();
        }