示例#1
0
        ////////////////////////////////////////////////////////////////////////
        // Function name   : ViewModel
        // Description     : Constructor
        //                 :
        // Return type     :
        // Argument        : Frontend - Form Class
        ////////////////////////////////////////////////////////////////////////
        public ViewModel( Frontend fe)
        {
            // Get Form class as we need to update when data arrives
            frontend = fe ;

            // create the delegates for the callback functions
             md = new MRZDelegate(MRZCallback);
             id = new ImageDelegate(ImageCallback);

             Status = new DLL_STATUS();
        }
示例#2
0
        ////////////////////////////////////////////////////////////////////////
        // Function name   : ViewModel
        // Description     : Constructor
        //                 :
        // Return type     :
        // Argument        : Frontend - Form Class
        ////////////////////////////////////////////////////////////////////////
        public ViewModel(Frontend fe)
        {
            // Get Form class as we need to update when data arrives
            frontend = fe;

            // create the delegates for the callback functions
            md = new MRZDelegate(MRZCallback);
            id = new ImageDelegate(ImageCallback);

            Status = new DLL_STATUS();
        }
 private static extern Boolean voRegisterMrzCallback(MRZDelegate Callback, [MarshalAs(UnmanagedType.U4)] ref UInt32 Parameter);
 private static extern Boolean voRegisterMrzCallback(MRZDelegate Callback, [MarshalAs(UnmanagedType.U4)] ref UInt32 Parameter);