コード例 #1
0
 private void ambulantListBtn_Click(object sender, EventArgs e)
 {
     try
     {
         lesseesClass l = new lesseesClass();
         l.getIsAmbulantLessees();
         crypt.Load(domainName + "LesseesListCrystalReport.rpt");
         crypt.SetDataSource(l.datasetQuery("lessees_tbl"));
         crypt.SetParameterValue("title", "List of Ambulants");
         reportsCrystalReportViewer.ReportSource = crypt;
         reportsCrystalReportViewer.Refresh();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
コード例 #2
0
 public LesseesUserControl()
 {
     InitializeComponent();
     _lc = new lesseesClass(this);
 }