Download PhotoShopColorSwatchLoader.zip version 1.0.0.1, last updated 15/03/2026 (22.06 KB)

Download
  • md5: 0e6291074907b072d0876145aa684f00
  • sha1: cea58aee86c2fd05d6fc83a8116b00e5d2a875a1
  • sha256: 4885ea71d72eeede609f12c5e72a9ec2872ba93550d61336d0bbefc1ca7273e3
using System;
using System.Diagnostics;
using System.Windows.Forms;

// Reading PhotoShop Color Swatch (aco) files using C#
// http://cyotek.com/blog/reading-photoshop-color-swatch-aco-files-using-csharp

namespace PhotoShopColorSwatchLoader
{
  internal sealed partial class AboutDialog : Form
  {
    #region Public Constructors

    public AboutDialog()
    {
      InitializeComponent();
    }

    #endregion

    #region Overridden Methods

    protected override void OnLoad(EventArgs e)
    {
      FileVersionInfo versionInfo;

      versionInfo = FileVersionInfo.GetVersionInfo(typeof(MainForm).Assembly.Location);
      nameLabel.Text = versionInfo.ProductName;
      copyrightLabel.Text = versionInfo.LegalCopyright;

      base.OnLoad(e);
    }

    #endregion

    #region Event Handlers

    private void closeButton_Click(object sender, EventArgs e)
    {
      this.Close();
    }

    private void webLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
    {
      try
      {
        Process.Start("http://cyotek.com");
      }
      catch (Exception ex)
      {
        MessageBox.Show(ex.GetBaseException().Message, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
      }
    }

    #endregion
  }
}

Donate

Donate