Example #1
0
        public override IEnumerator <object> OnStatusWindowShown(IStatusWindow statusWindow)
        {
            var panel = new FontSizerConfig(this);

            yield return(panel.LoadConfiguration());

            statusWindow.ShowConfigurationPanel("Font Sizer", panel);
        }
Example #2
0
 public override IEnumerator<object> Initialize()
 {
     // Hack to initialize prefs to defaults
     using (var configWindow = new FontSizerConfig(this)) {
         yield return configWindow.LoadConfiguration();
         yield return configWindow.SaveConfiguration();
     }
 }
Example #3
0
        public override IEnumerator <object> Initialize()
        {
            // Hack to initialize prefs to defaults
            using (var configWindow = new FontSizerConfig(this)) {
                yield return(configWindow.LoadConfiguration());

                yield return(configWindow.SaveConfiguration());
            }
        }
Example #4
0
 public override IEnumerator<object> OnStatusWindowShown(IStatusWindow statusWindow)
 {
     var panel = new FontSizerConfig(this);
     yield return panel.LoadConfiguration();
     statusWindow.ShowConfigurationPanel("Font Sizer", panel);
 }