// icon list box

        private void extButton1_Click(object sender, EventArgs e)
        {
            Theme.Current.FontSize = 12;
            AudioDriverCSCore    ad = new AudioDriverCSCore();
            AudioDeviceConfigure f  = new AudioDeviceConfigure();

            f.Init(ad);
            f.ShowDialog(this);
        }
Пример #2
0
        private void extButton2_Click(object sender, EventArgs e)
        {
            theme.FontSize = 20;
            AudioDriverCSCore    ad = new AudioDriverCSCore();
            AudioDeviceConfigure f  = new AudioDeviceConfigure();

            f.Init("Config check", ad);
            f.ShowDialog(this);
        }
Пример #3
0
        private void WC(float size)
        {
            theme.FontSize = size;
            AudioDriverCSCore ad = new AudioDriverCSCore();
            AudioQueue        q  = new AudioQueue(ad);

            WaveConfigureDialog c = new WaveConfigureDialog();

            Variables ef = new Variables();

            c.Init(q, false, "Check SC", "Caption title", this.Icon,
                   @"c:\",
                   true, AudioQueue.Priority.High,
                   "sn", "en", "100", ef);

            c.ShowDialog(this);
        }
Пример #4
0
        private void SC(float size, bool mode)
        {
            theme.FontSize = size;
            AudioDriverCSCore   ad  = new AudioDriverCSCore();
            AudioQueue          q   = new AudioQueue(ad);
            WindowsSpeechEngine wse = new WindowsSpeechEngine();
            SpeechSynthesizer   ss  = new SpeechSynthesizer(wse);

            SpeechConfigure c = new SpeechConfigure();

            Variables ef = new Variables();

            c.Init(q, ss, "Check SC", "Caption title", this.Icon, mode ? "Text to do" : null,
                   true, true, AudioQueue.Priority.High,
                   "sn", "en", "Sheila", "100", "Default", ef);

            c.ShowDialog(this);
        }
Пример #5
0
 public Form1()
 {
     InitializeComponent();
     audiodriver = new AudioDriverCSCore("Default");
     audioqueue  = new AudioQueue(audiodriver);
 }