Example #1
0
        private void Confirmbtn_Click(object sender, EventArgs e)
        {
            if (rptCardcb.Text != "")
            {
            StudReportCard.source = rptCardcb.Text;

            Form.ActiveForm.Close();
            StudReportCard rptCard = new StudReportCard();
            rptCard.Show();
            } else { MessageBox.Show("No Report Card is selected. Please select one","Null Report Card",MessageBoxButtons.OK,MessageBoxIcon.Error); }
        }
Example #2
0
        private void Confirmbtn_Click(object sender, EventArgs e)
        {
            if (rptCardcb.Text != "")
            {
                StudReportCard.source = rptCardcb.Text;

                Form.ActiveForm.Close();
                StudReportCard rptCard = new StudReportCard();
                rptCard.Show();
            }
            else
            {
                MessageBox.Show("No Report Card is selected. Please select one", "Null Report Card", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Example #3
0
        private void StudentList_SelectedIndexChanged(object sender, EventArgs e)
        {
            StudReportCard rptCard = new StudReportCard();

            rptCard.ShowDialog();
        }