private void delete_toolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (XtraMessageBox.Show("确认要删除选中的学生信息吗", "消息", MessageBoxButtons.YesNo, MessageBoxIcon.Question) ==
                DialogResult.No)
            {
                return;
            }

            //验证账号信息
            VerificationForm form = new VerificationForm();

            form.ShowDialog();
            if (!form.Result)
            {
                return;
            }
            //获取选中行
            int[] rows = gridView1.GetSelectedRows();
            int[] ids  = new int[rows.Length];

            for (int i = 0; i < rows.Length; i++)
            {
                ids[i] = (gridView1.GetRow(rows[i]) as StudentInfo).ID;
            }

            int result = StudentInfo.FalseDelete(ids);

            if (result > 0)
            {
                XtraMessageBox.Show("删除成功");
                Query();
                return;
            }

            XtraMessageBox.Show("删除失败");
            return;
        }