Example #1
0
 void Machine_Validate()
 {
     try
     {
         ObjectModule.Local.Equipment ge = Logic.Transaction.Unload.Equip_Infor(txt_mcID.Text);
         this.txt_locID.Text = ge.LOCID;
         kb.CurrentTextBox   = null;                // txt_lotID;yakun.zhou.2015.5.13
         time_start          = System.DateTime.Now; //Meaning have action
         TextBox_Logic(txt_mcID, txt_lotID);
     }
     catch (Exception ee)
     {
         MessageBox.Show(ee.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }
Example #2
0
 void Machine_Validate()
 {
     try
     {
         if (this.txt_partID.Text.Length == 0)
         {
             MessageBox.Show("Please select the material which you want !!\n请选择你所需要的材料!!", "Message", MessageBoxButton.OK, MessageBoxImage.Asterisk);
             return;
         }
         ObjectModule.Local.Equipment se = Logic.Transaction.Unload.Equip_Infor(this.txt_mcID.Text);
         TextBox_Logic(txt_mcID, txt_remark);
         time_start        = System.DateTime.Now;
         kb.CurrentTextBox = txt_remark;
     }
     catch (Exception ee)
     {
         MessageBox.Show(ee.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }