예제 #1
0
 private void OpenFormReportViewer(ListOfReports rep)
 {
     //if (f_ViewReport != null)
     //{
     //    if (!f_ViewReport.IsDisposed)
     //        f_ViewReport.Close();
     //}
     f_ViewReport = new FormViewReport(rep);
     f_ViewReport.lbl_UserName.Text = toolStripStatusLabelLoginName.Text;
 }
예제 #2
0
 private void btn_Detail_Click(object sender, EventArgs e)
 {
     if (f_Report != null)
     {
         if (!f_Report.IsDisposed)
         {
             f_Report.Close();
         }
     }
     f_Report         = new FormViewReport(ListOfReports.UtangDetail);
     f_Report.Trans   = ListOfTransaction.Purchase;
     f_Report.DataId  = combo_Supplier.SelectedValue.ToString();
     f_Report.DataId2 = currencyIdComboBox.SelectedItem.ToString();
     f_Report.Width   = 800;
     f_Report.Show(this);
 }