| | |
| | | txtHEmpID.Tag = 0; |
| | | txtHEmpName.Text = ""; |
| | | } |
| | | txtHQty.Focus(); |
| | | } |
| | | } |
| | | |
| | |
| | | txtHSourceID.Tag = 0; |
| | | txtHSourceName.Text = ""; |
| | | } |
| | | txtHMouldNum.Focus(); |
| | | } |
| | | } |
| | | |
| | |
| | | // // |
| | | // //Sub_OperStatus(); |
| | | |
| | | txtHQty.Select(); |
| | | if (DBUtility.ClsPub.isStrNull(txtHGroupID.Text) != "") |
| | | { |
| | | DAL.ClsGy_Group_View oGroup = new DAL.ClsGy_Group_View(); |
| | | if (oGroup.GetInfoByNumber(DBUtility.ClsPub.isStrNull(txtHGroupID.Text))) |
| | | { |
| | | txtHGroupID.Text = oGroup.omodel.HNumber; |
| | | txtHGroupID.Tag = oGroup.omodel.HItemID; |
| | | txtHGroupName.Text = oGroup.omodel.HName; |
| | | } |
| | | else |
| | | { |
| | | txtHGroupID.Text = ""; |
| | | txtHGroupID.Tag = 0; |
| | | txtHGroupName.Text = ""; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | txtHGroupID.Text = ""; |
| | | txtHGroupID.Tag = 0; |
| | | txtHGroupName.Text = ""; |
| | | } |
| | | txtHEmpID.Focus(); |
| | | } |
| | | } |
| | | |
| | |
| | | { |
| | | //txtHWasterQty.Select(); |
| | | //cmdOK.Focus(); |
| | | txtHDSQty.Focus(); |
| | | txtHQCCheckID.Focus(); |
| | | } |
| | | } |
| | | private void txtHPieceQty_KeyDown(object sender, KeyEventArgs e) |
| | |
| | | { |
| | | Sub_WriteInForm_SM2(Ds.Tables[0], i); |
| | | } |
| | | txtHPayProcID.Focus(); |
| | | txtHSourceID.Focus(); |
| | | //妿æ¯å¯ä¸ æ ¸ç®å·¥åºå é»è®¤å¸¦åº å¹¶è·³è³ èå |
| | | //if (oProc.GetSubProcInfoByID(DBUtility.ClsPub.isLong(txtHProcID.Tag))) |
| | | //{ |
| | |
| | | txtHQCCheckID.Tag = 0; |
| | | txtHQCCheckName.Text = ""; |
| | | } |
| | | txtHBadCount.Focus(); |
| | | } |
| | | } |
| | | |
| | |
| | | { |
| | | |
| | | } |
| | | |
| | | private void txtHMouldNum_KeyDown(object sender, KeyEventArgs e) |
| | | { |
| | | if (e.KeyCode == Keys.Enter) |
| | | { |
| | | txtHGroupID.Focus(); |
| | | } |
| | | } |
| | | |
| | | private void txtHBadCount_KeyDown(object sender, KeyEventArgs e) |
| | | { |
| | | if (e.KeyCode == Keys.Enter) |
| | | { |
| | | txtHWorkTimes.Focus(); |
| | | } |
| | | } |
| | | |
| | | private void txtHWorkTimes_KeyDown(object sender, KeyEventArgs e) |
| | | { |
| | | if (e.KeyCode == Keys.Enter) |
| | | { |
| | | txtHWasterQty.Focus(); |
| | | } |
| | | } |
| | | } |
| | | } |