コード例 #1
0
        private void txtPrint_Click(object sender, EventArgs e)
        {
            frmViewReport oViewReport = new frmViewReport();

            oViewReport.SetReport((int)Report.BoxInventory, oKit.CompanyID, txtCustomerID.Text, true);
            frmViewReport oViewReport1 = new frmViewReport();

            oViewReport1.SetReport((int)Report.FinalBillTally, oKit.CompanyID, txtCustomerID.Text, true);
        }
コード例 #2
0
 private void PrinPalletLabels()
 {
     if (oCustomer.Find(txtCustomerID.Text))
     {
         if (!Global.IsRunningOnMono())
         {
             frmViewReport oViewReport = new frmViewReport();
             oViewReport.Parameter_1 = oCustomer.NumberPallets;
             oViewReport.SetReport((int)Report.PalletLabels, CompanyID, oCustomer.ID, false);
         }
         else
         {
             PrintSample oSample = new PrintSample();
             oSample.RunSample();
         }
     }
 }
        private void bPrint_Click(object sender, EventArgs e)
        {
            frmViewReport oViewReport = new frmViewReport();

            oViewReport.SetReport((int)Signature.Report.BoxInventory, Global.GetParameter("CurrentCompany"), txtCustomerID.Text, true);
        }