Hi,
May I know anything wrong for code below?
I am facing problem VS.NET will exit automatically if I drop the control (derived from SF control) on form. However, if I changed to derived from standard control (System.WIndows.Forms) then is ok.
Any ideas?
using System;
using System.Collections.Generic;
using System.Text;
using MicroFour.StrataFrame.UI.Windows.Forms;
using System.Windows.Forms;
namespace JK.Framework.UI.Windows.Forms
{
public class LinkLabel : MicroFour.StrataFrame.UI.Windows.Forms.LinkLabel //System.Windows.Forms.LinkLabel //MicroFour.StrataFrame.UI.Windows.Forms.LinkLabel
{
protected override void OnLinkClicked(System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
{
base.OnLinkClicked(e);
this.HandleClicked();
}
protected void HandleClicked()
{
MessageBox.Show("Clickedaa");
}
}
}