Exemple #1
0
        public static void Reload()
        {
            var st = Data.GetSetting();

            Speech.Stop();
            //Voice
            Speech.SetSynthVoice(Speech.GetVoicesNames()[st.SelectedVoice]);

            //Rate
            Speech.Rate((ushort)st.Rate);

            //Volume
            Speech.Volume((ushort)st.Volume);

            GlobalHotkey.Reload();
        }
Exemple #2
0
 public main_ui()
 {
     InitializeComponent();
     GlobalHotkey.Run();
 }