Contents tagged with windows Forms
-
Using Enviroment.FastFail method to exit the corrupt application Process
Have you ever had some point in code where you want to exit the application immediately? Normally for this purpose you would use the Application.Exit method. But Microsoft has provided a better method for this purpose which not only just exits the application but also adds a message to the Windows Application event log.
-
Assigning Multiple FontStyle to a single instance of font class in Dot net Windows Application
Hi,
While working with Textbox in a windows application I wanted to show the text of the textbox to be both Bold and Underlined. I had to do this based on certain condition.