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).
Property | Description |
---|---|
CompanyName | Company name associated with the application |
CurrentCulture | Culture information for the current thread |
CurrentInputLanguage | Input language for the current thread |
ExecutablePath ... |
Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.