OpenTween.TweenMain.LoadIcon C# (CSharp) Method

LoadIcon() private method

private LoadIcon ( string filePath ) : Icon
filePath string
return Icon
        private Icon LoadIcon(string filePath)
        {
            if (!File.Exists(filePath))
                return null;

            try
            {
                return new Icon(filePath);
            }
            catch (Exception)
            {
                return null;
            }
        }
TweenMain