Permalink
Browse files

语法修正frmMain

  • Loading branch information...
1 parent fd542ec commit cfc702b97288aa71cb0e4db1249e6b0d24bb4bae qicb committed Oct 30, 2012
Showing with 15 additions and 12 deletions.
  1. +5 −5 Application/frmMain.Designer.cs
  2. +10 −7 Application/frmMain.cs

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -73,14 +73,14 @@ private void btnTask_Click(object sender, EventArgs e)
TreeNode type_Delete = new TreeNode("删除");
root1.Nodes.Add(type_Delete);
- TreeNode type_shenhe1= new TreeNode("审核");
+ TreeNode type_shenhe1 = new TreeNode("审核");
root1.Nodes.Add(type_shenhe1);
- TreeNode type_xiafa= new TreeNode("下发");
+ TreeNode type_xiafa = new TreeNode("下发");
root1.Nodes.Add(type_xiafa);
TreeNode type_Exits = new TreeNode("退出");
- root1.Nodes.Add(type_Exits);
+ root1.Nodes.Add(type_Exits);
}
@@ -102,7 +102,7 @@ private void btnReport_Click(object sender, EventArgs e)
root1.Nodes.Add(type_chuqin);
TreeNode type_dianjian = new TreeNode("点检异常统计");
- root1.Nodes.Add(type_dianjian);
+ root1.Nodes.Add(type_dianjian);
}
@@ -201,7 +201,7 @@ private void tsmixunjianluxian_Click(object sender, EventArgs e)
frmAddRoute frm = new frmAddRoute();
frm.Left = this.Left + (this.Width - frm.Width) / 2;
frm.Top = this.Top + (this.Height - frm.Height) / 2;
- frm.Show() ;
+ frm.Show();
}
private void tsmixinjian1_Click(object sender, EventArgs e)
@@ -222,13 +222,16 @@ private void tsmixiafa1_Click(object sender, EventArgs e)
add.ShowDialog();
}
- private void tsmigangweiAdd_Click(object sender, EventArgs e)
+ private void tsmigangweiAdd_Click(object sender, EventArgs e)
+ {
frmAddPost post = new frmAddPost();
post.Show();
+ }
private void tsmichangquAdd_Click(object sender, EventArgs e)
+ {
SiteNew site = new SiteNew();
site.Show();
-
+ }
private void tsmichangquEdit_Click(object sender, EventArgs e)
{
SiteEditDelete sitedel = new SiteEditDelete();

0 comments on commit cfc702b

Please sign in to comment.