Q
Q
Questions00012020-08-06 12:36:19
C++ / C#
Questions0001, 2020-08-06 12:36:19

How in Windows forms C# can I make it so that I can select the address of a link that is inside my application with the mouse?

I want the link to stand out.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
itgood, 2020-08-06
@Questions0001

private void linkLabel1_MouseMove(object sender, MouseEventArgs e)
{
linkLabel1.ForeColor = Color.Red;
Clipboard.SetData(DataFormats.Text, (Object)linkLabel1.Text);
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question