Commit 6f61f07f LN

1

1 个父辈 44143efd
namespace ProCopyClient
{
partial class Form1
partial class FrmMain
{
/// <summary>
/// 必需的设计器变量。
......@@ -33,7 +33,7 @@
//
// button1
//
this.button1.Location = new System.Drawing.Point(135, 46);
this.button1.Location = new System.Drawing.Point(141, 72);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(172, 69);
this.button1.TabIndex = 0;
......@@ -41,13 +41,13 @@
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Form1
// FrmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(463, 215);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Name = "FrmMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "客户端复制";
this.ResumeLayout(false);
......
......@@ -11,9 +11,9 @@ using System.Windows.Forms;
namespace ProCopyClient
{
public partial class Form1 : Form
public partial class FrmMain : Form
{
public Form1()
public FrmMain()
{
InitializeComponent();
}
......@@ -34,11 +34,11 @@ namespace ProCopyClient
if (Directory.Exists(leftPath))
{
Directory.Delete(leftPath);
Directory.Delete(leftPath,true);
}
if (Directory.Exists(rightPath))
{
Directory.Delete(rightPath);
Directory.Delete(rightPath,true);
}
Directory.CreateDirectory(leftPath);
Directory.CreateDirectory(rightPath);
......
......@@ -46,16 +46,16 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<Compile Include="FrmMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
<Compile Include="FrmMain.Designer.cs">
<DependentUpon>FrmMain.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
<EmbeddedResource Include="FrmMain.resx">
<DependentUpon>FrmMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
......
......@@ -16,7 +16,7 @@ namespace ProCopyClient
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
Application.Run(new FrmMain());
}
}
}
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!