Exemple #1
0
        private void btnGen_Click(object sender, EventArgs e)
        {
            AutoGenBB genBB = new AutoGenBB();

            genBB.AutoGenBBBG();
            txtSoBB.Text       = genBB.SoBBBG;
            pnlControl.Enabled = true;
        }
Exemple #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            AutoGenBB Bien_Ban = new AutoGenBB();

            Bien_Ban.AutoGenBBBG();
            txtSoBB.Text = Bien_Ban.SoBBBG;
            txtReason.ResetText();
        }
Exemple #3
0
        private void btnCreate_Click(object sender, EventArgs e)
        {
            AutoGenBB autoGenBB = new AutoGenBB();

            autoGenBB.AutoGenBBBG();
            txtSoBB.Text = autoGenBB.SoBBBG;

            lblStatus.Text      = "Ready";
            lblStatus.ForeColor = System.Drawing.Color.Yellow;
        }
Exemple #4
0
        private void btnNewBBNo_Click(object sender, EventArgs e)
        {
            //int i = 0;
            AutoGenBB autoGen = new AutoGenBB();

            autoGen.AutoGenBBBG();
            txtSoBB.Text = autoGen.SoBBBG;
            txtReason.ResetText();
            pnlInfo.Enabled    = true;
            btnNewBBNo.Enabled = false;
            txtSoBB.Enabled    = false;
            cbTypeLV2.Enabled  = false;
            //lblSoBB.Text = txtSoBB.Text;
        }
Exemple #5
0
        private void btnCreateSoBB_Click(object sender, EventArgs e)
        {
            if (NewRepair_Beta.SummaryData != null)
            {
                NewRepair_Beta.SummaryData.Clear();
            }

            AutoGenBB autoGen = new AutoGenBB();

            autoGen.AutoGenBBBG();
            txtSoBB.Text = autoGen.SoBBBG;

            lblStatus.ForeColor = System.Drawing.Color.Yellow;
            lblStatus.Text      = "Ready";
        }