Ejemplo n.º 1
0
 private void frmPRPDRework_Load(object sender, EventArgs e)
 {
     try
     {
         dtPRPDBatchCollec       = objPRPDBatch_DL.GetDataByState(PRPDBatch.PRPDBatchStatus.Cost, PRPDBatch.PRPDType.Rework);
         cmbPRPDBatch.DataSource = dtPRPDBatchCollec;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message.ToString());
     }
 }
Ejemplo n.º 2
0
        private void frmPRPDBatchTransfer_Preperation_Load(object sender, EventArgs e)
        {
            try
            {
                dtPRPDBatches = objPRPDBatch_DL.GetDataByState(PRPDBatch.PRPDBatchStatus.Cost);
                if (dtPRPDBatches.Rows.Count != 0)
                {
                    objSourcePRPDBatches.DataSource = dtPRPDBatches;
                    cmbPRPDBatch.DataSource         = objSourcePRPDBatches;
                }

                else
                {
                    objSourcePRPDBatches.DataSource = null;
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message.ToString());
            }
        }
Ejemplo n.º 3
0
        private void frmPRPDBatchTransferCAP_Load(object sender, EventArgs e)
        {
            try
            {
                ucProcessedMaterial1.Load_Data(ConnectionStringClass.GetConnection(), txtMaterialCode.Text);

                dtPRPDBatches = objPRPDBatch_DL.GetDataByState(PRPDBatch.PRPDBatchStatus.Cost, PRPDBatch.PRPDType.PrimaryRework);
                if (dtPRPDBatches.Rows.Count != 0)
                {
                    objSourcePRPDBatches.DataSource = dtPRPDBatches;
                    cmbPRPDBatch.DataSource         = objSourcePRPDBatches;
                }

                else
                {
                    objSourcePRPDBatches.DataSource = null;
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message.ToString());
            }
        }