Archive Browser
Download Cyotek.Windows.Forms.ColorPicker-1.0.2.0.zip version 1.0.2.0, last updated 13/07/2013 (382.27 KB)
Download- md5: 34597ba8a4143a1794524236d9f43524
using System;
using System.Diagnostics;
using System.Reflection;
using System.Windows.Forms;
namespace Cyotek.Windows.Forms.ColorPicker.Demo
{
// Cyotek Color Picker controls library
// Copyright � 2013 Cyotek. All Rights Reserved.
// http://cyotek.com/blog/tag/colorpicker
// If you use this code in your applications, donations or attribution are welcome
internal partial class AboutDialog : BaseForm
{
#region Constructors
public AboutDialog()
{
FileVersionInfo info;
Assembly assembly;
string title;
this.InitializeComponent();
assembly = typeof(ColorGrid).Assembly;
info = FileVersionInfo.GetVersionInfo(assembly.Location);
title = info.ProductName;
this.Text = string.Format("About {0}", title);
nameLabel.Text = title;
versionLabel.Text = string.Format("Version {0}", info.FileVersion);
copyrightLabel.Text = info.LegalCopyright;
}
#endregion
#region Event Handlers
private void closeButton_Click(object sender, EventArgs e)
{
this.Close();
}
private void webLinkLabel_Click(object sender, EventArgs e)
{
try
{
Process.Start(((Control)sender).Text);
}
catch (Exception ex)
{
MessageBox.Show(string.Format("Unable to start the specified URI.\n\n{0}", ex.Message), Text, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
}
#endregion
}
}
Donate
This software may be used free of charge, but as with all free software there are costs involved to develop and maintain.
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Donate