예제 #1
0
 private void 打印年计划ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.dgvList.SelectedRows.Count == 1)
     {
         string             id     = this.dgvList.SelectedRows[0].Cells[0].Value.ToString();
         ReportProductClass report = new ReportProductClass();
         report.RunYearProducePlan(id);
     }
 }
예제 #2
0
        private void 打印年需求计划ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (this.dgvList.SelectedRows.Count == 1)
            {
                string ppid = this.dgvList.SelectedRows[0].Cells[0].Value.ToString();

                ReportProductClass report = new ReportProductClass();
                report.RunYearMaterialRequirementsPlanning(ppid);
            }
        }
예제 #3
0
 private void btn_print_Click(object sender, EventArgs e)
 {
     if (dgv_notify.SelectedRows.Count > 0)
     {
         ReportProductClass report = new ReportProductClass();
         report.RunMixingMachineProduceNotice(dgv_notify.SelectedRows[0].Cells["id"].Value.ToString());
         //ReportProductionNotification reportProductionNotification = new ReportProductionNotification();
         //reportProductionNotification.PNID = dgv_notify.SelectedRows[0].Cells["id"].Value.ToString();
         //reportProductionNotification.ShowDialog();
     }
 }