${res:Templates.File.WindowsUserControl.Description}
/// Designer variable used to keep track of non-visual components.
///
private System.ComponentModel.IContainer components = null;
///
/// Disposes resources used by the control.
///
/// true if managed resources should be disposed; otherwise, false.
protected override void Dispose(bool disposing)
{
if (disposing) {
if (components != null) {
components.Dispose();
}
}
base.Dispose(disposing);
}
///
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually.
///
private void InitializeComponent()
{
//
// ${ClassName}
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Name = "${ClassName}";
}
}
}
]]>
/// Description of ${ClassName}.
///
public partial class ${ClassName} : UserControl
{
public ${ClassName}()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
//
// TODO: Add constructor code after the InitializeComponent() call.
//
}
}
}
]]>