Esempio n. 1
0
 private void btnprint_Click(object sender, EventArgs e)
 {
     try
     {
         RPT.rpt_lec_class lt = new RPT.rpt_lec_class();
         PL.frm_lec_class  ll = new PL.frm_lec_class();
         ll.crystalReportViewer1.ReportSource = lt;
         ll.ShowDialog();
         this.Close();
     }
     catch
     {
         //  MessageBox.Show("لا يوجد محاضرات لهذا القسم  الرجاء اختر القسم بشكل صحيح", "طباعة اماكن المحاضرات", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Esempio n. 2
0
 private void metroTile8_Click(object sender, EventArgs e)
 {
     PL.frm_lec_class c = new PL.frm_lec_class();
     c.ShowDialog();
 }