Archive for the ‘.Net Framework’ Category

Partitioning Your Code Base Through .NET Assemblies and Visual Studio Projects

This article is aimed at Providing a list of DO and DON’T when it comes to partitioning a code base into .NET assemblies and Visual Studio projects. Shedding light on.NET code componentization and packaging. Suggesting ways of organizing the development environment more effectively. The aim of this is to increase the speed of .NET developer […]

Hitting the Ground Running with Parallel Extensions in .NET 4.0

Over the next few years, your users will begin replacing their current computers with newer machines containing increasing numbers of of multi-core processors, and they’ll expect your software to make that investment pay off. Although concurrent programming and the tools associated with it has traditionally been an arena reserved only for the true gurus of […]

LINQ Lycanthropy: Transformations into LINQ

Contents A Brief LINQ Introduction LINQ Operations LINQ Providers The Two Faces of LINQ LINQ to Objects Declarative vs. Imperative Design The Transformation Target First Pass: Pseudo-Code Second Pass: Imperative Code The Journey to LINQ What Can You Gain From LINQ? Conversion Stage A Conversion Stage B Conversion Stage C Conversion Stage D Conversion Stage […]

Extending user control and IDE/VS.NET Toolbox

Extending user control and IDE Toolbox Download demo project – 1000 Kb Introduction What is it? ctxtbx inherits from TextBox (System.Windows.Forms). Control extension: If the length of the character string in the textbox (ctxtbx.Text.Length) exceeds a specified number of characters (ctxt.FlashLength), the textbox starts flashing, to indicate to the user that the entered character string […]

Calling parent form functions from a user control

The Button inside the User Control raises the Button OnClick event on the form and typing inside the User Control TextBox replicates the text inside the Form’s TextBox. Download UserControlEvents – 43.8 KB User control usage usually requires developing communication between parent form and a user control. Accessing user controls can be easily done through […]

Image Viewer User Control with Preview Capability

This article discusses the construction of an image viewer user control that may be used to display images from a directory containing a collection of image files. Download source – 144.67 KB Introduction This article discusses the construction of an image viewer user control that may be used to display images from a directory containing […]

Defining User Controls for .Net Windows Applications

Despite the wide range of controls that are part of the .Net framework, you may find that a custom control is the best solution to your application’s needs. Find out how to design and build a user control with a custom visual interface and its own propert. The concept of a control is important in […]

C# – State Pattern Example

The State Pattern is a common Object Oriented Design Pattern that allows an object to alter its behavior dynamically by changing its internal state. Download demo project – 16.4 Kb Introduction The State Pattern is a common Object Oriented Design Pattern that allows an object to alter its behavior dynamically by changing its internal state. […]

Adapter Design Pattern – How to use in ASP.NET using C#

How to use the Adapter Design Pattern in ASP.NET using C# What is the Adapter Pattern? The Adapter pattern is a structural design pattern which enables a system to use classes whose interfaces don’t quite match its requirements or in other words is used to make an interface which the client understands. When to Use […]

Factory Design pattern

This article describes the commonly used design pattern: The Factory Design Pattern. Download source files – 11.28 KB Download demo project – 4.05 KB Introduction While designing software, we generally think of high-level abstraction. By doing so, we can reduce the complexity by reducing the dependency. One such abstraction is the software design patterns. They have […]

Powered by WordPress | Compare Cell Phone Plans at iCellPhonePlans.com | Thanks to Cheap Palm Pixi, Bromoney and Wordpress Themes