private void btnAdd_Click(object sender, EventArgs e)
 {
     frmUser fu = new frmUser(null, 0);
     fu.ShowDialog();
     if(fu.DialogResult==DialogResult.OK)
       LoadData();
 }
 private void btnModify_Click(object sender, EventArgs e)
 {
     if (dgvList.SelectedRows.Count > 0)
     {
         DB_Talk.Model.v_Manager Model = (DB_Talk.Model.v_Manager)dgvList.CurrentRow.Tag;
         if (Model != null)
         {
             frmUser fu = new frmUser(Model, 1);
             fu.ShowDialog();
             if(fu.DialogResult==DialogResult.OK)
                LoadData();
         }
     }
     else
     {
         CommControl.MessageBoxEx.MessageBoxEx.Show("请选择要编辑的用户", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
     }
 }