private void generateToolStripMenuItem_Click(object sender, EventArgs e) { deliveryDate = dateTimePicker1.Value; if (deliveryDate == dateTime) { MessageBox.Show("Please set Delivery Date!"); } else { if (gClient.DataBaseName != "producers_history") { proc.Process2(orderList, this, int.Parse(txtDrNumber.Text), int.Parse(txtPackNumber.Text)); } else { proc.Process(orderList, this, int.Parse(txtDrNumber.Text), int.Parse(txtPackNumber.Text)); } proc.GetDRDetails(orderList[0].Batch, tempDr); proc.GetStickerDetails(tempSticker, orderList[0].Batch); MessageBox.Show("Data has been process!!!"); ViewReports vp = new ViewReports(); // vp.MdiParent = this; vp.Show(); reportsToolStripMenuItem.Enabled = true; } }
private void packingToolStripMenuItem_Click(object sender, EventArgs e) { report = "Packing"; ViewReports vp = new ViewReports(); vp.Show(); }
private void stickerToolStripMenuItem_Click(object sender, EventArgs e) { report = "STICKER"; ViewReports vp = new ViewReports(); vp.Show(); }
private void deliveryReceiptToolStripMenuItem_Click(object sender, EventArgs e) { report = "DR"; ViewReports vp = new ViewReports(); vp.Show(); }
private void documentStampToolStripMenuItem_Click(object sender, EventArgs e) { report = "DOC"; ViewReports vp = new ViewReports(); vp.Show(); }
private void salesInvoiceToolStripMenuItem_Click(object sender, EventArgs e) { report = "SalesInvoice"; ViewReports vp = new ViewReports(); vp.Show(); }