Click here to Skip to main content
15,886,806 members
Articles / Programming Languages / C#

Targeting Design-Time Events of User Controls

Rate me:
Please Sign up or sign in to vote.
4.63/5 (24 votes)
22 Mar 2006CPOL6 min read 113.7K   1K   48  
The article will go over various design-time features including smart tags, menu items, adornments.
/* ************************************************************
 * Code Copyright 2006 by the author of 'Targeting Design-Time Events of User Controls' 
 * article that can be found at TheCodeProject.com.  
 * 
 * This code is distributed under the GPL license
 * 
 * This copyright notice is not to be removed at any time
 * 
 * ===========================================================================
 * Program.cs
 * ************************************************************
 */
using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace TheCodeProject_DesignTimeEnhancements
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer University of Michigan-Flint
United States United States
I am currently a Database Administrator & Developer for the International Center at the University of Michigan. My expertise is GUI design with WinForms and WPF.

Comments and Discussions