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.
156 lines
4.1 KiB
156 lines
4.1 KiB
<?xml version="1.0"?> |
|
<Template originator = "Mike Krueger" |
|
created = "06/10/2001" |
|
lastModified = "14/01/2006"> |
|
|
|
<!-- Template Header --> |
|
<TemplateConfiguration> |
|
<Name>${res:Templates.Project.WindowsApplication.Name}</Name> |
|
<Category>C#</Category> |
|
<Subcategory>Compact Framework</Subcategory> |
|
<Icon>C#.Project.Form</Icon> |
|
<LanguageName>C#</LanguageName> |
|
<Description>${res:Templates.Project.WindowsApplication.Description}</Description> |
|
</TemplateConfiguration> |
|
|
|
<!-- Actions --> |
|
<Actions> |
|
<Open filename = "MainForm.cs"/> |
|
</Actions> |
|
|
|
<Combine name = "${ProjectName}" directory = "."> |
|
<Options> |
|
<StartupProject>${ProjectName}</StartupProject> |
|
</Options> |
|
|
|
<Project name = "${ProjectName}" directory = "."> |
|
<Options OutputType = "WinExe" /> |
|
|
|
<ProjectItems> |
|
<Reference Include="System" /> |
|
<Reference Include="System.Data" /> |
|
<Reference Include="System.Drawing" /> |
|
<Reference Include="System.Windows.Forms" /> |
|
<Reference Include="System.Xml" /> |
|
<Reference Include="Microsoft.WindowsCE.Forms.dll" /> |
|
</ProjectItems> |
|
|
|
<PropertyGroup> |
|
<PlatformFamilyName>PocketPC</PlatformFamilyName> |
|
<PlatformID>WinCE</PlatformID> |
|
</PropertyGroup> |
|
|
|
<Imports clear="true"> |
|
<Import Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.Targets" /> |
|
</Imports> |
|
|
|
<Files> |
|
<File name="MainForm.cs" language="C#"><![CDATA[${StandardHeader.C#} |
|
|
|
using System; |
|
using System.Collections.Generic; |
|
using System.Drawing; |
|
using System.Windows.Forms; |
|
|
|
namespace ${StandardNamespace} |
|
{ |
|
/// <summary> |
|
/// Description of MainForm. |
|
/// </summary> |
|
public partial class MainForm |
|
{ |
|
[STAThread] |
|
public static void Main(string[] args) |
|
{ |
|
Application.Run(new MainForm()); |
|
} |
|
|
|
public MainForm() |
|
{ |
|
// |
|
// The InitializeComponent() call is required for Windows Forms designer support. |
|
// |
|
InitializeComponent(); |
|
|
|
// |
|
// TODO: Add constructor code after the InitializeComponent() call. |
|
// |
|
} |
|
} |
|
} |
|
]]></File> |
|
<File name="MainForm.Designer.cs" dependentUpon="MainForm.cs" language="C#"><![CDATA[${StandardHeader.C#} |
|
namespace ${StandardNamespace} |
|
{ |
|
partial class MainForm : System.Windows.Forms.Form |
|
{ |
|
/// <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() |
|
{ |
|
// |
|
// MainForm |
|
// |
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; |
|
this.ClientSize = new System.Drawing.Size(238, 295); |
|
this.Text = "${ProjectName}"; |
|
this.Name = "MainForm"; |
|
} |
|
} |
|
} |
|
]]></File> |
|
<File name="AssemblyInfo.cs" language="C#"> |
|
<![CDATA[using System.Reflection; |
|
using System.Runtime.CompilerServices; |
|
|
|
// Information about this assembly is defined by the following |
|
// attributes. |
|
// |
|
// change them to the information which is associated with the assembly |
|
// you compile. |
|
|
|
[assembly: AssemblyTitle("")] |
|
[assembly: AssemblyDescription("")] |
|
[assembly: AssemblyConfiguration("")] |
|
[assembly: AssemblyCompany("")] |
|
[assembly: AssemblyProduct("")] |
|
[assembly: AssemblyCopyright("")] |
|
[assembly: AssemblyTrademark("")] |
|
[assembly: AssemblyCulture("")] |
|
|
|
// The assembly version has following format : |
|
// |
|
// Major.Minor.Build.Revision |
|
// |
|
// You can specify all values by your own or you can build default build and revision |
|
// numbers with the '*' character (the default): |
|
|
|
[assembly: AssemblyVersion("1.0.*")] |
|
|
|
]]></File> |
|
</Files> |
|
</Project> |
|
</Combine> |
|
</Template>
|
|
|