Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

main修正——点项

  • Loading branch information...
commit df852e5d1f616f34c961443401677cceda36c0a0 1 parent 189e631
qicb authored
4 Application/WorkStation.csproj
View
@@ -298,7 +298,9 @@
<EmbeddedResource Include="SiteNew.resx">
<DependentUpon>SiteNew.cs</DependentUpon>
</EmbeddedResource>
- <None Include="app.config" />
+ <None Include="app.config">
+ <SubType>Designer</SubType>
+ </None>
<None Include="Properties\Settings.settings">
<Generator>PublicSettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
8 Application/frmMain.Designer.cs
View
@@ -702,21 +702,21 @@ private void InitializeComponent()
// tsmixinjian1
//
this.tsmixinjian1.Name = "tsmixinjian1";
- this.tsmixinjian1.Size = new System.Drawing.Size(152, 22);
+ this.tsmixinjian1.Size = new System.Drawing.Size(118, 22);
this.tsmixinjian1.Text = "任务管理";
this.tsmixinjian1.Click += new System.EventHandler(this.tsmixinjian1_Click);
//
// tsmishenhe1
//
this.tsmishenhe1.Name = "tsmishenhe1";
- this.tsmishenhe1.Size = new System.Drawing.Size(152, 22);
+ this.tsmishenhe1.Size = new System.Drawing.Size(118, 22);
this.tsmishenhe1.Text = "任务审核";
this.tsmishenhe1.Click += new System.EventHandler(this.tsmishenhe1_Click);
//
// tsmixiafa1
//
this.tsmixiafa1.Name = "tsmixiafa1";
- this.tsmixiafa1.Size = new System.Drawing.Size(152, 22);
+ this.tsmixiafa1.Size = new System.Drawing.Size(118, 22);
this.tsmixiafa1.Text = "任务下发";
this.tsmixiafa1.Click += new System.EventHandler(this.tsmixiafa1_Click);
//
@@ -780,12 +780,14 @@ private void InitializeComponent()
this.tsmixunjiandian.Name = "tsmixunjiandian";
this.tsmixunjiandian.Size = new System.Drawing.Size(154, 22);
this.tsmixunjiandian.Text = "巡检点管理";
+ this.tsmixunjiandian.Click += new System.EventHandler(this.tsmixunjiandian_Click_1);
//
// tsmixunjianxiangs
//
this.tsmixunjianxiangs.Name = "tsmixunjianxiangs";
this.tsmixunjianxiangs.Size = new System.Drawing.Size(154, 22);
this.tsmixunjianxiangs.Text = "巡检项管理";
+ this.tsmixunjianxiangs.Click += new System.EventHandler(this.tsmixunjianxiangs_Click_1);
//
// tsmishebeixunjianxiang
//
16 Application/frmMain.cs
View
@@ -326,7 +326,7 @@ private void tsmishebeixunjianxiang_Click(object sender, EventArgs e)
frmAddMachine fm = new frmAddMachine();
fm.ShowDialog();
}
-
+ //巡检路线
private void tsmixunjianluxian_Click(object sender, EventArgs e)
{
frmAddRoute frm = new frmAddRoute();
@@ -404,6 +404,20 @@ private void tsmiDelMachine_Click(object sender, EventArgs e)
frmAddMachine machine = new frmAddMachine();
machine.Show();
}
+
+ // 巡检点
+ private void tsmixunjiandian_Click_1(object sender, EventArgs e)
+ {
+ frmAddPoint point = new frmAddPoint();
+ point.Show();
+ }
+
+ //巡检项
+ private void tsmixunjianxiangs_Click_1(object sender, EventArgs e)
+ {
+ frmAddItem item = new frmAddItem();
+ item.Show();
+ }
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.