You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
2.9 KiB
109 lines
2.9 KiB
<?xml version="1.0"?> |
|
<Template originator = "Mike Krueger" |
|
created = "06/10/2001" |
|
lastModified = "14/01/2006"> |
|
|
|
<!-- Template Header --> |
|
<TemplateConfiguration> |
|
<Name>${res:Templates.Project.UserControlLibrary.Name}</Name> |
|
<Category>C#</Category> |
|
<Subcategory>${res:Templates.File.Categories.WindowsApplications}</Subcategory> |
|
<Icon>C#.Project.ControlLibrary</Icon> |
|
<LanguageName>C#</LanguageName> |
|
<Description>${res:Templates.Project.UserControlLibrary.Description}</Description> |
|
</TemplateConfiguration> |
|
|
|
<!-- Actions --> |
|
<Actions> |
|
<Open filename = "UserControl1.cs"/> |
|
</Actions> |
|
|
|
<Combine name = "${ProjectName}" directory = "."> |
|
<Options> |
|
<StartupProject>${ProjectName}</StartupProject> |
|
</Options> |
|
|
|
<Project name = "${ProjectName}" directory = "."> |
|
<Options OutputType = "Library" /> |
|
|
|
<ProjectItems> |
|
<Reference Include="System" /> |
|
<Reference Include="System.Data" /> |
|
<Reference Include="System.Drawing" /> |
|
<Reference Include="System.Windows.Forms" /> |
|
<Reference Include="System.Xml" /> |
|
</ProjectItems> |
|
|
|
<Files> |
|
<File name="UserControl1.cs"><![CDATA[${StandardHeader.C#} |
|
using System; |
|
using System.Collections.Generic; |
|
using System.ComponentModel; |
|
using System.Drawing; |
|
using System.Windows.Forms; |
|
|
|
namespace ${StandardNamespace} |
|
{ |
|
/// <summary> |
|
/// Description of UserControl1. |
|
/// </summary> |
|
public partial class UserControl1 |
|
{ |
|
public UserControl1() |
|
{ |
|
// |
|
// The InitializeComponent() call is required for Windows Forms designer support. |
|
// |
|
InitializeComponent(); |
|
|
|
// |
|
// TODO: Add constructor code after the InitializeComponent() call. |
|
// |
|
} |
|
} |
|
}]]></File> |
|
<File name="UserControl1.Designer.cs" dependentUpon="UserControl1.cs" language="C#"><![CDATA[${StandardHeader.C#} |
|
namespace ${StandardNamespace} |
|
{ |
|
partial class UserControl1 : System.Windows.Forms.UserControl |
|
{ |
|
/// <summary> |
|
/// Designer variable used to keep track of non-visual components. |
|
/// </summary> |
|
private System.ComponentModel.IContainer components = null; |
|
|
|
/// <summary> |
|
/// Disposes resources used by the form. |
|
/// </summary> |
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
|
protected override void Dispose(bool disposing) |
|
{ |
|
if (disposing) { |
|
if (components != null) { |
|
components.Dispose(); |
|
} |
|
} |
|
base.Dispose(disposing); |
|
} |
|
|
|
/// <summary> |
|
/// 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. |
|
/// </summary> |
|
private void InitializeComponent() |
|
{ |
|
// |
|
// UserControl1 |
|
// |
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
this.Name = "UserControl1"; |
|
} |
|
} |
|
} |
|
]]></File> |
|
<File name="AssemblyInfo.cs" src="DefaultAssemblyInfo.cs"/> |
|
</Files> |
|
</Project> |
|
</Combine> |
|
</Template>
|
|
|