AcManager.Controls.Presentation.AppAppearanceManager.ThemeLink.Apply C# (CSharp) Method

Apply() public method

public Apply ( ) : bool
return bool
            public bool Apply() {
                try {
                    AppearanceManager.Current.ThemeSource = Source;
                    if (_filename != null) {
                        _modified = new FileInfo(_filename).LastWriteTime;
                    }

                    Instance.ThemeError = null;
                    return true;
                } catch (Exception e) {
                    Logging.Warning(e);
                    Instance.ThemeError = e.Message;
                    return false;
                }
            }
AppAppearanceManager.ThemeLink