|
// Xml Visualizer v.2
// by Lars Hove Christiansen (larshove@gmail.com)
// http://www.codeplex.com/XmlVisualizer
using System;
using System.Windows.Forms;
namespace XmlVisualizer
{
internal partial class AboutForm : Form
{
public AboutForm()
{
InitializeComponent();
SetAboutFormProperties();
}
private void SetAboutFormProperties()
{
Text = Util.GetTitle();
}
public string ProgramVersion
{
set { versionLabel.Text = versionLabel.Text + " " + value; }
}
public string Title
{
set { titleLabel.Text = value; }
}
private void button1_Click(object sender, EventArgs e)
{
Close();
}
private void urlLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo(Util.GetDefaultWebBrowser());
psi.Arguments = "http://www.codeplex.com/XmlVisualizer";
System.Diagnostics.Process.Start(psi);
Close();
}
private void mailLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("mailto:larshove@gmail.com");
Close();
}
private void iconsLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo(Util.GetDefaultWebBrowser());
psi.Arguments = "http://famfamfam.com/";
System.Diagnostics.Process.Start(psi);
Close();
}
private void editorLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo(Util.GetDefaultWebBrowser());
psi.Arguments = "http://sharpdevelop.net/";
System.Diagnostics.Process.Start(psi);
Close();
}
private void donatePictureBox_Click(object sender, EventArgs e)
{
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo(Util.GetDefaultWebBrowser());
psi.Arguments = "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ZWQLCKZ4B9QKS&lc=GB&item_name=Xml%20Visualizer%20v%2e2¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted";
System.Diagnostics.Process.Start(psi);
Close();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.