[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8594
  • Last Modified:

C# How to create and display an About dialog box?

Beginner's question:

I have form1.cs as my main program with an About... menu item in its window.

Next step for me is to create an About dialog box and display it when the About... menu item is clicked.

Do I create a new form for About? And how do I bring it up?

Thanks.
0
rj94070
Asked:
rj94070
1 Solution
 
AlexFMCommented:
Add new About form to the project and place on it any information you need using Form Designer.
To show it from About menu item add handler to menu item (double-click it) and fill it by the following way:

        private void menuHelpAbout_Click(object sender, System.EventArgs e)
        {
            FormAbout frm = new FormAbout();    // set here your About form name
            frm.ShowDialog(this);
        }
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now