Esempio n. 1
0
 private void buttonYes_Click(object sender, EventArgs e)
 {
     CVoice.Speech.SelectVoice(tmpIndex);
     settings.VoiceIndex = tmpIndex;
     ModuleConfig.SaveSettings(settings);
     this.Close();
 }
Esempio n. 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            settings.Ksxm_x = Convert.ToInt16(ksxm_x.Text);
            settings.Ksxm_y = Convert.ToInt16(ksxm_y.Text);

            settings.Ksdd_x = Convert.ToInt16(ksdd_x.Text);
            settings.Ksdd_y = Convert.ToInt16(ksdd_y.Text);

            settings.Ksrq_x = Convert.ToInt16(ksrq_x.Text);
            settings.Ksrq_y = Convert.ToInt16(ksrq_y.Text);

            settings.Kscj_x = Convert.ToInt16(kscj_x.Text);
            settings.Kscj_y = Convert.ToInt16(kscj_y.Text);

            settings.Ksyxm_x = Convert.ToInt16(ksyxm_x.Text);
            settings.Ksyxm_y = Convert.ToInt16(ksyxm_y.Text);

            ModuleConfig.SaveSettings(settings);
        }
Esempio n. 3
0
 private void button1_Click(object sender, EventArgs e)
 {
     ModuleConfig.SaveSettings(ms);
 }