Esempio n. 1
0
        public ResultForm(pBaseEntities ge, fBaseEntities fe)
        {
            InitializeComponent();
            _ge = ge;
            _fe = fe;

            HelpProvider help = new HelpProvider();

            help.HelpNamespace = "Recog_help.chm";
            help.SetHelpNavigator(this, HelpNavigator.Topic);
            help.SetHelpKeyword(this, "result_common.htm");
        }
Esempio n. 2
0
        public AutomatorForm(pBaseEntities ge, fBaseEntities fe)
        {
            InitializeComponent();
            _ge = ge;
            _fe = fe;
            this.FillListRefs();
            HelpProvider help = new HelpProvider();

            help.HelpNamespace = "Recog_help.chm";
            help.SetHelpNavigator(this, HelpNavigator.Topic);
            help.SetHelpKeyword(this, "scan_wizard.htm");
        }
Esempio n. 3
0
        public ReadHumanForm(fBaseEntities fe, int HumanId)
        {
            InitializeComponent();
            _fe      = fe;
            _humanid = HumanId;

            HelpProvider help = new HelpProvider();

            help.HelpNamespace = "Recog_help.chm";
            help.SetHelpNavigator(this, HelpNavigator.Topic);
            help.SetHelpKeyword(this, "result_common.htm#human_read");
        }
Esempio n. 4
0
        public static ITest CreateTest(EnumPTests test, pBaseEntities ge, fBaseEntities fe, bool isAlone)
        {
            ITest _gentest = null;

            switch (test)
            {
            case EnumPTests.KettellC:
                _gentest = new TestKettellC(ge, fe, isAlone);
                break;

            case EnumPTests.PNN:
                _gentest = new TestPnn(ge, fe, isAlone);
                break;

            case EnumPTests.Adaptability:
                _gentest = new TestD(ge, fe, isAlone);
                break;

            case EnumPTests.FPI:
                _gentest = new TestFPI(ge, fe, isAlone);
                break;

            case EnumPTests.KettellA:
                _gentest = new TestKettellA(ge, fe, isAlone);
                break;

            case EnumPTests.Modul2:
                _gentest = new TestMD(ge, fe, isAlone);
                break;

            case EnumPTests.Contrasts:
                _gentest = new TestContrasts(fe);
                break;

            case EnumPTests.Prognoz:
                _gentest = new TestP(ge, fe, isAlone);
                break;

            case EnumPTests.Addictive:
                _gentest = new TestA(ge, fe, isAlone);
                break;

            case EnumPTests.NPNA:
                _gentest = new TestNPN(ge, fe, isAlone);
                break;

            case EnumPTests.Leongard:
                _gentest = new TestL(ge, fe, isAlone);
                break;
            }
            return(_gentest);
        }
Esempio n. 5
0
        public StenForm(int testid, int humanid, pBaseEntities ge, fBaseEntities fe)
        {
            InitializeComponent();
            _ge      = ge;
            _fe      = fe;
            _humanid = humanid;
            _testid  = testid;

            HelpProvider help = new HelpProvider();

            help.HelpNamespace = "Recog_help.chm";
            help.SetHelpNavigator(this, HelpNavigator.Topic);
            help.SetHelpKeyword(this, "test_sten.htm");
        }
Esempio n. 6
0
        public LoadFBForm(pBaseEntities ge, fBaseEntities fe)
        {
            InitializeComponent();
            _ge = ge;
            _fe = fe;
            dp_maxdate.ValueChanged += new EventHandler(dp_maxdate_ValueChanged);
            dp_mindate.ValueChanged += new EventHandler(dp_maxdate_ValueChanged);

            HelpProvider help = new HelpProvider();

            help.HelpNamespace = "Recog_help.chm";
            help.SetHelpNavigator(this, HelpNavigator.Topic);
            help.SetHelpKeyword(this, "menu_excel.htm");
        }
Esempio n. 7
0
        public ATestReport(human human, testresult testresult, pBaseEntities ge, fBaseEntities fe, bool WithResult)
        {
            _testresult = testresult;
            _human      = human;
            _ge         = ge;
            _fe         = fe;
            _withresult = WithResult;
            _listscales = new List <IScale>();

            _listscales.Add(new AScaleP(GetAnswersFromBase(), _ge));
            _listscales.Add(new AScalePR(GetAnswersFromBase(), _ge));
            _listscales.Add(new AScaleR(GetAnswersFromBase(), _ge));
            _listscales.Add(new AScaleS(GetAnswersFromBase(), _ge));
            _listscales.Add(new AScaleSI(GetAnswersFromBase(), _ge));
        }
Esempio n. 8
0
        public NPNTestReport(human human, testresult testresult, pBaseEntities ge, fBaseEntities fe, bool WithResult)
        {
            _testresult = testresult;
            _human      = human;
            _ge         = ge;
            _fe         = fe;
            _withresult = WithResult;
            _listscales = new List <IScale>();

            _listscales.Add(new NPNScaleD(GetAnswersFromBase(), _ge));
            _listscales.Add(new NPNScaleNPN(GetAnswersFromBase(), _ge));
            _listscales.Add(new NPNScaleI(GetAnswersFromBase(), _ge));
            _listscales.Add(new NPNScalePs(GetAnswersFromBase(), _ge));
            _listscales.Add(new NPNScalePp(GetAnswersFromBase(), _ge));
            _listscales.Add(new NPNScalePy(GetAnswersFromBase(), _ge));
            _listscales.Add(new NPNScaleS(GetAnswersFromBase(), _ge));
        }
Esempio n. 9
0
        public void ConnectToBase(fBaseEntities fe)
        {
            _fe = fe;

            if (_fe != null)
            {
                this.cb_gender.DataSource    = _fe.gensers;
                this.cb_gender.DisplayMember = "description";
                this.cb_gender.ValueMember   = "idg";

                this.cb_education.DataSource    = _fe.educations;
                this.cb_education.DisplayMember = "description";
                this.cb_education.ValueMember   = "ide";

                this.RefreshDeps();
            }
        }
Esempio n. 10
0
        public TestResultForm(testresult tstresult, int humanid, pBaseEntities ge, fBaseEntities fe)
        {
            InitializeComponent();
            _ge         = ge;
            _fe         = fe;
            _testresult = tstresult;
            _humanid    = humanid;

            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, "result_character.htm#test_view");
        }
Esempio n. 11
0
        public LTestReport(human human, testresult testresult, pBaseEntities ge, fBaseEntities fe, bool WithResult)
        {
            _testresult = testresult;
            _human      = human;
            _ge         = ge;
            _fe         = fe;
            _withresult = WithResult;
            _listscales = new List <IScale>();

            _listscales.Add(new LScaleG1(GetAnswersFromBase(), _ge));
            _listscales.Add(new LScaleG2(GetAnswersFromBase(), _ge));
            _listscales.Add(new LScaleG3(GetAnswersFromBase(), _ge));
            _listscales.Add(new LScaleG4(GetAnswersFromBase(), _ge));
            _listscales.Add(new LScaleG5(GetAnswersFromBase(), _ge));
            _listscales.Add(new LScaleG6(GetAnswersFromBase(), _ge));
            _listscales.Add(new LScaleG7(GetAnswersFromBase(), _ge));
            _listscales.Add(new LScaleG8(GetAnswersFromBase(), _ge));
            _listscales.Add(new LScaleG9(GetAnswersFromBase(), _ge));
            _listscales.Add(new LScaleG10(GetAnswersFromBase(), _ge));
        }
Esempio n. 12
0
        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");
        }
Esempio n. 13
0
 public FPITestReport(human human, testresult testresult, pBaseEntities ge, fBaseEntities fe, bool WithResult)
 {
     _testresult = testresult;
     _human      = human;
     _ge         = ge;
     _fe         = fe;
     _withresult = WithResult;
     _listscales = new List <IScale>();
     _listscales.Add(new FPIScaleI(this.GetAnswersFromBase(), _ge));
     _listscales.Add(new FPIScaleII(this.GetAnswersFromBase(), _ge));
     _listscales.Add(new FPIScaleIII(this.GetAnswersFromBase(), _ge));
     _listscales.Add(new FPIScaleIV(this.GetAnswersFromBase(), _ge));
     _listscales.Add(new FPIScaleV(this.GetAnswersFromBase(), _ge));
     _listscales.Add(new FPIScaleVI(this.GetAnswersFromBase(), _ge));
     _listscales.Add(new FPIScaleVII(this.GetAnswersFromBase(), _ge));
     _listscales.Add(new FPIScaleVIII(this.GetAnswersFromBase(), _ge));
     _listscales.Add(new FPIScaleIX(this.GetAnswersFromBase(), _ge));
     _listscales.Add(new FPIScaleX(this.GetAnswersFromBase(), _ge));
     _listscales.Add(new FPIScaleXI(this.GetAnswersFromBase(), _ge));
     _listscales.Add(new FPIScaleXII(this.GetAnswersFromBase(), _ge));
 }
Esempio n. 14
0
        public IntegrativeReference(ITestReport KettellC, fBaseEntities fe)
        {
            _fe            = fe;
            _kettellreport = (KettellCTestReport)KettellC;

            _ScaleMD = _kettellreport.ListScales[0];
            _ScaleA  = _kettellreport.ListScales[1];
            _ScaleB  = _kettellreport.ListScales[2];
            _ScaleC  = _kettellreport.ListScales[3];
            _ScaleE  = _kettellreport.ListScales[4];
            _ScaleF  = _kettellreport.ListScales[5];
            _ScaleG  = _kettellreport.ListScales[6];
            _ScaleH  = _kettellreport.ListScales[7];
            _ScaleI  = _kettellreport.ListScales[8];
            _ScaleL  = _kettellreport.ListScales[9];
            _ScaleM  = _kettellreport.ListScales[10];
            _ScaleN  = _kettellreport.ListScales[11];
            _ScaleO  = _kettellreport.ListScales[12];
            _ScaleQ1 = _kettellreport.ListScales[13];
            _ScaleQ2 = _kettellreport.ListScales[14];
            _ScaleQ3 = _kettellreport.ListScales[15];
            _ScaleQ4 = _kettellreport.ListScales[16];
        }
Esempio n. 15
0
 public KettellATestReport(human human, testresult testresult, pBaseEntities ge, fBaseEntities fe, bool WithResult)
 {
     _testresult = testresult;
     _human      = human;
     _ge         = ge;
     _fe         = fe;
     _withresult = WithResult;
     _listscales = new List <IScale>();
     _listscales.Add(new KettellScaleA(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleB(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleC(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleE(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleF(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleG(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleH(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleI(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleL(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleM(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleN(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleO(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleQ1(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleQ2(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleQ3(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
     _listscales.Add(new KettellScaleQ4(this.GetAnswersFromBase(), _ge, EnumKettellType.AForm));
 }
Esempio n. 16
0
 public PoolDoneForm(fBaseEntities fe, int HumanID)
 {
     InitializeComponent();
     _fe      = fe;
     _humanid = HumanID;
 }
Esempio n. 17
0
        public static ITestReport CreateReport(EnumPTests test, human human, testresult testresult, pBaseEntities ge, fBaseEntities fe, bool withresult)
        {
            ITestReport _genreport = null;

            switch (test)
            {
            case EnumPTests.KettellC:
                _genreport = new KettellCTestReport(human, testresult, ge, fe, withresult);
                break;

            case EnumPTests.PNN:
                _genreport = new PNNTestReport(human, testresult, ge, fe);
                break;

            case EnumPTests.Adaptability:
                _genreport = new DTestReport(human, testresult, ge, fe, withresult);
                break;

            case EnumPTests.FPI:
                _genreport = new FPITestReport(human, testresult, ge, fe, withresult);
                break;

            case EnumPTests.KettellA:
                _genreport = new KettellATestReport(human, testresult, ge, fe, withresult);
                break;

            case EnumPTests.Modul2:
                _genreport = new MDTestReport(human, testresult, ge, fe, withresult);
                break;

            case EnumPTests.Contrasts:
                _genreport = new ContrastsTestReport(human, testresult, ge, fe);
                break;

            case EnumPTests.Prognoz:
                _genreport = new PTestReport(human, testresult, ge, fe, withresult);
                break;

            case EnumPTests.Addictive:
                _genreport = new ATestReport(human, testresult, ge, fe, withresult);
                break;

            case EnumPTests.NPNA:
                _genreport = new NPNTestReport(human, testresult, ge, fe, withresult);
                break;

            case EnumPTests.Leongard:
                _genreport = new LTestReport(human, testresult, ge, fe, withresult);
                break;
            }
            return(_genreport);
        }
Esempio n. 18
0
 public ContrastsTestReport(human human, testresult testresult, pBaseEntities ge, fBaseEntities fe)
 {
     _testresult = testresult;
     _human      = human;
     _ge         = ge;
     _fe         = fe;
     _listscales = new List <IScale>();
     _listscales.Add(new ContrastsScale(this.GetAnswersFromBase()));
 }
Esempio n. 19
0
 public TestLoader(fBaseEntities fe)
 {
     _fe   = fe;
     arg   = new TestDoneEventArgs();
     _pool = new TestsPool();
 }