|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Text;
using GFramework;
using GFramework.View.Text;
using GFramework.WinForm;
namespace GFrameworkTest
{
public partial class MarkupLabelTest : Form
{
#region Constructor
public MarkupLabelTest()
{
InitializeComponent();
gMarkupLabel1.AnchorClicked += new GEventHandler(MarkupLabel1_AnchorClicked);
}
#endregion
#region Methods
private void MarkupLabel1_AnchorClicked(GEventArgs args)
{
GAnchorClickEventData data = (GAnchorClickEventData)args.Data;
MessageBox.Show("Anchor '" + data.Text + "' clicked.\r\n" + "Href: " + data.Href);
}
#endregion
#region Properties
public GMarkupLabel Label
{
get
{
return gMarkupLabel1;
}
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
.NET & C# addicted. Win8 & WinRT enthusiast and researcher @Telerik.