コード例 #1
0
 private void btn_PrintPR_Click_1(object sender, EventArgs e)
 {
     if (cbbMM.SelectedIndex > 0)
     {
         //Report.Reportx1.Value = new string[4];
         //Report.Reportx1.Value[0] = cbbYY.Text.ToSt();
         //Report.Reportx1.Value[1] = (cbbMM.SelectedIndex + 1).ToSt();
         //Report.Reportx1.Value[2] = cbbItem.SelectedValue.ToSt();
         //Report.Reportx1.Value[3] = cbbCSTM.SelectedValue.ToSt();
         //Report.Reportx1.WReport = "DeliveryPlanning";
         //Report.Reportx1 op = new Report.Reportx1("DeliveryPlanning.rpt");
         //op.Show();
         var c = new CustomerPOSummary_Report(0);
         c.ShowDialog();
     }
 }
コード例 #2
0
        private void btnPrintM_Click(object sender, EventArgs e)
        {
            var c = new CustomerPOSummary_Report(1);

            c.ShowDialog();
        }