private void backBtn_Click(object sender, EventArgs e) { this.Hide(); ReadPhaseForm read = new ReadPhaseForm(); read.setColorBlind(isColorBlind); read.ShowDialog(); }
//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; }
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); }