Skip to content
Browse files

Add Icon.

Add sample registry script.
Change Form1 reference to LoaderForm.
  • Loading branch information...
1 parent b93174f commit 5e30d4b724dcb77a0c3a456e33154d074d5a58c1 @dcramer committed Apr 5, 2010
View
8 MapLoader/LoaderForm.Designer.cs
@@ -60,18 +60,18 @@ private void InitializeComponent()
//
this.openFileDialog1.FileName = "openFileDialog1";
//
- // Form1
+ // LoaderForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(284, 69);
+ this.ClientSize = new System.Drawing.Size(283, 83);
this.Controls.Add(this.lblFilename);
this.Controls.Add(this.pbDownload);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
- this.Name = "Form1";
+ this.Name = "LoaderForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "MapLoader";
- this.Load += new System.EventHandler(this.Form1_Load);
+ this.Load += new System.EventHandler(this.LoaderForm_Load);
this.ResumeLayout(false);
this.PerformLayout();
View
2 MapLoader/LoaderForm.cs
@@ -24,7 +24,7 @@ public LoaderForm()
InitializeComponent();
}
- private void Form1_Load(object sender, EventArgs e)
+ private void LoaderForm_Load(object sender, EventArgs e)
{
// ==========================================================
View
5 MapLoader/MapLoader.csproj
@@ -12,6 +12,9 @@
<AssemblyName>MapLoader</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <StartupObject>
+ </StartupObject>
+ <ApplicationIcon>nibbits.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -97,6 +100,8 @@
<Content Include="extensions.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
+ <Content Include="nibbits.ico" />
+ <None Include="loader.reg" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
View
BIN MapLoader/loader.reg
Binary file not shown.
View
BIN MapLoader/nibbits.ico
Binary file not shown.

0 comments on commit 5e30d4b

Please sign in to comment.
Something went wrong with that request. Please try again.