Exemple #1
0
 private void textBox8_Click(object sender, EventArgs e)
 {
     using (var listbatch = new ListBatch("('" + cbProduct.SelectedValue.ToString() + "')"))
     {
         var result = listbatch.ShowDialog();
         if (result == DialogResult.OK)
         {
             bnumber            = listbatch.batchNumber;
             tbBatchnumber.Text = listbatch.batchNumber;
         }
     }
 }
 private void textBox6_Click(object sender, EventArgs e)
 {
     using (var listbatch = new ListBatch("('" + cbProduct2.SelectedValue.ToString() + "')"))
     {
         var result = listbatch.ShowDialog();
         if (result == DialogResult.OK)
         {
             bnumber2            = listbatch.batchNumber;
             tbBatchnumber2.Text = listbatch.batchNumber;
             btStart2.Enabled    = true;
             lblQtyBatch2.Text   = db.selectCountPass(bnumber2).ToString();
         }
     }
 }
Exemple #3
0
 private void textBox2_Click(object sender, EventArgs e)
 {
     using (var listbatch = new ListBatch("('" + cbProduct.SelectedValue.ToString() + "')"))
     {
         var result = listbatch.ShowDialog();
         if (result == DialogResult.OK)
         {
             bnumber            = listbatch.batchNumber;
             tbBatchnumber.Text = listbatch.batchNumber;
             tbQty.Enabled      = true;
             tbQty.Focus();
             productmodelid = cbProduct.SelectedValue.ToString();
             generate.getPO(bnumber);
         }
     }
 }
Exemple #4
0
 private void lblCountBiocov_Click(object sender, EventArgs e)
 {
     lbf = new ListBatch("");
     lbf.Show();
 }