In Depth Banner
Skip Navigation Links

Select your preferred language

Attribute Usage Examples

  /// <summary>

  /// Summary description for Form1.

  /// </summary>

  [

  ConfigurableProperty("Location"), //The Form will maintain the Location

  ConfigurableProperty("Size")      //and Size properties

  ]

  public class Form1 : System.Windows.Forms.Form

  {

    private WellFormed.EasyConfig easyConfig1;

 

    private System.Windows.Forms.Button button1;

 

    [

    Configurable(),    //The TextBox is configurable

    ConfigurableProperty("Text") //and will maintain it's "Text" property

    ]

    private System.Windows.Forms.TextBox textBox1;

 

Return to the article

Copyright © Bob Powell 2003-2009. All rights reserved