Files
UA-.NETStandard/SampleApplications/Samples/ClientControls.Net4/ClientHeaderBranding.cs
T
Erich Barnstedt 2901d8e5bb 1. Added definition of supported frameworks into project jason to get compiletime issues on missing classes.
2. Removed client cert validation from HTTPS client and server as this is not supported on all platforms, e.g. .Net4.6.
3. Reverted back to XmlDocument from XDocument as this is now supported via a NuGet package on UWP and XDocument is not supported on .Net4.6.
4. Baseline .Net4.6 samples and assoc. controls project check-in, not working yet.
5. Moved UWP client controls from SDK to Samples directly.
2016-07-10 23:27:41 +02:00

54 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
namespace Opc.Ua.Server.Controls
{
public partial class ClientHeaderBranding : UserControl
{
public ClientHeaderBranding()
{
InitializeComponent();
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
try
{
System.Diagnostics.Process.Start(linkLabel1.Text);
}
catch
{
}
}
private void pictureBox1_Click(object sender, EventArgs e)
{
}
private void pictureBox2_Click(object sender, EventArgs e)
{
try
{
System.Diagnostics.Process.Start("http://www.opcfoundation.org/certification");
}
catch
{
}
}
private void ClientHeaderBranding_Load(object sender, EventArgs e)
{
appName.Text = this.Parent.Text;
labelBuild.Text = string.Format("UA .NET API Build: {0}", Assembly.GetExecutingAssembly().GetName().Version.ToString());
}
}
}