Archive Browser
Download CmykRgbColorConversion.zip, last updated 15/07/2018 (19.21 KB)
Download- md5: 1258961adc735c8388f9b35d867df7c6
- sha1: 1e01eb8723aac6632f1c0fff5fb57f524116329c
- sha256: cfc2141a0f0820962621bc35e10882e648c95496751b65ded610a0009faae5a6
using System;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
// Loading the color palette from a BBM/LBM image file using C
// http://cyotek.com/blog/loading-the-color-palette-from-a-bbm-lbm-image-file-using-csharp
namespace Cyotek.Demo.CmykRgbColorConversion
{
internal partial class AboutDialog : Form
{
#region Constructors
public AboutDialog()
{
this.InitializeComponent();
}
#endregion
#region Methods
protected override void OnFontChanged(EventArgs e)
{
base.OnFontChanged(e);
nameLabel.Font = new Font(this.Font, FontStyle.Bold);
}
protected override void OnLoad(EventArgs e)
{
FileVersionInfo versionInfo;
if (!this.DesignMode)
{
this.Font = SystemFonts.DialogFont;
}
versionInfo = FileVersionInfo.GetVersionInfo(typeof(MainForm).Assembly.Location);
nameLabel.Text = versionInfo.ProductName;
copyrightLabel.Text = versionInfo.LegalCopyright;
base.OnLoad(e);
}
private void closeButton_Click(object sender, EventArgs e)
{
this.Close();
}
private void webLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
try
{
Process.Start("http://www.cyotek.com");
}
catch (Exception ex)
{
MessageBox.Show(ex.GetBaseException().Message, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
#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