Example #1
0
        public void AttachToAct(FoxTTSPlugin plugin)
        {
            _plugin = plugin;
            var parentTabPage = plugin.ParentTabPage;

            parentTabPage.Controls.Add(this);
            parentTabPage.Resize += ParentTabPageOnResize;
            ParentTabPageOnResize(parentTabPage, null);

            var settings = plugin.Settings;

            // add settings
            settings.AddControlSetting(checkBoxCheckUpdate);
            settings.AddControlSetting(checkBoxNotifyStableOnly);

            _controller = plugin.Controller;

            comboBoxLanguage.SelectedIndexChanged += ComboBoxLanguageSelectedIndexChanged;

            _controller.SettingsLoaded        += ControllerOnSettingsLoaded;
            _controller.LanguageChanged       += ControllerOnLanguageChanged;
            _controller.LogMessageAppend      += ControllerOnLogMessageAppend;
            _controller.UpdateCheckingStarted += ControllerOnUpdateCheckingStarted;
            _controller.VersionChecked        += ControllerOnVersionChecked;
            _controller.TTSEngineChanged      += ControllerOnTtsEngineChanged;
        }
Example #2
0
 public void PostAttachToAct(FoxTTSPlugin plugin)
 {
     if (!UpdateChecker.IsEnabled)
     {
         // Hide update checker panel
         groupBoxUpdate.Visible = false;
     }
 }
Example #3
0
        public void AttachToAct(FoxTTSPlugin plugin)
        {
            Settings.AddStringSetting(nameof(Language));
            Settings.AddStringSetting(nameof(VersionIgnored));
            Settings.AddStringSetting(nameof(TTSEngine));

            _controller = plugin.Controller;

            _controller.LanguageChanged   += ControllerOnLanguageChanged;
            _controller.NewVersionIgnored += ControllerOnNewVersionIgnored;
            _controller.TTSEngineChanged  += ControllerOnTtsEngineChanged;
        }
Example #4
0
 public void PostAttachToAct(FoxTTSPlugin plugin)
 {
 }
Example #5
0
 public void AttachToAct(FoxTTSPlugin plugin)
 {
     _plugin = plugin;
     _plugin.Controller.YukkuriPlaybackEnabledChanged += ControllerOnYukkuriPlaybackEnabledChanged;
 }
Example #6
0
 public void AttachToAct(FoxTTSPlugin plugin)
 {
     _plugin = plugin;
 }
 public void PostAttachToAct(FoxTTSPlugin plugin)
 {
     _wmm.PostAttachToAct(plugin);
 }
 public void AttachToAct(FoxTTSPlugin plugin)
 {
     _plugin = plugin;
     _wmm.AttachToAct(plugin);
 }
 public void PostAttachToAct(FoxTTSPlugin plugin)
 {
     checkBoxPlaybackYukkuri_CheckedChanged(checkBoxPlaybackYukkuri, EventArgs.Empty);
 }