Exemple #1
0
 private void cboPattent_Leave(object sender, EventArgs e)
 {
     if (PNInfo.ISNotInSpec("码型", cboPattent.Text.ToString(), 0, 31))
     {
         cboVcc.Focus();
         return;
     }
 }
Exemple #2
0
 private void cboVcc_Leave(object sender, EventArgs e)
 {
     if (PNInfo.ISNotInSpec("电压", cboVcc.Text.ToString(), 0, 12))
     {
         cboVcc.Focus();
         return;
     }
 }
Exemple #3
0
 private void cboTemp_Leave(object sender, EventArgs e)
 {
     if (PNInfo.ISNotInSpec("温度", cboTemp.Text.ToString(), -120, 200))
     {
         cboTemp.Focus();
         return;
     }
 }
Exemple #4
0
 private void cboChannel_Leave(object sender, EventArgs e)
 {
     if (PNInfo.ISNotInSpec("模块通道号", cboChannel.Text.ToString(), 0, 4))
     {
         cboChannel.Focus();
         return;
     }
 }
 private void cboUSBPort_Leave(object sender, EventArgs e)
 {
     try
     {
         if (PNInfo.ISNotInSpec("USB端口号", cboUSBPort.Text.ToString(), 0, 10))
         {
             cboUSBPort.Focus();
             return;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Exemple #6
0
 private void cboDataRecord_Leave(object sender, EventArgs e)    //140604_3
 {
     try
     {
         if (PNInfo.ISNotInSpec("测试结果存档", cboDataRecord.Text.ToString(), 0, 1))
         {
             cboDataRecord.Focus();
             return;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Exemple #7
0
 private void cboFailbreak_Leave(object sender, EventArgs e) //140604_3
 {
     try
     {
         if (PNInfo.ISNotInSpec("超出规格停止", cboFailbreak.Text.ToString(), 0, 1))
         {
             cboFailbreak.Focus();
             return;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }