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"); }
private void submenu_scanerchange_Click(object sender, EventArgs e) { ScanerManager sm = new ScanerManager(pGlobalEntities, new TwainDotNet.WinFroms.WinFormsWindowMessageHook(this)); sm.SelectDevice(); }