//////////////////////////////////////////////////////////////////////// // 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(); }
//////////////////////////////////////////////////////////////////////// // 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);