private void backBtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            ReadPhaseForm read = new ReadPhaseForm();

            read.setColorBlind(isColorBlind);
            read.ShowDialog();
        }
示例#2
0
        //Calls the ReadPhaseForm
        private void callReadPhaseForm(bool colorSetting)
        {
            this.Hide();
            ReadPhaseForm read = new ReadPhaseForm();

            read.setColorBlind(colorSetting);
            read.ShowDialog();
        }
        public ReadAudioForm2(ReadPhaseForm readPhase, String lvl)
        {
            InitializeComponent();
            this.readPhase = readPhase;
            //Later, change the directory to kidLevelImagesDB i.e. once you make changes to the database
            jollyPicBox.ImageLocation = @"C:\Pres_Proto\V2\MetroFrameworkDLLExample\refwords\" + lvl + ".jpg";
            this.jollyPicBox.SizeMode = PictureBoxSizeMode.Zoom;
            lvlStr = lvl;

            recBtn.Style = MetroColorStyle.Red;
            backBtn.Style = MetroColorStyle.Purple;

            timeLabel.Visible = false;
            secsLabel.Visible = false;
        }
示例#4
0
        public ReadAudioForm2(ReadPhaseForm readPhase, String lvl)
        {
            InitializeComponent();
            this.readPhase = readPhase;
            //Later, change the directory to kidLevelImagesDB i.e. once you make changes to the database
            jollyPicBox.ImageLocation = @"C:\Pres_Proto\V2\MetroFrameworkDLLExample\refwords\" + lvl + ".jpg";
            this.jollyPicBox.SizeMode = PictureBoxSizeMode.Zoom;
            lvlStr = lvl;

            recBtn.Style  = MetroColorStyle.Red;
            backBtn.Style = MetroColorStyle.Purple;

            timeLabel.Visible = false;
            secsLabel.Visible = false;
        }
示例#5
0
        public ReadAudioForm3(ReadPhaseForm readPhase, String lvl)
        {
            InitializeComponent();

            vAssist = new VoiceAssistant();
            vAssist.SpeakMessage("Say the Jolly phonic !");

            backButton                = this.backBtn;
            submitButton              = this.startBtn;
            this.readPhase            = readPhase;
            jollyPicBox.ImageLocation = "Class" + LoginForm.classSec + "_kidImages/" + lvl + ".jpg";
            this.jollyPicBox.SizeMode = PictureBoxSizeMode.Zoom;
            lvlStr = lvl;

            startBtn.Style = MetroColorStyle.Red;
            backBtn.Style  = MetroColorStyle.Purple;
        }
        //Need to insert a string, so it can save .wav file in that name
        public ReadAudioForm(ReadPhaseForm readPhase, String lvl)
        {
            InitializeComponent();

            recBtn.Visible      = false;
            playBtn.Visible     = false;
            pauseButton.Visible = false;
            stopBtn.Visible     = false;

            this.readPhase = readPhase;

            //Later, change the directory to kidLevelImagesDB i.e. once you make changes to the database
            jollyPicBox.ImageLocation = @"C:\Pres_Proto\V2\MetroFrameworkDLLExample\refwords\" + lvl + ".jpg";

            this.jollyPicBox.SizeMode = PictureBoxSizeMode.Zoom;
            lvlStr          = lvl;
            jollyLabel.Text = lvl;
            jollyLabel.Font = new Font(jollyLabel.Font.FontFamily, 50);
        }
        //Need to insert a string, so it can save .wav file in that name
        public ReadAudioForm(ReadPhaseForm readPhase, String lvl)
        {
            InitializeComponent();

            recBtn.Visible = false;
            playBtn.Visible = false;
            pauseButton.Visible = false;
            stopBtn.Visible = false;

            this.readPhase = readPhase;

            //Later, change the directory to kidLevelImagesDB i.e. once you make changes to the database
            jollyPicBox.ImageLocation = @"C:\Pres_Proto\V2\MetroFrameworkDLLExample\refwords\" + lvl + ".jpg";

            this.jollyPicBox.SizeMode = PictureBoxSizeMode.Zoom;
            lvlStr = lvl;
            jollyLabel.Text = lvl;
            jollyLabel.Font = new Font(jollyLabel.Font.FontFamily, 50);
        }
示例#8
0
 //Calls the ReadPhaseForm
 private void callReadPhaseForm(bool colorSetting)
 {
     this.Hide();
     ReadPhaseForm read = new ReadPhaseForm();
     read.setColorBlind(colorSetting);
     read.ShowDialog();
 }
 private void backBtn_Click(object sender, EventArgs e)
 {
     this.Hide();
     ReadPhaseForm read = new ReadPhaseForm();
     read.setColorBlind(isColorBlind);
     read.ShowDialog();
 }
示例#10
-1
        public ReadAudioForm3(ReadPhaseForm readPhase, String lvl)
        {
            InitializeComponent();

            vAssist = new VoiceAssistant();
            vAssist.SpeakMessage("Say the Jolly phonic !");

            backButton = this.backBtn;
            submitButton = this.startBtn;
            this.readPhase = readPhase;
            jollyPicBox.ImageLocation = "Class" + LoginForm.classSec + "_kidImages/" + lvl + ".jpg";
            this.jollyPicBox.SizeMode = PictureBoxSizeMode.Zoom;
            lvlStr = lvl;

            startBtn.Style = MetroColorStyle.Red;
            backBtn.Style = MetroColorStyle.Purple;
        }