mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-22 01:26:20 +08:00
2901d8e5bb
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.
54 lines
1.3 KiB
C#
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());
|
|
}
|
|
}
|
|
}
|