コード例 #1
0
ファイル: ReportCardOption.cs プロジェクト: orette/southville
        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); }
        }
コード例 #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);
            }
        }
コード例 #3
0
ファイル: Main.cs プロジェクト: PackFan2019/southville
        private void StudentList_SelectedIndexChanged(object sender, EventArgs e)
        {
            StudReportCard rptCard = new StudReportCard();

            rptCard.ShowDialog();
        }