private void frmOrderICRAdquire_Load(object sender, EventArgs e)
        {
            this.imagXpress1 = new PegasusImaging.WinForms.ImagXpress9.ImagXpress(this.components);


            tStrip.Renderer = new Signature.Windows.Forms.WindowsVistaRenderer();

            try
            {
                //***Must call the UnlockRuntime method to unlock the control
                //twainPro1.Licensing.UnlockRuntime(1234, 1234, 1234, 1234);

                twainDevice = new TwainDevice(twainPro1);

                // Set Debug to true to write information to a debug log file
                //twainPro1.Debug = true;
                //twainPro1.ErrorLevel = ErrorLevel.Detailed;

                twainDevice.Scanned += new PegasusImaging.WinForms.TwainPro5.ScannedEventHandler(twainDevice_Scanned);
            }
            catch (PegasusImaging.WinForms.TwainPro5.TwainProException ex)
            {
                MessageBox.Show(ex.Message);
            }
            catch (System.Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
        }  //Constructor

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }
                if (twainDevice != null)
                {
                    twainDevice.Dispose();
                    twainDevice = null;
                }
            }
            base.Dispose(disposing);
        }