Duration: 17 minutes
Summary: In this video we will continue our discussion of the inventory tracking windows application. We will start with the About Box. We will add the form to the project, add a menu item under Help menu and tie the menu item to the form. Now when we click the menu item, the About Box is displayed. The important part though is how the form is getting its information. When we investigate the code, we will find that the properties are retrieving the running assembly and querying the assembly to get the title, version...
Next, we will discuss exiting the application. The user can exit the application either through the exit menu item, or through the x button on the top right corner. The reason I am bringing this up is that we will be implementing the form closing event to give the user the option of undoing the exit and keeping the application running.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: Windows Application and Visual Studio 2010
Keyword: Visual Studio 2010, Applilcation, Exit, FormClosing, DialogResult, MessageBox, FormClosingEventArgs, ShowDialog, Assembly, GetExecutingAssembly, GetCustomAttributes, AssemblyTitleAttribute.