//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.2032
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

[assembly: System.Reflection.AssemblyVersion("1.0.0.0")]
[assembly: System.Windows.Forms.AxHost.TypeLibraryTimeStamp("2/21/2006 10:43:26 AM")]

namespace AxCM_SCANCTRLLib {
    
    
    [System.Windows.Forms.AxHost.ClsidAttribute("{28e26663-8b00-4b33-82ff-f989f8accc21}")]
    [System.ComponentModel.DesignTimeVisibleAttribute(true)]
    [System.ComponentModel.DefaultEvent("DetectedFingerprints")]
    public class AxScanCtrl : System.Windows.Forms.AxHost {
        
        private CM_SCANCTRLLib.IScanCtrl ocx;
        
        private AxScanCtrlEventMulticaster eventMulticaster;
        
        private System.Windows.Forms.AxHost.ConnectionPointCookie cookie;
        
        public AxScanCtrl() : 
                base("28e26663-8b00-4b33-82ff-f989f8accc21") {
        }
        
        [System.ComponentModel.Browsable(true)]
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(-514)]
        public override bool Enabled {
            get {
                if (((this.ocx != null) 
                            && (this.PropsValid() == true))) {
                    return this.ocx.Enabled;
                }
                else {
                    return base.Enabled;
                }
            }
            set {
                base.Enabled = value;
                if ((this.ocx != null)) {
                    this.ocx.Enabled = value;
                }
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(1)]
        public virtual string ModuleVersion {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ModuleVersion", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.ModuleVersion;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(2)]
        public virtual string ModuleName {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ModuleName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.ModuleName;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(5)]
        public virtual int IsScannerOpen {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("IsScannerOpen", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.IsScannerOpen;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(9)]
        public virtual int IsInitialized {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("IsInitialized", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.IsInitialized;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(10)]
        public virtual int FullImageWidth {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FullImageWidth", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.FullImageWidth;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(11)]
        public virtual int FullImageHeight {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FullImageHeight", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.FullImageHeight;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(13)]
        public virtual CM_SCANCTRLLib.HAND_INDICATOR ScannedHand {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ScannedHand", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.ScannedHand;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(14)]
        public virtual CM_SCANCTRLLib.IMAGE_HANDLING_MODE ImageHandlingMode {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ImageHandlingMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.ImageHandlingMode;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ImageHandlingMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.ImageHandlingMode = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(20)]
        public virtual CM_SCANCTRLLib.BOOL_EXT AutomatedHandDetection {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AutomatedHandDetection", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.AutomatedHandDetection;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AutomatedHandDetection", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.AutomatedHandDetection = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(21)]
        public virtual CM_SCANCTRLLib.BOOL_EXT FingerprintRotation {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FingerprintRotation", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.FingerprintRotation;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FingerprintRotation", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.FingerprintRotation = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(22)]
        public virtual int Illumination {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Illumination", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.Illumination;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Illumination", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.Illumination = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(23)]
        public virtual CM_SCANCTRLLib.BOOL_EXT SequenceCheck {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SequenceCheck", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.SequenceCheck;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SequenceCheck", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.SequenceCheck = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(25)]
        public virtual int Brightness {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Brightness", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.Brightness;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Brightness", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.Brightness = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(26)]
        public virtual int Contrast {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Contrast", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.Contrast;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Contrast", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.Contrast = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(29)]
        public virtual CM_SCANCTRLLib.BOOL_EXT EnableOffLineQualityCheck {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("EnableOffLineQualityCheck", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.EnableOffLineQualityCheck;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("EnableOffLineQualityCheck", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.EnableOffLineQualityCheck = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(30)]
        public virtual CM_SCANCTRLLib.QUALITY_CHECK_MODE QualityCheckMode {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("QualityCheckMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.QualityCheckMode;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("QualityCheckMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.QualityCheckMode = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(31)]
        public virtual CM_SCANCTRLLib.BOOL_EXT EnableOnLineQualityCheck {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("EnableOnLineQualityCheck", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.EnableOnLineQualityCheck;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("EnableOnLineQualityCheck", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.EnableOnLineQualityCheck = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(32)]
        public virtual CM_SCANCTRLLib.BOOL_EXT AutoFingerprintDetection {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AutoFingerprintDetection", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.AutoFingerprintDetection;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AutoFingerprintDetection", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.AutoFingerprintDetection = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(33)]
        public virtual int PadCleanness {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PadCleanness", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.PadCleanness;
            }
        }
        
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(36)]
        public virtual CM_SCANCTRLLib.IScanCtrlExt ScanCtrlExt_Interface {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ScanCtrlExt_Interface", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.ScanCtrlExt_Interface;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(37)]
        public virtual CM_SCANCTRLLib.IMAGE_RESOLUTION_MODE ImageResolutionMode {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ImageResolutionMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.ImageResolutionMode;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ImageResolutionMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.ImageResolutionMode = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(39)]
        public virtual int Is1000DPI_Ready {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Is1000DPI_Ready", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.Is1000DPI_Ready;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(40)]
        public virtual string CurrentScanner {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CurrentScanner", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.CurrentScanner;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CurrentScanner", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.CurrentScanner = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(47)]
        public virtual CM_SCANCTRLLib.BOOL_EXT IsImageEmpty {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("IsImageEmpty", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.IsImageEmpty;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(48)]
        public virtual int IsScannerCalibrated {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("IsScannerCalibrated", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.IsScannerCalibrated;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(49)]
        public virtual int SupportedScannersCount {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SupportedScannersCount", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.SupportedScannersCount;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(50)]
        public virtual int DetectedScannersCount {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("DetectedScannersCount", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.DetectedScannersCount;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(51)]
        public virtual int ONlineQualityCheckMode {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ONlineQualityCheckMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.ONlineQualityCheckMode;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ONlineQualityCheckMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.ONlineQualityCheckMode = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(52)]
        public virtual CM_SCANCTRLLib.SEQUENCE_CONTROL_MODE SequenceControlMode {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SequenceControlMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.SequenceControlMode;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SequenceControlMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.SequenceControlMode = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(53)]
        public virtual string CurrentFolder {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CurrentFolder", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.CurrentFolder;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CurrentFolder", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.CurrentFolder = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(54)]
        public virtual string CurrentLogFileName {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CurrentLogFileName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.CurrentLogFileName;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CurrentLogFileName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.CurrentLogFileName = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(55)]
        public virtual int SupportedImageHandlingModes {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SupportedImageHandlingModes", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.SupportedImageHandlingModes;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(56)]
        public virtual CM_SCANCTRLLib.FINGER_INDICATOR_EX NextFingerToScan {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("NextFingerToScan", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.NextFingerToScan;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("NextFingerToScan", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.NextFingerToScan = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(57)]
        public virtual string ScannerSerialNo {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ScannerSerialNo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.ScannerSerialNo;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(62)]
        public virtual CM_SCANCTRLLib.BOOL_EXT EnableBabyFingers {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("EnableBabyFingers", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.EnableBabyFingers;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("EnableBabyFingers", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.EnableBabyFingers = value;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(63)]
        public virtual object FullImage {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FullImage", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.FullImage;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(66)]
        public virtual string PropertiesXML {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PropertiesXML", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.PropertiesXML;
            }
            set {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PropertiesXML", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
                }
                this.ocx.PropertiesXML = value;
            }
        }
        
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(68)]
        public virtual CM_SCANCTRLLib.IScanCtrl_Fingers ScanCtrl_FingersInterface {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ScanCtrl_FingersInterface", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.ScanCtrl_FingersInterface;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(70)]
        public virtual string SystemSerialNo {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SystemSerialNo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.SystemSerialNo;
            }
        }
        
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(71)]
        public virtual CM_SCANCTRLLib.IScanCtrl_2500 ScanCtrl_2500Interface {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ScanCtrl_2500Interface", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.ScanCtrl_2500Interface;
            }
        }
        
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        [System.Runtime.InteropServices.DispIdAttribute(73)]
        public virtual string OfficialScannerName {
            get {
                if ((this.ocx == null)) {
                    throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("OfficialScannerName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
                }
                return this.ocx.OfficialScannerName;
            }
        }
        
        public event _IScanCtrlEvents_RollProgressEventHandler RollProgress;
        
        public event _IScanCtrlEvents_PrintQualityChangedEventHandler PrintQualityChanged;
        
        public event _IScanCtrlEvents_BitmapReadyForDisplayEventHandler BitmapReadyForDisplay;
        
        public event _IScanCtrlEvents_ProcessingFinishedEventHandler ProcessingFinished;
        
        public event _IScanCtrlEvents_RemoveFingersFromPrismEventHandler RemoveFingersFromPrism;
        
        public event System.EventHandler NoActivityTimeout;
        
        public event _IScanCtrlEvents_DeviceMsgEventHandler DeviceMsg;
        
        public event _IScanCtrlEvents_CalibrationMsgEventHandler CalibrationMsg;
        
        public event System.EventHandler ScannerDisconnected;
        
        public event System.EventHandler ScannerConnected;
        
        public event _IScanCtrlEvents_DetectedFingerprintsEventHandler DetectedFingerprints;
        
        public virtual void TriggerCapture(int bGenerateBeep, ref CM_SCANCTRLLib.FINGERPRINT_DETECTION_STATUS status) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("TriggerCapture", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.TriggerCapture(bGenerateBeep, ref status);
        }
        
        public virtual void FetchFingerPrintN(CM_SCANCTRLLib.FINGER_INDICATOR_EX fetchFinger, CM_SCANCTRLLib.FINGER_INDICATOR_EX missingFingers, out object pFingerprintData, out int width, out int height, out CM_SCANCTRLLib.SLAP_PROCESSING_RESULTS pResult, out int qualityScore) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FetchFingerPrintN", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.FetchFingerPrintN(fetchFinger, missingFingers, out pFingerprintData, out width, out height, out pResult, out qualityScore);
        }
        
        public virtual void PrintLocation(CM_SCANCTRLLib.FINGER_INDICATOR_EX fetchFinger, ref int pLeft, ref int pTop, ref int pRight, ref int pBottom) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PrintLocation", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.PrintLocation(fetchFinger, ref pLeft, ref pTop, ref pRight, ref pBottom);
        }
        
        public virtual void PrintQualityInfo(CM_SCANCTRLLib.FINGER_INDICATOR_EX fingerInd, out CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS printQuality, ref int pScore) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PrintQualityInfo", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.PrintQualityInfo(fingerInd, out printQuality, ref pScore);
        }
        
        public virtual void Log(string message, string facility) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Log", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.Log(message, facility);
        }
        
        public virtual void ShowPropertiesDlg(ref CM_SCANCTRLLib.BOOL_EXT __MIDL_0010) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowPropertiesDlg", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.ShowPropertiesDlg(ref __MIDL_0010);
        }
        
        public virtual void InitializeCalData() {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("InitializeCalData", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.InitializeCalData();
        }
        
        public virtual void RunSequenceCheck(CM_SCANCTRLLib.FINGER_INDICATOR_EX fingerInd, ref object pFingerprintData, out int pResult) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RunSequenceCheck", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.RunSequenceCheck(fingerInd, ref pFingerprintData, out pResult);
        }
        
        public virtual void QualityCheck(CM_SCANCTRLLib.FINGER_INDICATOR_EX fetchFinger, ref object pFingerprintData, out int pQuality) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("QualityCheck", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.QualityCheck(fetchFinger, ref pFingerprintData, out pQuality);
        }
        
        public virtual void WriteDevice(string strDeviceName, int address, object pData) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("WriteDevice", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.WriteDevice(strDeviceName, address, pData);
        }
        
        public virtual void ReadDevice(string strDeviceName, int address, int length, out object pData) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ReadDevice", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.ReadDevice(strDeviceName, address, length, out pData);
        }
        
        public virtual string get_DetectedScannerName(int index) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("get_DetectedScannerName", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            return this.ocx.get_DetectedScannerName(index);
        }
        
        public virtual string get_SupportedScannerName(int index) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("get_SupportedScannerName", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            return this.ocx.get_SupportedScannerName(index);
        }
        
        public virtual void SaveFullImageToFile(string strFullFileName) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SaveFullImageToFile", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.SaveFullImageToFile(strFullFileName);
        }
        
        public virtual void SaveFingerprintToFile(string strFullFileName, ref object pFingerprintData) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SaveFingerprintToFile", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.SaveFingerprintToFile(strFullFileName, ref pFingerprintData);
        }
        
        public virtual void WriteProperty(string propertyName, string textValue, int nNumber) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("WriteProperty", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.WriteProperty(propertyName, textValue, nNumber);
        }
        
        public virtual void ReadProperty(string propertyName, ref string pTextValue, ref int pNumber) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ReadProperty", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.ReadProperty(propertyName, ref pTextValue, ref pNumber);
        }
        
        public virtual void FetchFingerPrint_1000DPI(CM_SCANCTRLLib.FINGER_INDICATOR_EX fetchFinger, CM_SCANCTRLLib.FINGER_INDICATOR_EX missingFingers, out object pFingerprintData, out CM_SCANCTRLLib.SLAP_PROCESSING_RESULTS pResult, out int qualityScore) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FetchFingerPrint_1000DPI", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.FetchFingerPrint_1000DPI(fetchFinger, missingFingers, out pFingerprintData, out pResult, out qualityScore);
        }
        
        public virtual void set_RequestedPrintHeight(CM_SCANCTRLLib.PRINT_INDICATOR selectedImage, int pVal) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("set_RequestedPrintHeight", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.set_RequestedPrintHeight(selectedImage, pVal);
        }
        
        public virtual int get_RequestedPrintHeight(CM_SCANCTRLLib.PRINT_INDICATOR selectedImage) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("get_RequestedPrintHeight", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            return this.ocx.get_RequestedPrintHeight(selectedImage);
        }
        
        public virtual void set_RequestedPrintWidth(CM_SCANCTRLLib.PRINT_INDICATOR selectedImage, int pVal) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("set_RequestedPrintWidth", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.set_RequestedPrintWidth(selectedImage, pVal);
        }
        
        public virtual int get_RequestedPrintWidth(CM_SCANCTRLLib.PRINT_INDICATOR selectedImage) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("get_RequestedPrintWidth", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            return this.ocx.get_RequestedPrintWidth(selectedImage);
        }
        
        public virtual void ChangePrintImageSize(ref object pvaInputImage, int nRequestedWidth, int nRequestedHeight, out object pOutputImage) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ChangePrintImageSize", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.ChangePrintImageSize(ref pvaInputImage, nRequestedWidth, nRequestedHeight, out pOutputImage);
        }
        
        public virtual void PresetMinutiaeData(ref object pFingerprintData, CM_SCANCTRLLib.FINGER_INDICATOR_EX whatFinger, CM_SCANCTRLLib.FINGER_INDICATOR_EX missingFingers, out CM_SCANCTRLLib.SLAP_PROCESSING_RESULTS pResults) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PresetMinutiaeData", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.PresetMinutiaeData(ref pFingerprintData, whatFinger, missingFingers, out pResults);
        }
        
        public virtual void StartSequenceSession() {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("StartSequenceSession", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.StartSequenceSession();
        }
        
        public virtual void CancelCalibration() {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CancelCalibration", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.CancelCalibration();
        }
        
        public virtual void Calibrate(CM_SCANCTRLLib.CALIBRATION_MODE calMode, out int pStatus1, out int pStatus2) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Calibrate", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.Calibrate(calMode, out pStatus1, out pStatus2);
        }
        
        public virtual void ReleaseMemory() {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ReleaseMemory", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.ReleaseMemory();
        }
        
        public virtual void FetchFingerPrint(CM_SCANCTRLLib.FINGER_INDICATOR_EX fetchFinger, CM_SCANCTRLLib.FINGER_INDICATOR_EX missingFingers, out object pFingerprintData, out CM_SCANCTRLLib.SLAP_PROCESSING_RESULTS pResult, out int qualityScore) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FetchFingerPrint", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.FetchFingerPrint(fetchFinger, missingFingers, out pFingerprintData, out pResult, out qualityScore);
        }
        
        public virtual void ClearImage() {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ClearImage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.ClearImage();
        }
        
        public virtual void set_LiveMode(int bGenerateBeep, CM_SCANCTRLLib.LIVE_MODE pVal) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("set_LiveMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.set_LiveMode(bGenerateBeep, pVal);
        }
        
        public virtual CM_SCANCTRLLib.LIVE_MODE get_LiveMode(int bGenerateBeep) {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("get_LiveMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            return this.ocx.get_LiveMode(bGenerateBeep);
        }
        
        public virtual void UninitializeLocal() {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UninitializeLocal", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.UninitializeLocal();
        }
        
        public virtual void Uninitialize() {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Uninitialize", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.Uninitialize();
        }
        
        public virtual void Initialize() {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Initialize", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.Initialize();
        }
        
        public virtual void CloseScanner() {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CloseScanner", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.CloseScanner();
        }
        
        public virtual void OpenScanner() {
            if ((this.ocx == null)) {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("OpenScanner", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            this.ocx.OpenScanner();
        }
        
        protected override void CreateSink() {
            try {
                this.eventMulticaster = new AxScanCtrlEventMulticaster(this);
                this.cookie = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(CM_SCANCTRLLib._IScanCtrlEvents));
            }
            catch (System.Exception ) {
            }
        }
        
        protected override void DetachSink() {
            try {
                this.cookie.Disconnect();
            }
            catch (System.Exception ) {
            }
        }
        
        protected override void AttachInterfaces() {
            try {
                this.ocx = ((CM_SCANCTRLLib.IScanCtrl)(this.GetOcx()));
            }
            catch (System.Exception ) {
            }
        }
        
        internal void RaiseOnRollProgress(object sender, _IScanCtrlEvents_RollProgressEvent e) {
            if ((this.RollProgress != null)) {
                this.RollProgress(sender, e);
            }
        }
        
        internal void RaiseOnPrintQualityChanged(object sender, _IScanCtrlEvents_PrintQualityChangedEvent e) {
            if ((this.PrintQualityChanged != null)) {
                this.PrintQualityChanged(sender, e);
            }
        }
        
        internal void RaiseOnBitmapReadyForDisplay(object sender, _IScanCtrlEvents_BitmapReadyForDisplayEvent e) {
            if ((this.BitmapReadyForDisplay != null)) {
                this.BitmapReadyForDisplay(sender, e);
            }
        }
        
        internal void RaiseOnProcessingFinished(object sender, _IScanCtrlEvents_ProcessingFinishedEvent e) {
            if ((this.ProcessingFinished != null)) {
                this.ProcessingFinished(sender, e);
            }
        }
        
        internal void RaiseOnRemoveFingersFromPrism(object sender, _IScanCtrlEvents_RemoveFingersFromPrismEvent e) {
            if ((this.RemoveFingersFromPrism != null)) {
                this.RemoveFingersFromPrism(sender, e);
            }
        }
        
        internal void RaiseOnNoActivityTimeout(object sender, System.EventArgs e) {
            if ((this.NoActivityTimeout != null)) {
                this.NoActivityTimeout(sender, e);
            }
        }
        
        internal void RaiseOnDeviceMsg(object sender, _IScanCtrlEvents_DeviceMsgEvent e) {
            if ((this.DeviceMsg != null)) {
                this.DeviceMsg(sender, e);
            }
        }
        
        internal void RaiseOnCalibrationMsg(object sender, _IScanCtrlEvents_CalibrationMsgEvent e) {
            if ((this.CalibrationMsg != null)) {
                this.CalibrationMsg(sender, e);
            }
        }
        
        internal void RaiseOnScannerDisconnected(object sender, System.EventArgs e) {
            if ((this.ScannerDisconnected != null)) {
                this.ScannerDisconnected(sender, e);
            }
        }
        
        internal void RaiseOnScannerConnected(object sender, System.EventArgs e) {
            if ((this.ScannerConnected != null)) {
                this.ScannerConnected(sender, e);
            }
        }
        
        internal void RaiseOnDetectedFingerprints(object sender, _IScanCtrlEvents_DetectedFingerprintsEvent e) {
            if ((this.DetectedFingerprints != null)) {
                this.DetectedFingerprints(sender, e);
            }
        }
    }
    
    public delegate void _IScanCtrlEvents_RollProgressEventHandler(object sender, _IScanCtrlEvents_RollProgressEvent e);
    
    public class _IScanCtrlEvents_RollProgressEvent {
        
        public int iProgressValue;
        
        public _IScanCtrlEvents_RollProgressEvent(int iProgressValue) {
            this.iProgressValue = iProgressValue;
        }
    }
    
    public delegate void _IScanCtrlEvents_PrintQualityChangedEventHandler(object sender, _IScanCtrlEvents_PrintQualityChangedEvent e);
    
    public class _IScanCtrlEvents_PrintQualityChangedEvent {
        
        public CM_SCANCTRLLib.FINGER_INDICATOR_EX scannedFinger;
        
        public CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS print1;
        
        public CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS print2;
        
        public CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS print3;
        
        public CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS print4;
        
        public _IScanCtrlEvents_PrintQualityChangedEvent(CM_SCANCTRLLib.FINGER_INDICATOR_EX scannedFinger, CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS print1, CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS print2, CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS print3, CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS print4) {
            this.scannedFinger = scannedFinger;
            this.print1 = print1;
            this.print2 = print2;
            this.print3 = print3;
            this.print4 = print4;
        }
    }
    
    public delegate void _IScanCtrlEvents_BitmapReadyForDisplayEventHandler(object sender, _IScanCtrlEvents_BitmapReadyForDisplayEvent e);
    
    public class _IScanCtrlEvents_BitmapReadyForDisplayEvent {
        
        public int nRequestedMinBufferSize;
        
        public _IScanCtrlEvents_BitmapReadyForDisplayEvent(int nRequestedMinBufferSize) {
            this.nRequestedMinBufferSize = nRequestedMinBufferSize;
        }
    }
    
    public delegate void _IScanCtrlEvents_ProcessingFinishedEventHandler(object sender, _IScanCtrlEvents_ProcessingFinishedEvent e);
    
    public class _IScanCtrlEvents_ProcessingFinishedEvent {
        
        public int nStatus;
        
        public _IScanCtrlEvents_ProcessingFinishedEvent(int nStatus) {
            this.nStatus = nStatus;
        }
    }
    
    public delegate void _IScanCtrlEvents_RemoveFingersFromPrismEventHandler(object sender, _IScanCtrlEvents_RemoveFingersFromPrismEvent e);
    
    public class _IScanCtrlEvents_RemoveFingersFromPrismEvent {
        
        public int nParam;
        
        public _IScanCtrlEvents_RemoveFingersFromPrismEvent(int nParam) {
            this.nParam = nParam;
        }
    }
    
    public delegate void _IScanCtrlEvents_DeviceMsgEventHandler(object sender, _IScanCtrlEvents_DeviceMsgEvent e);
    
    public class _IScanCtrlEvents_DeviceMsgEvent {
        
        public int nMessageID;
        
        public string bstrMessageName;
        
        public int lData;
        
        public object varData;
        
        public _IScanCtrlEvents_DeviceMsgEvent(int nMessageID, string bstrMessageName, int lData, object varData) {
            this.nMessageID = nMessageID;
            this.bstrMessageName = bstrMessageName;
            this.lData = lData;
            this.varData = varData;
        }
    }
    
    public delegate void _IScanCtrlEvents_CalibrationMsgEventHandler(object sender, _IScanCtrlEvents_CalibrationMsgEvent e);
    
    public class _IScanCtrlEvents_CalibrationMsgEvent {
        
        public string bstrMessage;
        
        public int nCalProgress;
        
        public _IScanCtrlEvents_CalibrationMsgEvent(string bstrMessage, int nCalProgress) {
            this.bstrMessage = bstrMessage;
            this.nCalProgress = nCalProgress;
        }
    }
    
    public delegate void _IScanCtrlEvents_DetectedFingerprintsEventHandler(object sender, _IScanCtrlEvents_DetectedFingerprintsEvent e);
    
    public class _IScanCtrlEvents_DetectedFingerprintsEvent {
        
        public CM_SCANCTRLLib.FINGERPRINT_DETECTION_STATUS nParam;
        
        public _IScanCtrlEvents_DetectedFingerprintsEvent(CM_SCANCTRLLib.FINGERPRINT_DETECTION_STATUS nParam) {
            this.nParam = nParam;
        }
    }
    
    public class AxScanCtrlEventMulticaster : CM_SCANCTRLLib._IScanCtrlEvents {
        
        private AxScanCtrl parent;
        
        public AxScanCtrlEventMulticaster(AxScanCtrl parent) {
            this.parent = parent;
        }
        
        public virtual void RollProgress(int iProgressValue) {
            _IScanCtrlEvents_RollProgressEvent rollprogressEvent = new _IScanCtrlEvents_RollProgressEvent(iProgressValue);
            this.parent.RaiseOnRollProgress(this.parent, rollprogressEvent);
        }
        
        public virtual void PrintQualityChanged(CM_SCANCTRLLib.FINGER_INDICATOR_EX scannedFinger, CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS print1, CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS print2, CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS print3, CM_SCANCTRLLib.FINGERPRINT_QUALITY_FLAGS print4) {
            _IScanCtrlEvents_PrintQualityChangedEvent printqualitychangedEvent = new _IScanCtrlEvents_PrintQualityChangedEvent(scannedFinger, print1, print2, print3, print4);
            this.parent.RaiseOnPrintQualityChanged(this.parent, printqualitychangedEvent);
        }
        
        public virtual void BitmapReadyForDisplay(int nRequestedMinBufferSize) {
            _IScanCtrlEvents_BitmapReadyForDisplayEvent bitmapreadyfordisplayEvent = new _IScanCtrlEvents_BitmapReadyForDisplayEvent(nRequestedMinBufferSize);
            this.parent.RaiseOnBitmapReadyForDisplay(this.parent, bitmapreadyfordisplayEvent);
        }
        
        public virtual void ProcessingFinished(int nStatus) {
            _IScanCtrlEvents_ProcessingFinishedEvent processingfinishedEvent = new _IScanCtrlEvents_ProcessingFinishedEvent(nStatus);
            this.parent.RaiseOnProcessingFinished(this.parent, processingfinishedEvent);
        }
        
        public virtual void RemoveFingersFromPrism(int nParam) {
            _IScanCtrlEvents_RemoveFingersFromPrismEvent removefingersfromprismEvent = new _IScanCtrlEvents_RemoveFingersFromPrismEvent(nParam);
            this.parent.RaiseOnRemoveFingersFromPrism(this.parent, removefingersfromprismEvent);
        }
        
        public virtual void NoActivityTimeout() {
            System.EventArgs noactivitytimeoutEvent = new System.EventArgs();
            this.parent.RaiseOnNoActivityTimeout(this.parent, noactivitytimeoutEvent);
        }
        
        public virtual void DeviceMsg(int nMessageID, string bstrMessageName, int lData, object varData) {
            _IScanCtrlEvents_DeviceMsgEvent devicemsgEvent = new _IScanCtrlEvents_DeviceMsgEvent(nMessageID, bstrMessageName, lData, varData);
            this.parent.RaiseOnDeviceMsg(this.parent, devicemsgEvent);
        }
        
        public virtual void CalibrationMsg(string bstrMessage, int nCalProgress) {
            _IScanCtrlEvents_CalibrationMsgEvent calibrationmsgEvent = new _IScanCtrlEvents_CalibrationMsgEvent(bstrMessage, nCalProgress);
            this.parent.RaiseOnCalibrationMsg(this.parent, calibrationmsgEvent);
        }
        
        public virtual void ScannerDisconnected() {
            System.EventArgs scannerdisconnectedEvent = new System.EventArgs();
            this.parent.RaiseOnScannerDisconnected(this.parent, scannerdisconnectedEvent);
        }
        
        public virtual void ScannerConnected() {
            System.EventArgs scannerconnectedEvent = new System.EventArgs();
            this.parent.RaiseOnScannerConnected(this.parent, scannerconnectedEvent);
        }
        
        public virtual void DetectedFingerprints(CM_SCANCTRLLib.FINGERPRINT_DETECTION_STATUS nParam) {
            _IScanCtrlEvents_DetectedFingerprintsEvent detectedfingerprintsEvent = new _IScanCtrlEvents_DetectedFingerprintsEvent(nParam);
            this.parent.RaiseOnDetectedFingerprints(this.parent, detectedfingerprintsEvent);
        }
    }
}
