6 instantiations of Link
System.Windows.Forms (6)
winforms\Managed\System\WinForms\LinkConverter.cs (1)
83
return new LinkLabel.
Link
(values[0], values[1]);
winforms\Managed\System\WinForms\LinkLabel.cs (4)
251
Links.Add(new
Link
(this));
371
Links.Add(new
Link
(this));
641
Links.Add (new
Link
(0, -1)); // default 'magic' link.
2122
Link l = new
Link
(owner);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (1)
580
this.linkLblMoreInformation.Links.Add(new System.Windows.Forms.LinkLabel.
Link
(this.linkLblMoreInformation.Text.Length - strMoreInfo.Length, strMoreInfo.Length));
82 references to Link
System.Windows.Forms (82)
winforms\Managed\System\WinForms\LinkConverter.cs (7)
109
if (value is LinkLabel.
Link
) {
111
LinkLabel.
Link
link = (LinkLabel.
Link
)value;
128
LinkLabel.
Link
link = (LinkLabel.
Link
)value;
131
info = typeof(LinkLabel.
Link
).GetConstructor(new Type[] {typeof(int), typeof(int)});
137
info = typeof(LinkLabel.
Link
).GetConstructor(new Type[] {typeof(int), typeof(int), typeof(object)});
winforms\Managed\System\WinForms\LinkLabel.cs (69)
70
Link
focusLink = null;
149
private
Link
FocusLink {
235
return new LinkArea(((
Link
)links[0]).Start, ((
Link
)links[0]).Length);
255
((
Link
)links[0]).Start = value.Start;
256
((
Link
)links[0]).Length = value.Length;
365
return((
Link
)links[0]).Visited;
373
((
Link
)links[0]).Visited = value;
664
Link
link = Links[i];
761
foreach (
Link
link in Links) {
797
protected
Link
PointInLink(int x, int y) {
799
Link
hit = null;
802
foreach (
Link
link in links) {
822
private void InvalidateLink(
Link
link) {
905
Link
focusLink = FocusLink;
973
foreach (
Link
link in links) {
1004
if ((((
Link
)links[i]).State & LinkState.Hover) == LinkState.Hover) {
1005
((
Link
)links[i]).State |= LinkState.Active;
1008
if (((
Link
)links[i]).Enabled) {
1009
FocusLink = (
Link
)links[i];
1040
if ((((
Link
)links[i]).State & LinkState.Active) == LinkState.Active) {
1041
((
Link
)links[i]).State &= (~LinkState.Active);
1042
InvalidateLink((
Link
)links[i]);
1045
Link
clicked = PointInLink(e.X, e.Y);
1068
Link
hoverLink = null;
1069
foreach (
Link
link in links) {
1076
Link
pointIn = PointInLink(e.X, e.Y);
1170
RectangleF[] rects = ((
Link
)links[0]).VisualRegion.GetRegionScans(e.Graphics.Transform);
1197
foreach (
Link
link in links) {
1212
foreach (
Link
link in links) {
1347
((
Link
)links[i]).State &= ~(LinkState.Hover | LinkState.Active);
1375
private void PaintLink(Graphics g,
Link
link, SolidBrush foreBrush, SolidBrush linkBrush, bool optimizeBackgroundRendering, RectangleF finalrect) {
1518
foreach (
Link
link in Links) {
1603
Link
test;
1735
FocusLink = (
Link
)links[newFocus];
1814
private void UpdateAccessibilityLink(
Link
focusLink) {
1838
Link
left = (
Link
)links[x];
1845
Link
right = (
Link
)links[y];
1982
public virtual
Link
this[int index] {
1984
return(
Link
)owner.links[index];
2003
if (value is
Link
) {
2004
this[index] = (
Link
)value;
2016
public virtual
Link
this[string key] {
2095
public
Link
Add(int start, int length) {
2106
public
Link
Add(int start, int length, object linkData) {
2122
Link
l = new Link(owner);
2134
public int Add(
Link
value) {
2181
if (value is
Link
) {
2182
return Add((
Link
)value);
2192
if (value is
Link
) {
2193
Add((
Link
)value);
2204
public bool Contains(
Link
link) {
2219
if (link is
Link
) {
2220
return Contains((
Link
)link);
2231
public int IndexOf(
Link
link) {
2238
if (link is
Link
) {
2239
return IndexOf((
Link
)link);
2321
return new
Link
[0].GetEnumerator();
2329
public void Remove(
Link
value) {
2351
owner.FocusLink = (
Link
)owner.links[0];
2377
if (value is
Link
) {
2378
Remove((
Link
)value);
2627
int pos1 = ((
Link
)link1).Start;
2628
int pos2 = ((
Link
)link2).Start;
2678
Link
hit = ((LinkLabel)Owner).PointInLink(p.X, p.Y);
2703
private
Link
link;
2705
public LinkAccessibleObject(
Link
link) : base() {
winforms\Managed\System\WinForms\LinkLabelLinkClickedEvent.cs (5)
25
private readonly LinkLabel.
Link
link;
33
public LinkLabelLinkClickedEventArgs(LinkLabel.
Link
link) {
38
public LinkLabelLinkClickedEventArgs(LinkLabel.
Link
link, MouseButtons button) : this(link) {
56
/// Gets the <see cref='System.Windows.Forms.LinkLabel.
Link
'/> that was clicked.
59
public LinkLabel.
Link
Link {
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (1)
222
LinkLabel.
Link
link = Label.Links.Add(links[i].X, links[i].Y, verbs[i]);