Blog Home  Home RSS 2.0 Atom 1.0 CDF  
CLYDE BARRETTO's BLOG - .NET etc. - Custom Controls
Visual Studio/.NET/Smart Client/SharePoint
 
 Sunday, September 30, 2007

I have used events in the past extensively when developing windows applications. I just discovered a new feature recently when developing a windows workflow application. The ability to execute Code when Host Programs Add\Remove\Raise Events in your custom control\object.

I have developed a sample project to demonstrate the custom event feature. When you run the solution click on the "Add Handler" and "Remove Handler" buttons, you will see custom code getting invoked. One needs to be familiar with the base windows event\delegate model before your understand what is happening here to appreciate it fully. 

Download CustomEvents.zip, unzip it and run the solution.

CustomEvents.zip (36.98 KB)
9/30/2007 10:43:21 PM (Eastern Standard Time, UTC-05:00)  #    Comments [15]   .NET 2.0 | Custom Controls | Developer Productivity | Smart Client | Visual Basic \ VB.Net | Visual Studio 2005 | Windows Forms  | 
 Monday, August 14, 2006

If your .NET solution contains projects that contain custom/user controls for windows/web forms these controls are automatically loaded into the toolbox so that they can be utilized on your forms. In some cases when there are a large number of controls in your project the solution seems to compile slowly or the toolbox seems to take quite some time to load. If you are facing such issues turn off the AutoToolboxPopulate property on the ToolsàOptionsàWindows Forms DesigneràGeneral tab.

8/14/2006 9:56:08 PM (Eastern Standard Time, UTC-05:00)  #    Comments [17]   .NET 2.0 | ASP.Net | Compile | Custom Controls | Designer | Developer Productivity | Performance | Visual Basic \ VB.Net | Visual Studio 2005  | 
 Saturday, June 10, 2006

I have uploaded the Mirosoft Reston Code Camp presentation and source code for my talk on custom controls (with data binding) at http://www.knowthycode.com/Downloads/20060608/WinForms_Custom_Controls_Presentation_Clyde.zip

6/10/2006 10:26:08 AM (Eastern Standard Time, UTC-05:00)  #    Comments [9]   .NET 2.0 | Custom Controls | Developer Productivity | Smart Client | Visual Studio 2005 | Windows Forms  | 
 Friday, April 28, 2006
Designing and Debugging a User Control in DESIGNTIME and RUNTIME in Visual Studio 2003
4/28/2006 2:58:55 PM (Eastern Standard Time, UTC-05:00)  #    Comments [14]   Custom Controls | Smart Client | Visual Studio 2003 | Windows Forms  | 
 Wednesday, November 30, 2005
Designing and Testing a User Control in Visual Studio 2005 using the Test Container
11/30/2005 11:36:32 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]   Custom Controls | Smart Client | Visual Studio 2005 | Windows Forms  | 
 Wednesday, November 23, 2005
Smart Client Custom Controls Powerpoint Presentation and Source Code
11/23/2005 2:44:42 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]   Custom Controls | Smart Client | Visual Studio 2005 | Windows Forms  | 
Copyright © 2012 Clyde Barretto. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: