|
|
|
|
|
Total Hits: 143 | Today: 0
|
|
Rating:
|
|

How simple it is to use the event arguments available in the event handler. We can get the current progress value and assign it to the progress bar (note: we are working with values of 0 to 100 so we can use the loop indexer, if we were not dealing with such numbers, you need to convert your values using mathematics so that the end result would be a percentage of 100). We can also access the Customer object that we passed by using the e.UserState property....
|
|
|
|
Total Hits: 46 | Today: 0
|
Author: Microsoft
|
Rating:
|
|

Sometimes you need to add some data to menu items. This article shows how you can accomplish that by adding a Tag property to System.Windows.Forms.Menu. First of all, we need to subclass the System.Windows.Forms.MenuItem class and declare all the constructors. Then add the desired public property (Tag) and a private field to support it (tag). Finally, we just need to override the methods needed to merge and clone menu items....
|
|
|
|
Total Hits: 81 | Today: 0
|
Author: J.D. , Alex, Blaine, Prashant, Jason, Rudolph
|
Rating:
|
|

This How To shows you how to perform security code reviews. This module presents the steps involved in the activity, and techniques for analyzing your results. Use this How To with Security Question List: Managed Code (.NET Framework 2.0) and Security Question List: ASP.NET 2.0. These companion question lists help you ask the right questions when performing a security code review....
|
|
|
|
Total Hits: 25 | Today: 0
|
Author: Microsoft
|
Rating:
|
|

In the Microsoft .NET Framework 1.1, the text on a TabControl control may not be displayed when the following conditions are true: • You use a Windows Forms application. • You use a TabControl control in the application. • You try to align the TabControl control on the left or on the right. • You enable visual styles for the application by using the EnableVisualStyles method....
|
|
|
|
Total Hits: 107 | Today: 0
|
Author: Microsoft
|
Rating:
|
|

The Microsoft .NET Framework 2.0 builds on the success of the Microsoft .NET Framework 1.0 and 1.1 to provide the best runtime environment for Web and Microsoft Windows client applications. Microsoft's compatibility goal for .NET Framework 1.1 applications is that they should work smoothly on the .NET Framework 2.0 except for a set of documented changes as provided here.This article discusses application compatibility scenarios and provides recommendations on best practices for developers to han...
|
|
|
|
Total Hits: 132 | Today: 0
|
|
Rating:
|
|

Coma separated validation: Email Validator now has the capability to validate comma separated email addresses. There are a number of domains that are known to exist, and have a high frequency of being added to your email list. Some of these Known/Accepted domains include "hotmail.com;aol.com; yahoo.com;usa.net;bigfoot.com;ibm.net;earthlink.net;mindspring.com;msn.com;uno.com;ibm.com;excite.com;geocities.com;compuserve.com;altavista.com;microsoft.com;netzero.net"....
|
|
|
|
Total Hits: 32 | Today: 0
|
Author: Ken Spencer
|
Rating:
|
|

This month I'll tackle a couple of questions that deal with objects. If at first they don't seem to be about objects, remember just about everything in the .NET Framework is a class that becomes an object when instantiated....
|
|
|
|
Total Hits: 202 | Today: 0
|
Author: Benjamin Wootton
|
Rating:
|
|

Code Access Security represents a fundamentally different way of controlling access rights to protected resources. Traditionally, permissions such as access to the file system, databases or network were allocated based on characteristics of the user. All processes executed by the user would assume an equivalent set of permissions....
|
|
|
|
Total Hits: 118 | Today: 0
|
|
Rating:
|
|

Many times an application will need to perform many actions that consume some time before they complete. During this time while the actions are being performed, the user interface becomes what appears to be “frozen” until the actions are complete. Some examples of actions that are performed are fetching data from a database or perhaps a long complex loop to do something. Any of these lengthy processes degrade our application user’s experience and can make a good application hard and frustrating ...
|
|
|
|
|
|