Archive Browser
Download RiffPaletteLoader.zip version 1.0.0.0, last updated 18/02/2017 (15.41 KB)
Download- md5: 3b1ed86c3076e401c7f8c1d79c610800
- sha1: b71a2ed2f72637eb844530aa845fa9642c16b74f
- sha256: 65ed960371418198622905bab618209fe66b36fb490c66c0f40a2f0548a42b3e
using System;
using System.Diagnostics;
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.Demonstrations.RiffPaletteLoader
{
internal partial class AboutDialog : Form
{
#region Constructors
public AboutDialog()
{
this.InitializeComponent();
}
#endregion
#region 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);
}
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
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