Ejemplo n.º 1
0
        protected virtual Icon GetIcon()
        {
            IResourcesManager resourceManager = HatcherGuide <IResourcesManager> .Instance;
            Icon iconResource = resourceManager.GetIconResource(this.TrayIconResourceName, null);

            if (iconResource != null)
            {
                return(iconResource);
            }
            return(this.GenerateIcon());
        }