Files
Mapo-IOB-WIN/IOB-OPC-UA/Applications/ServerControls.Net4/HeaderBranding.cs
T
2021-03-25 18:25:25 +01:00

52 lines
1.2 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;
namespace Opc.Ua.Server.Controls
{
public partial class HeaderBranding : UserControl
{
public HeaderBranding()
{
InitializeComponent();
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
try
{
System.Diagnostics.Process.Start(linkLabel1.Text);
}
catch
{
}
}
private void linkLabel1_Click(object sender, EventArgs e)
{
linkLabel1_LinkClicked(sender, null);
}
private void pictureBox2_Click(object sender, EventArgs e)
{
try
{
System.Diagnostics.Process.Start("http://www.opcfoundation.org/certification");
}
catch
{
}
}
private void ServerHeaderBranding_Load(object sender, EventArgs e)
{
appName.Text = this.Parent.Text;
}
}
}