private void dataGridView_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            HandbookTest handbookTest = new HandbookTest();

            handbookTest.GradeName    = dataGridView.Rows[e.RowIndex].Cells["GradeName"].FormattedValue.ToString();
            handbookTest.GradeId      = Int32.Parse(dataGridView.Rows[e.RowIndex].Cells["GradeId"].FormattedValue.ToString());
            handbookTest.GradeNumber  = Int32.Parse(dataGridView.Rows[e.RowIndex].Cells["GradeNumber"].FormattedValue.ToString());
            handbookTest.Name         = dataGridView.Rows[e.RowIndex].Cells["testName"].FormattedValue.ToString();
            handbookTest.SubjectName  = dataGridView.Rows[e.RowIndex].Cells["SubjectName"].FormattedValue.ToString() + " " + dataGridView.Rows[e.RowIndex].Cells["GradeName"].FormattedValue.ToString();
            handbookTest.SubjectId    = Int32.Parse(dataGridView.Rows[e.RowIndex].Cells["SubjectId"].FormattedValue.ToString());
            handbookTest.Quantity     = Int32.Parse(dataGridView.Rows[e.RowIndex].Cells["Quantity"].FormattedValue.ToString());
            handbookTest.QuantityPass = Int32.Parse(dataGridView.Rows[e.RowIndex].Cells["QuantityPass"].FormattedValue.ToString());
            handbookTest.Id           = Int32.Parse(dataGridView.Rows[e.RowIndex].Cells["Id"].FormattedValue.ToString());
            AddTestForm testForm = new AddTestForm(user, handbookTests, handbookSubjects, this, handbookTest);

            testForm.Show();
        }
        private void btnAdd_Click(object sender, EventArgs e)
        {
            AddTestForm testForm = new AddTestForm(user, handbookTests, handbookSubjects, this);

            testForm.Show();
        }