Esempio n. 1
0
        protected override void OnSystemColorsChanged(EventArgs e)
        {
            base.OnSystemColorsChanged(e);

            PluginThemingUtil.UpdateControlBackColor(this);
            PluginThemingUtil.UpdateControlForeColor(this);
        }
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            try
            {
                LoadSettings();
            }
            catch (IOException ex)
            {
                ShowErrorMessage(ex.Message);
            }
            catch (UnauthorizedAccessException ex)
            {
                ShowErrorMessage(ex.Message);
            }
            PluginThemingUtil.EnableEffectDialogTheme(this);
        }