The System.ComponentModel namespace (more information here ) in .Net contains an array of various attributes that every .Net developer should know about. These attributes provide a way for the developer to implement design-time and run-time behavior on both controls and components. In addition...
As someone how has been designing and developing WinForms based applications for the past 7+ years, I have learned that subclassing UI controls is a must. You may be thinking, why would I want to subclass a text box? Or a combo box? The answer is simple, the better future proof your app. How many times...
One of the new cool new classes in .net 2.0 is the PowerStatus class ( http://msdn2.microsoft.com/en-us/library/system.windows.forms.systeminformation.powerstatus(VS.80).aspx ). You can use this class to get information about the battery life of your mobile computer. In my case this is for a Tablet PC...
On my current project I wanted a way to help maintain our application after deployment. Sure I have added logging, I have added the ability to email the stack trace to an email account, but neither of these will tell me exactly what the user was actually doing at the time of the exception. And my experience...
So, today I needed to create a 'password' entry text box for my application at work. I needed to have this perform like every other password text box, but I also needed the text box to be MUCH larger than normal (the application is for Tablet PC and everything is over sized). I set the UseSystemPasswordChar...