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(); }
public main_ui() { InitializeComponent(); GlobalHotkey.Run(); }