public void toolStripButtonAddUserInfo_Click(object sender, EventArgs e)
 {
     FormManager formController = new FormManager(modeManagerInfo, OpenMode.Add);
     formController.ShowDialog();
     this.refreshDataGridView();
 }
        public void toolStripButtonUpdateUserInfo_Click(object sender, EventArgs e)
        {
            if (dataGridViewWithCheckBox1.CurrentRow == null)
                return;

            int selectIndex = dataGridViewWithCheckBox1.CurrentRow.Index;
            string managerName = dataGridViewWithCheckBox1["ManagerName", selectIndex].Value.ToString().Trim();

            modeManagerInfo = bllManagerInfo.GetModelList("ManagerName = '" + managerName + "'")[0];

            FormManager formController = new FormManager(modeManagerInfo, OpenMode.Update);
            formController.ShowDialog();
            this.refreshDataGridView();
        }