예제 #1
0
        private void txtExposure_KeyPress(object sender, KeyPressEventArgs e)
        {
            // 2013.05.15
#if (!_USE_BASLER_PYLON && !_USE_IMAGING_CONTROL)
            /* 2015.10.18
             * if (m_aAcqFifo.AcqFifoTool.Operator != null)
             * {
             *  if (m_aAcqFifo.GetFrameGrabberName().Contains("acA2500"))
             *  {
             *      AUtil.OnlyNumberUInt(ref e);
             *      return;
             *  }
             * }
             */
            AUtil.OnlyNumberUDouble(ref e);
#elif _USE_BASLER_PYLON
            AUtil.OnlyNumberUInt(ref e);
            return;
#endif
        }
예제 #2
0
 private void txtUDoubleKeyPress(object sender, KeyPressEventArgs e)
 {
     AUtil.OnlyNumberUDouble(ref e);
 }