For some operations such as logging on to a web site or downloading a web page, you may not know how long it will take the operation to finish. So instead of showing a progress bar with a specified percent complete, you can set the .NET ProgressBar to cycle continuously.
Popularity: 42% [?]
Methods that affect a Windows Forms control can be executed only on the thread that created the control. .NET does not permit directly manipulating controls across threads. The Visual Studio compiler under .NET 2.0 will mark these attempts as errors. .NET 1.1 will allow them, but these will often result in unexpected behavior like incorrectly-painted controls.
Popularity: 52% [?]
NotifyIcon is .NET's version of the system tray icon, those little icons that appear next to the clock in the Windows Start bar. .NET 2.0 added the ability to display a pop-up balloon tip pointing at a tray icon. However, this capability doesn't always work as you would expect.
Popularity: 72% [?]
Handling keyboard shortcuts in your application can sometimes get a bit tricky. Consider the standard Ctrl+C shortcut, which every application should support as a "Copy" to clipboard command. When you users type in textboxes in your application's form, they will expect that Ctrl+C will copy the selected text. But this feature is not supported by default; you have to explicitly write some code.
Popularity: 37% [?]
The DataGridView is a terrific control built into .NET that provides a customizable table for entering and displaying data. If you provide the DataGridView in your software as a means for the user to enter multiple rows of data, you may wish to redefine the default behavior of the Enter key. Read the rest of this entry »
Popularity: 28% [?]
When you show a .NET Form, by default the form will appear in the Windows Start bar and in the list of open windows shown when the user presses Alt+Tab.
Popularity: 38% [?]
You may wish to enable your WinForms application to run from a console window or command line. And when it does, you probably want to send output messages to the console window that launched your WinForms application.
Unfortunately Console.WriteLine()–the standard method of writing to the console window–by default will not work from a WinForms application. That's because the console window that launched your WinForms application belongs to the cmd.exe process, which is separate from your WinForms application process.
Popularity: 36% [?]
If you use images in a .NET application, chances are you will find it more convenient to embed those images as resources in your project, rather than leaving them as separate files and trying to locate and load the images from disk when the application runs.
Popularity: 34% [?]

