Commit 6f61f07f LN

1

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