Archive for the ‘windows forms’ Category
Thursday, February 7th, 2008
On a recent project, I had the need to detect whether or not the application is idle, and if so, for how long has the idle state persisted. Idle in my case is defined as no mouse movement or keyboard activity when any of the forms of the application are ...
Posted in c#, windows forms | 2 Comments »
Monday, March 19th, 2007
In a WinForms project that I am working on right now, I have text stored in HTML format in the database. I need a way for novice users to be able to edit this text using a WYSIWYG interface.
The most obvious choice for this in the Windows.Forms control library that ...
Posted in Articles, Code, c#, windows forms | 1 Comment »
Friday, March 2nd, 2007
In my current project, I would like to log all Windows Forms errors, including those that are not caught explicitly. Lacking a built-in method (like Application_Error in the Global.asax file of an ASP.net application), I needed another way to easily catch all errors. After a bit of searching, I ...
Posted in Articles, Code, c#, windows forms | 1 Comment »
Sunday, January 28th, 2007
In a Windows Forms application that I am working on, I had the following scenario: while the main form (Main.cs) is loading, I prompt the user to prove their credentials. If they are unable to do so, the form is closed (using this.close) and application execution is halted.
The problem is, ...
Posted in Articles, c#, windows forms | 7 Comments »
Thursday, January 18th, 2007
So I am in the middle of building a pretty substantial Windows Forms application in .Net 2.0/C#, which will rely very heavily on database integration. Currently development is proceeding using Sql Server Express 2005 for the database server. It is a very robust product that supports anything that you can ...
Posted in Code, Misc, windows forms | 2 Comments »
Tuesday, December 19th, 2006
I am right now in the middle (about 20% and 18K lines of code through) a pretty substantial Windows Forms project using Visual Studio 2005 (C#). Here are some of the add-ins that I have been using (ranked in order of essential to useful):
Posted in Code, WebDev, c#, windows forms | 9 Comments »