O'Reilly logo

Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) by Priti Kalani, Amit Kalani, Kalani Kirk Hausman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Classes

Many classes included in the Framework class library (FCL) can be used within your application. Many of these classes provide methods, properties, and events that are used to perform specific tasks in your application.

The Application Class

An Application class provides properties that the code can use to obtain information about the current application (see Table 1.1), as well as provide methods to start and close an application, and to process windows messages (see Table 1.2).

Table 1.1. Important Static Properties of the Application Class
PropertyDescription
CompanyNameCompany name associated with the application
CurrentCultureCulture information for the current thread
CurrentInputLanguageInput language for the current thread
ExecutablePath ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required