示例#1
0
文件: RForm.cs 项目: ondister/Recog
        public RForm(int TestID, int HumanID, pBaseEntities ge, fBaseEntities fe)
        {
            InitializeComponent();

            _ge                        = ge;
            _fe                        = fe;
            _testid                    = TestID;
            _humanid                   = HumanID;
            _sm                        = new ScanerManager(_ge, new WinFormsWindowMessageHook(this));
            RemarkToolTip              = new ToolTip();
            RemarkToolTip.ToolTipIcon  = ToolTipIcon.Info;
            RemarkToolTip.ToolTipTitle = "Вопрос:";
            RemarkToolTip.IsBalloon    = true;

            HelpProvider help = new HelpProvider();

            help.HelpNamespace = "Recog_help.chm";
            help.SetHelpNavigator(this, HelpNavigator.Topic);
            help.SetHelpKeyword(this, "test_blank.htm");
        }
示例#2
0
        private void submenu_scanerchange_Click(object sender, EventArgs e)
        {
            ScanerManager sm = new ScanerManager(pGlobalEntities, new TwainDotNet.WinFroms.WinFormsWindowMessageHook(this));

            sm.SelectDevice();
        }