public void NewRecord()
 {
     SubFormGrid.Enabled = false;
     MPOLineNo_txt.Clear();
     MPO_txt.Clear();
     ItemCode_txt.Clear();
     ItemName_txt.Clear();
     Color_txt.Clear();
     SawingIn_txt.Clear();
     SawingOut_txt.Clear();
     PackingOut_txt.Clear();
     OrderQty_txt.Clear();
     Status_txt.Clear();
     cutPrGrpNo_txt.Clear();
     //ProductionNo_txt.Clear();
     LineNo_txt.Clear();
     lbl_G.Text          = "";
     lbl_I.Text          = "";
     lbl_H.Text          = "";
     lbl_J.Text          = "";
     lbl_A.Text          = "";
     lbl_B.Text          = "";
     lbl_C.Text          = "";
     lbl_D.Text          = "";
     lbl_E.Text          = "";
     lbl_F.Text          = "";
     SubFormGrid.Enabled = true;
 }
Exemple #2
0
        private void WaitProgressForm_Load(object sender, EventArgs e)
        {
            sw = new System.Diagnostics.Stopwatch();
            sw.Start();

            this.Invoke(new Action(() => Progress_tmr.Enabled  = true));
            Status_txt.Invoke(new Action(() => Status_txt.Text = displayStatus));
        }
Exemple #3
0
 private void WaitProgressForm_Load(object sender, EventArgs e)
 {
     Status_txt.Invoke(new Action(() => Status_txt.Text = displayStatus));
 }