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...
Not sure how many of you have needed to use the Microsoft.Ink SDK, but I am currently learning how to use the SDK on my current project. I have to say, that the reconizition that they provide is really, really good. The Ink SDK comes with a TextBox and a PictureBox, but I only need the Text Box, so that...
Have you ever wanted to create a ‘Busy’ or ‘Working’ windows so that your background processing that takes some time to complete does not appear to take that long? The good news is that in .net there is a pretty simple way to accomplish this and you don’t have to do any...
As a long time WinForms developer I always have had the need to swap out the current cursor (mouse pointer, not some database cursor) for another cursor, normally the ‘wait’ cursor, while performing some task after things such as a button click. In the past I have used some pretty straight...