mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 22:22:32 +00:00
d6811ccc5b
- added description for the options available at resource management - moved OpenWebsite function to General class as it is quite a generic thing
61 lines
No EOL
1.5 KiB
C#
61 lines
No EOL
1.5 KiB
C#
|
|
#region ================== Copyright (c) 2007 Pascal vd Heiden
|
|
|
|
/*
|
|
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
|
|
* This program is released under GNU General Public License
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#endregion
|
|
|
|
#region ================== Namespaces
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
using Microsoft.Win32;
|
|
using System.Diagnostics;
|
|
using System.Reflection;
|
|
using CodeImp.DoomBuilder.Controls;
|
|
|
|
#endregion
|
|
|
|
namespace CodeImp.DoomBuilder.Windows
|
|
{
|
|
internal partial class AboutForm : DelayedForm
|
|
{
|
|
// Constructor
|
|
public AboutForm()
|
|
{
|
|
// Initialize
|
|
InitializeComponent();
|
|
|
|
// Show version
|
|
string postfix = "";
|
|
if(General.DebugBuild) postfix = "(debug)";
|
|
version.Text = Application.ProductName + " version " + Application.ProductVersion + " " + postfix;
|
|
}
|
|
|
|
// Launch Doom Builder website
|
|
private void builderlink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
|
{
|
|
General.OpenWebsite("http://" + builderlink.Text);
|
|
}
|
|
|
|
// This copies the version number to clipboard
|
|
private void copyversion_Click(object sender, EventArgs e)
|
|
{
|
|
Clipboard.Clear();
|
|
Clipboard.SetText(Application.ProductVersion);
|
|
}
|
|
}
|
|
} |