Пример #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //_synth.SelectVoice("Microsoft Lili");
            //_synth.Rate = -2;
            FingerMainForm mainForm = new FingerMainForm();

            notifiedTargetList.Add("mainForm", mainForm);
            g_ZKFP = new AxZKFPEngXControl.AxZKFPEngX();
            initialAxZKFP();
            test_device_connection();
            Application.Run(mainForm);
            //Application.Run(new FingerDemo());
            //_synth.SelectVoiceByHints(VoiceGender.Female, VoiceAge.Adult, 1, new System.Globalization.CultureInfo("zh-CHS"));
        }
Пример #2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     //_synth.SelectVoice("Microsoft Lili");
     //_synth.Rate = -2;
     FingerMainForm mainForm = new FingerMainForm();
     notifiedTargetList.Add("mainForm", mainForm);
     g_ZKFP = new AxZKFPEngXControl.AxZKFPEngX();
     initialAxZKFP();
     test_device_connection();
     Application.Run(mainForm);
     //Application.Run(new FingerDemo());
     //_synth.SelectVoiceByHints(VoiceGender.Female, VoiceAge.Adult, 1, new System.Globalization.CultureInfo("zh-CHS"));
 }