Use Linklabel image to get onclick event with out any text

I have an linklabel in C# winforms. It has no text but it has an image as background. Is there any way i can use the image as hyperlink to trigger the onclick event?

I have searched a lot and all i could find was only text manipulations (like put the text to transparent..etc). Is there a way around without actually using text? Also if i can get a tooltip for linklabel.. it will be more helpful.

I hope this question is not too mainstream(i am new to C#).

Answers


You can use button with a image in it and make its properties as FlatStyle:Flat to give a look as ImageLink or else use PictureBox and To show Tooltip, you can use Tooltip tool which invokes a new property in button or PictureBox.


Need Your Help

tests getting killed in the middle of a run using parallel_tests

ruby-on-rails testing rspec parallel-processing

In an effort to get our tests to run faster, I decided to use parallel tests. https://github.com/grosser/parallel_tests

iOS - View not loading properly in iPad when rotating

objective-c ios ipad uiviewcontroller

I have created a simple iPad application with rotation support. It has two view controllers. First View Controller is loaded automatically as rootViewController of the AppDelegate. It has a button ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.