48 lines
1.1 KiB
C#

//
// Copyright © 2006-2010, Intel Corporation. All rights reserved.
//
//File: AMT_LinkLable.cs
//
// Contents: Defintion of logic of a link label (GUI componet)
//
using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
namespace AMT_SW_GUI
{
public partial class AMT_LinkLable : LinkLabel
{
public AMT_LinkLable()
{
InitializeComponent();
BackColor = Color.FromArgb(250, 249, 249);
}
public AMT_LinkLable(IContainer container)
{
container.Add(this);
InitializeComponent();
BackColor = Color.FromArgb(250, 249, 249);
}
private void AMT_LinkLable_MouseLeave(object sender, EventArgs e)
{
LinkVisited = false;
}
private void AMT_LinkLable_MouseEnter(object sender, EventArgs e)
{
}
private void AMT_LinkLable_MouseMove(object sender, MouseEventArgs e)
{
LinkVisited = true;
}
}
}