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; }
public void PostAttachToAct(FoxTTSPlugin plugin) { if (!UpdateChecker.IsEnabled) { // Hide update checker panel groupBoxUpdate.Visible = false; } }
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; }
public void PostAttachToAct(FoxTTSPlugin plugin) { }
public void AttachToAct(FoxTTSPlugin plugin) { _plugin = plugin; _plugin.Controller.YukkuriPlaybackEnabledChanged += ControllerOnYukkuriPlaybackEnabledChanged; }
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); }