The purpose of the article is to illustrate the use of
helpprovider. This is a simple demo of how they work.
This article illustrates one of my first C# code. I wanted to use MDI control and try out the linklabel control and the
I had problems creating an About dialog box and hence I coded an application that uses system dialog to change the font and color of a text and the help provider opens the help HTML file, which displays the help message.
The name of the class is
MainDlg, which comprises of a
fontdialog and a
private void menuItem2_Click(object sender, System.EventArgs e)
label2.Font = fontDialog1.Font;
private void menuItem3_Click(object sender, System.EventArgs e)
label2.ForeColor = colorDialog1.Color;
private void menuItem6_Click(object sender, System.EventArgs e)
AboutDlg ne = new AboutDlg();
private void menuItem9_Click(object sender, System.EventArgs e)
Help.ShowHelp(new MainDlg() ,"help.htm");
There is another class which is an inherited class called
AboutDlg, this comprises of a
linklabel , which carries an email ID.
By using the following code, the mail recipient is invoked.
private void linkLabel1_LinkClicked_1(object sender,
linkLabel1.LinkVisited = true;
Ragavendran was born in South India. He holds a Bacnelor of Computer Science and Engineering. Currently he works as a Software Engineer. He is techno Savvy and All he wishes to do in life is to get to know a lotta things....
He is always intrigued about learning new things.
His skills include C,C++,Java ,.NET.He also experience working in Legacy Systems. He feels most comfortable with C++ and Java.
Computers are his first love and he likes reading books, music and trekking.
He is a voracious reader and loves reading books. A Leo by birth, he loves trekking and gardening. One of his main ambitions is to write his autobiography, though he is not sure who will read it.