Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

    Sample Code Sample Code RSS feed

  • Using the Credential Management API

    by alan.dean

    Following secure development best practice, an application should obtain and store user credentials securely. Microsoft has provided a means to accomplish this on the desktop: the unmanaged Credential Management API, which exposes the capability to provide a standard login experience for the user which is also secure. This code demonstrates how to create a generic dialog implementation using this API.. Read full article

  • Windows Forms and the Idle Loop

    by mtaulty

    When you're writing Windows Forms applications it's always nice to be able to keep the UI responsive in order to avoid frustrating the user. Here's a method of completing your asynchronous work on the Application Idle loop rather than allowing another thread to wander into your Windows Forms code and then trying to deal with it by Control.Invoke.. Read full article

  • Modify a Window's System Menu

    by stevencohn

    How to add an additional menu item to a windows system menu.. Read full article

  • Capture a Screen Shot

    by James Crowley

    Demonstrates how to capture a screen shot of the entire desktop, or a particular window in C# or VB.NET.. Read full article

  • UI Threading Helper Classes

    by RoyOsherove

    One of the most cumbersome things you will ever have to do with Winforms is updating your User interface while receiving events from another thread. These helper classes make it a breeze.. Read full article

  • System Menu Classes

    by Michael H

    Two classes that provide system menu functionality similar to the regular Menu and MenuItem classes so that you can use regular Click events instead of overriding WndProc.. Read full article

  • User-Friendly Validation using ErrorProvider

    by divil

    Data entry is a very important part of a lot of applications. It is important to validate data as it is entered without disturbing the user. Enter the ErrorProvider component.. Read full article

  • Using the NotifyIcon control

    by Rollershade

    This short article describes how to use the NotifyIcon in your applications and how to add menus to the icon.. Read full article

  • Create Controls At Runtime

    by Rollershade

    Shows how to create controls at runtime and set their properties. Read full article

  • Data Entry Validation with Error Provider

    by Rollershade

    This example code uses the errorProvider control which ships with c# to validate data entry and shows the error icon if validation is not correct. Read full article