Esempio n. 1
0
        private void CrystalReportbtn_Click(object sender, EventArgs e)
        {
            ReportCardOption rptCard = new ReportCardOption();

            try
            {
                StudReportCard.SY = SYcb.Text;
                StudReportCard.T1 = T1Tb.Text;
                StudReportCard.T2 = T2Tb.Text;
                StudReportCard.T3 = T3Tb.Text;
                rptCard.Show();
            }
            catch
            {
            }
            finally
            {
                rptCard.Show();
            }
        }
Esempio n. 2
0
        private void StudGridView_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            //const int Stud_Id = 0;

            //Student studIdString = new Student();
            int i = StudGridView.CurrentCell.RowIndex;
            //studIdString.StudentID = StudGridView[0, i].Value.ToString();
            ReportCardOption rptCard = new ReportCardOption();

            rptCard.Show();
            //ReportCardTaks rptCard = new ReportCardTaks();
            //rptCard.StudntID = StudGridView[Stud_Id, i].Value.ToString();
            //rptCard.ShowDialog();
        }