Beispiel #1
0
        private void btnStockMovement_Click(object sender, EventArgs e)
        {
            string CodeNo = "";

            if (radGridView1.Rows.Count > 0)
            {
                CodeNo = StockControl.dbClss.TSt(radGridView1.CurrentRow.Cells["InternalNo"].Value);
            }

            PrintPR a = new PrintPR(CodeNo, CodeNo, "ReportStockMovement");

            a.ShowDialog();
        }
 private void btnPrint_Click(object sender, EventArgs e)
 {
     try
     {
         string SHNo = "";
         if (dgvData.Rows.Count > 0)
         {
             SHNo = StockControl.dbClss.TSt(dgvData.CurrentRow.Cells["ShippingNo"].Value);
         }
         PrintPR a = new PrintPR(SHNo, SHNo, "Shipping");
         a.ShowDialog();
     }
     catch { }
 }
Beispiel #3
0
        private void radButtonElement2_Click(object sender, EventArgs e)
        {
            try
            {
                string PRNo = "";
                if (radGridView1.Rows.Count > 0)
                {
                    PRNo = StockControl.dbClss.TSt(radGridView1.CurrentRow.Cells["PRNo"].Value);
                }

                PrintPR a = new PrintPR(PRNo, PRNo, "PR");
                a.ShowDialog();
            }
            catch { }
        }
Beispiel #4
0
        private void btnPrint_Click(object sender, EventArgs e)
        {
            try
            {
                string JobCard = "";
                if (dgvData.Rows.Count > 0)
                {
                    JobCard = StockControl.dbClss.TSt(dgvData.CurrentRow.Cells["JobCard"].Value);
                }

                PrintPR a = new PrintPR(JobCard, JobCard, "JobCard");
                a.ShowDialog();
            }
            catch { }
        }
Beispiel #5
0
        private void btnExportExcel_Click(object sender, EventArgs e)
        {
            string RCNo = "";

            if (dgvData.Rows.Count > 0)
            {
                RCNo = StockControl.dbClss.TSt(dgvData.CurrentRow.Cells["RCNo"].Value);
            }

            //dt_ShelfTag.Rows.Clear();


            PrintPR a = new PrintPR(RCNo, RCNo, "ReceiveMonth");

            a.ShowDialog();
        }
 private void btnPrint_Click(object sender, EventArgs e)
 {
     try
     {
         string CodeNo = "";
         string MM     = "";
         string YYYY   = "";
         if (dgvData.Rows.Count > 0)
         {
             CodeNo = StockControl.dbClss.TSt(dgvData.CurrentRow.Cells["CodeNo"].Value);
             MM     = StockControl.dbClss.TSt(dgvData.CurrentRow.Cells["MM"].Value);
             YYYY   = StockControl.dbClss.TSt(dgvData.CurrentRow.Cells["YYYY"].Value);
         }
         PrintPR a = new PrintPR(CodeNo, CodeNo, "ShippingAVG");
         a.ShowDialog();
     }
     catch { }
 }
        private void btnPrint_Click(object sender, EventArgs e)
        {
            try
            {
                string SHNo = "";
                if (dgvData.Rows.Count > 0)
                {
                    SHNo = StockControl.dbClss.TSt(dgvData.CurrentRow.Cells["ShippingNo"].Value);
                }

                //if (TypeShip == "ShipFGAccident")
                //{
                //    PrintPR a = new PrintPR(SHNo, SHNo, "ReportAccidentSlip");
                //    a.ShowDialog();
                //}
                //else
                {
                    PrintPR a = new PrintPR(SHNo, SHNo, "Shipping");
                    a.ShowDialog();
                }
            }
            catch { }
        }
        private void radButtonElement1_Click(object sender, EventArgs e)
        {
            PrintPR a = new PrintPR("", "", "ShippingToDay");

            a.ShowDialog();
        }
Beispiel #9
0
        private void btnExcel_Click(object sender, EventArgs e)
        {
            PrintPR a = new PrintPR(txtPackingNo.Text, txtPackingNo.Text, "ReceiveMonth");

            a.ShowDialog();
        }