private void btn_Finish_Click(object sender, System.EventArgs e) { if (rd_Low.Checked) { ScreenCapture.ScreenCapture.Flag_configpro = "Screen Video/Audio Medium (CBR)100"; config2.SetValue("//appSettings//add[@key='Quality']", "1"); } else if (rd_Medium.Checked) { ScreenCapture.ScreenCapture.Flag_configpro = "Screen Video/Audio Medium (CBR)400"; config2.SetValue("//appSettings//add[@key='Quality']", "2"); } else if (rd_High.Checked) { ScreenCapture.ScreenCapture.Flag_configpro = "Screen Video/Audio Medium (CBR)600"; config2.SetValue("//appSettings//add[@key='Quality']", "3"); } else { ScreenCapture.ScreenCapture.Flag_configpro = "Screen Video/Audio Medium (CBR)"; config2.SetValue("//appSettings//add[@key='Quality']", "0"); } this.Close(); }
private void btn_Next_Click(object sender, System.EventArgs e) { config = new ScreenCapture.Config(); config.cfgFile = "WebMeeting.exe.config"; config.SetValue("//appSettings//add[@key='Driver']", cboAudioSource.Text.ToString()); this.Close(); frm_AudioConfig2 fa2 = new frm_AudioConfig2(); fa2.Show(); }
private void btn_Next_Click(object sender, System.EventArgs e) { config=new ScreenCapture.Config(); config.cfgFile = "WebMeeting.exe.config"; config.SetValue("//appSettings//add[@key='Driver']", cboAudioSource.Text.ToString()); this.Close(); frm_AudioConfig2 fa2=new frm_AudioConfig2(); fa2.Show(); }