Ejemplo n.º 1
0
 // constructor
 public managementGUI(eyeMusic2 myEyeMusic, wavCreator myWavCreator, eyeMusicStatistics2 statisticsObj, eyeMusicModel model)
 {
     _myEyeMusic      = myEyeMusic;
     _myWavCreator    = myWavCreator;
     _myStatisticsObj = statisticsObj;
     _model           = model;
 }
Ejemplo n.º 2
0
 //constructor
 public ZoomScreen(eyeMusic2 myEyeMusic, managementGUI myManager, wavCreator myWavCreator)
 {
     _myEyeMusic   = myEyeMusic;
     _myManager    = myManager;
     _myWavCreator = myWavCreator;
     _position     = new Point();
     //this.FormClosing += form_Closing;
     //this.KeyDown += new System.Windows.Forms.KeyEventHandler(_myEyeMusic.eyeMusic_KeyDown);
 }
Ejemplo n.º 3
0
        // constructor
        public eyeMusic2(string mapFile, eyeMusicModel eyeMusicModel)
        {
            heb              = new eyemusic45.Business.languages(mapFile, false);
            model            = eyeMusicModel;
            _mapFile         = mapFile;
            _myStatisticsObj = new eyeMusicStatistics2(this);
            _myWavCreator    = new wavCreator(this, _myStatisticsObj, mapFile);
            _myManager       = new managementGUI(this, _myWavCreator, _myStatisticsObj, model);
            _myZoomScreen    = new ZoomScreen(this, _myManager, _myWavCreator);

            _letterFolder = "\\HebrewLettersExperiment\\02-Bold font\\";
            _myVolume     = Loud;
            _answer       = "";
            createDirectories();
            model.theUri = "/EM/Out/Out.wav";

            MyInputType = InputType.Training;
            _myManager.startSession();
        }