Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

提交项目的所有内容

  • Loading branch information...
commit fa454f182b49fa15b951f4006d1b47c2d289a7d5 1 parent a7686e6
@hefangli hefangli authored
Showing with 330 additions and 112 deletions.
  1. +11 −0 Application/ClassDiagram5.cd
  2. +8 −8 Application/SiteEditDelete.Designer.cs
  3. +12 −0 Application/SiteEditDelete.resx
  4. +5 −5 Application/SiteNew.Designer.cs
  5. +1 −0  Application/WorkStation.csproj
  6. +6 −6 Application/frmAddCard.Designer.cs
  7. +4 −4 Application/frmAddCard.cs
  8. +15 −0 Application/frmAddCard.resx
  9. +4 −4 Application/frmAddCompany.Designer.cs
  10. +0 −15 Application/frmAddCompany.resx
  11. +1 −1  Application/frmAddEmployee.Designer.cs
  12. +0 −3  Application/frmAddItem.resx
  13. +1 −1  Application/frmAddPoint.Designer.cs
  14. +0 −3  Application/frmAddPoint.resx
  15. +3 −3 Application/frmAddPost.Designer.cs
  16. +12 −0 Application/frmAddPost.resx
  17. +16 −16 Application/frmEditAndDeleteCard.Designer.cs
  18. +5 −5 Application/frmEditAndDeleteCard.cs
  19. +0 −15 Application/frmEditAndDeleteCard.resx
  20. +4 −4 Application/frmEditOrDeleteCompany.Designer.cs
  21. +3 −3 Application/frmEditOrDeleteEmployee.Designer.cs
  22. +6 −6 Application/frmEditOrDeletePost.Designer.cs
  23. +6 −0 Application/frmEditOrDeletePost.resx
  24. +1 −1  Application/frmIssueTask.Designer.cs
  25. +134 −9 Application/frmMain.Designer.cs
  26. +72 −0 Application/frmMain.cs
View
11 Application/ClassDiagram5.cd
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ClassDiagram MajorVersion="1" MinorVersion="1">
+ <Class Name="WorkStation.SiteEditDelete" Collapsed="true">
+ <Position X="0.5" Y="0.5" Width="1.5" />
+ <TypeIdentifier>
+ <HashCode>gQAAgCAABCIAABEAAADAgMACAAA4BBAAAQAAAAIAAQQ=</HashCode>
+ <FileName>SiteEditDelete.cs</FileName>
+ </TypeIdentifier>
+ </Class>
+ <Font Name="宋体" Size="9" />
+</ClassDiagram>
View
16 Application/SiteEditDelete.Designer.cs
@@ -54,10 +54,10 @@ private void InitializeComponent()
this.Column2,
this.Column3,
this.Column4});
- this.dgvSite.Location = new System.Drawing.Point(55, 21);
+ this.dgvSite.Location = new System.Drawing.Point(49, 21);
this.dgvSite.Name = "dgvSite";
this.dgvSite.RowTemplate.Height = 23;
- this.dgvSite.Size = new System.Drawing.Size(616, 163);
+ this.dgvSite.Size = new System.Drawing.Size(630, 163);
this.dgvSite.TabIndex = 7;
//
// Column1
@@ -86,7 +86,7 @@ private void InitializeComponent()
//
// btnCancel
//
- this.btnCancel.Location = new System.Drawing.Point(501, 283);
+ this.btnCancel.Location = new System.Drawing.Point(501, 290);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 17;
@@ -123,7 +123,7 @@ private void InitializeComponent()
//
// txtAlias
//
- this.txtAlias.Location = new System.Drawing.Point(136, 313);
+ this.txtAlias.Location = new System.Drawing.Point(136, 307);
this.txtAlias.Name = "txtAlias";
this.txtAlias.Size = new System.Drawing.Size(264, 21);
this.txtAlias.TabIndex = 12;
@@ -155,7 +155,7 @@ private void InitializeComponent()
//
// btnEdit
//
- this.btnEdit.Location = new System.Drawing.Point(442, 200);
+ this.btnEdit.Location = new System.Drawing.Point(501, 200);
this.btnEdit.Name = "btnEdit";
this.btnEdit.Size = new System.Drawing.Size(75, 23);
this.btnEdit.TabIndex = 18;
@@ -165,7 +165,7 @@ private void InitializeComponent()
//
// btnDelete
//
- this.btnDelete.Location = new System.Drawing.Point(558, 200);
+ this.btnDelete.Location = new System.Drawing.Point(604, 200);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new System.Drawing.Size(75, 23);
this.btnDelete.TabIndex = 19;
@@ -177,7 +177,7 @@ private void InitializeComponent()
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(734, 445);
+ this.ClientSize = new System.Drawing.Size(734, 429);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnEdit);
this.Controls.Add(this.btnCancel);
@@ -190,7 +190,7 @@ private void InitializeComponent()
this.Controls.Add(this.lblName);
this.Controls.Add(this.dgvSite);
this.Name = "SiteEditDelete";
- this.Text = "SiteEditDelete";
+ this.Text = "编辑及删除厂区";
this.Load += new System.EventHandler(this.SiteEditDelete_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvSite)).EndInit();
this.ResumeLayout(false);
View
12 Application/SiteEditDelete.resx
@@ -129,4 +129,16 @@
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
+ <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
</root>
View
10 Application/SiteNew.Designer.cs
@@ -102,10 +102,10 @@ private void InitializeComponent()
this.Column2,
this.Column3,
this.Column4});
- this.dgvSite.Location = new System.Drawing.Point(61, 178);
+ this.dgvSite.Location = new System.Drawing.Point(46, 181);
this.dgvSite.Name = "dgvSite";
this.dgvSite.RowTemplate.Height = 23;
- this.dgvSite.Size = new System.Drawing.Size(594, 157);
+ this.dgvSite.Size = new System.Drawing.Size(621, 170);
this.dgvSite.TabIndex = 6;
//
// Column1
@@ -134,7 +134,7 @@ private void InitializeComponent()
//
// btnSave
//
- this.btnSave.Location = new System.Drawing.Point(497, 33);
+ this.btnSave.Location = new System.Drawing.Point(497, 38);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(75, 23);
this.btnSave.TabIndex = 7;
@@ -144,7 +144,7 @@ private void InitializeComponent()
//
// btnCancel
//
- this.btnCancel.Location = new System.Drawing.Point(497, 77);
+ this.btnCancel.Location = new System.Drawing.Point(497, 110);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 8;
@@ -172,7 +172,7 @@ private void InitializeComponent()
this.Controls.Add(this.txtName);
this.Controls.Add(this.lblName);
this.Name = "SiteNew";
- this.Text = "SiteNew";
+ this.Text = "新建厂区";
this.Load += new System.EventHandler(this.SiteNew_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvSite)).EndInit();
this.ResumeLayout(false);
View
1  Application/WorkStation.csproj
@@ -266,6 +266,7 @@
<None Include="ClassDiagram2.cd" />
<None Include="ClassDiagram3.cd" />
<None Include="ClassDiagram4.cd" />
+ <None Include="ClassDiagram5.cd" />
<None Include="Properties\Settings.settings">
<Generator>PublicSettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
View
12 Application/frmAddCard.Designer.cs
@@ -142,10 +142,10 @@ private void InitializeComponent()
this.Column3,
this.Column4,
this.Column5});
- this.dataGridView1.Location = new System.Drawing.Point(33, 222);
+ this.dataGridView1.Location = new System.Drawing.Point(22, 222);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
- this.dataGridView1.Size = new System.Drawing.Size(625, 162);
+ this.dataGridView1.Size = new System.Drawing.Size(636, 162);
this.dataGridView1.TabIndex = 10;
//
// Column1
@@ -168,7 +168,7 @@ private void InitializeComponent()
//
// Column4
//
- this.Column4.DataPropertyName = "PurposeName";
+ this.Column4.DataPropertyName = "Meaning";
this.Column4.HeaderText = "用途";
this.Column4.Name = "Column4";
//
@@ -197,7 +197,7 @@ private void InitializeComponent()
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(709, 450);
+ this.ClientSize = new System.Drawing.Size(709, 419);
this.Controls.Add(this.button1);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.comboBox1);
@@ -232,12 +232,12 @@ private void InitializeComponent()
private System.Windows.Forms.Button btnAdd;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.DataGridView dataGridView1;
+ private System.ComponentModel.BackgroundWorker bwkLoadData;
+ private System.Windows.Forms.Button button1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
- private System.ComponentModel.BackgroundWorker bwkLoadData;
- private System.Windows.Forms.Button button1;
}
}
View
8 Application/frmAddCard.cs
@@ -23,7 +23,7 @@ public frmAddCard()
/// </summary>
public void Bind()
{
- string sql2 = "select ID,Name,Alias,RFID,PurposeName from Rfid,RfidPurpose where Rfid.Purpose = RfidPurpose.PurposeCode";
+ string sql2 = "select ID,Name,Alias,RFID,Meaning from Rfid,RfidPurpose where Rfid.Purpose = RfidPurpose.Code";
DataSet ds = SqlHelper.ExecuteDataset(sqlConnectionStr, CommandType.Text, sql2);
dataGridView1.DataSource = ds.Tables[0];
}
@@ -63,15 +63,15 @@ private void bwkLoadData_DoWork(object sender, DoWorkEventArgs e)
{
string sql2 = "select * from RfidPurpose ";
dsRfidPurpose = SqlHelper.ExecuteDataset(sqlConnectionStr, CommandType.Text, sql2);
- sql2 = "select ID,Name,Alias,RFID,PurposeName from Rfid,RfidPurpose where Rfid.Purpose = RfidPurpose.PurposeCode";
+ sql2 = "select ID,Name,Alias,RFID,Meaning from Rfid,RfidPurpose where Rfid.Purpose = RfidPurpose.Code";
dsRfid = SqlHelper.ExecuteDataset(sqlConnectionStr, CommandType.Text, sql2);
}
private void bwkLoadData_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{
comboBox1.DataSource = dsRfidPurpose.Tables[0];
- comboBox1.DisplayMember = "PurposeName";
- comboBox1.ValueMember = "PurposeCode";
+ comboBox1.DisplayMember ="Meaning";
+ comboBox1.ValueMember = "Code";
dataGridView1.DataSource = dsRfid.Tables[0];
}
View
15 Application/frmAddCard.resx
@@ -132,6 +132,21 @@
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
+ <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
<metadata name="bwkLoadData.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
View
8 Application/frmAddCompany.Designer.cs
@@ -140,10 +140,10 @@ private void InitializeComponent()
this.Column3,
this.Column4,
this.Column5});
- this.dataGridView1.Location = new System.Drawing.Point(87, 235);
+ this.dataGridView1.Location = new System.Drawing.Point(25, 216);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
- this.dataGridView1.Size = new System.Drawing.Size(562, 150);
+ this.dataGridView1.Size = new System.Drawing.Size(666, 177);
this.dataGridView1.TabIndex = 10;
//
// Column1
@@ -180,7 +180,7 @@ private void InitializeComponent()
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(771, 486);
+ this.ClientSize = new System.Drawing.Size(771, 452);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnAdd);
@@ -193,7 +193,7 @@ private void InitializeComponent()
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "frmAddCompany";
- this.Text = "frmAddCompany";
+ this.Text = "新建公司";
this.Load += new System.EventHandler(this.frmAddCompany_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
View
15 Application/frmAddCompany.resx
@@ -132,19 +132,4 @@
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
- <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
- <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
- <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
- <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
- <metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
</root>
View
2  Application/frmAddEmployee.Designer.cs
@@ -195,7 +195,7 @@ private void InitializeComponent()
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "frmAddEmployee";
- this.Text = "frmEmployeAdde";
+ this.Text = "新建人员";
this.Load += new System.EventHandler(this.frmAddEmployee_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
View
3  Application/frmAddItem.resx
@@ -120,7 +120,4 @@
<metadata name="chkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
- <metadata name="chkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
</root>
View
2  Application/frmAddPoint.Designer.cs
@@ -115,7 +115,7 @@ private void InitializeComponent()
//
// btnUpdate
//
- this.btnUpdate.Location = new System.Drawing.Point(509, 124);
+ this.btnUpdate.Location = new System.Drawing.Point(518, 124);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.Size = new System.Drawing.Size(75, 23);
this.btnUpdate.TabIndex = 9;
View
3  Application/frmAddPoint.resx
@@ -120,7 +120,4 @@
<metadata name="chkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
- <metadata name="chkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
</root>
View
6 Application/frmAddPost.Designer.cs
@@ -121,10 +121,10 @@ private void InitializeComponent()
this.Column2,
this.Column3,
this.Column4});
- this.dataGridView1.Location = new System.Drawing.Point(31, 187);
+ this.dataGridView1.Location = new System.Drawing.Point(24, 187);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
- this.dataGridView1.Size = new System.Drawing.Size(579, 182);
+ this.dataGridView1.Size = new System.Drawing.Size(601, 182);
this.dataGridView1.TabIndex = 10;
//
// Column1
@@ -166,7 +166,7 @@ private void InitializeComponent()
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "frmAddPost";
- this.Text = "frmAddPost";
+ this.Text = "新建岗位";
this.Load += new System.EventHandler(this.frmAddPost_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
View
12 Application/frmAddPost.resx
@@ -129,4 +129,16 @@
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
+ <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
</root>
View
32 Application/frmEditAndDeleteCard.Designer.cs
@@ -41,12 +41,12 @@ private void InitializeComponent()
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
+ this.button3 = new System.Windows.Forms.Button();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.button3 = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
@@ -70,7 +70,7 @@ private void InitializeComponent()
//
// BtnRead
//
- this.BtnRead.Location = new System.Drawing.Point(384, 288);
+ this.BtnRead.Location = new System.Drawing.Point(384, 283);
this.BtnRead.Name = "BtnRead";
this.BtnRead.Size = new System.Drawing.Size(75, 23);
this.BtnRead.TabIndex = 19;
@@ -163,12 +163,22 @@ private void InitializeComponent()
this.Column3,
this.Column4,
this.Column5});
- this.dataGridView1.Location = new System.Drawing.Point(75, 22);
+ this.dataGridView1.Location = new System.Drawing.Point(25, 22);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
- this.dataGridView1.Size = new System.Drawing.Size(559, 169);
+ this.dataGridView1.Size = new System.Drawing.Size(632, 169);
this.dataGridView1.TabIndex = 24;
//
+ // button3
+ //
+ this.button3.Location = new System.Drawing.Point(486, 397);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(75, 23);
+ this.button3.TabIndex = 25;
+ this.button3.Text = "取消";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
// Column1
//
this.Column1.DataPropertyName = "ID";
@@ -189,7 +199,7 @@ private void InitializeComponent()
//
// Column4
//
- this.Column4.DataPropertyName = "PurposeName";
+ this.Column4.DataPropertyName = "Meaning";
this.Column4.HeaderText = "用途";
this.Column4.Name = "Column4";
//
@@ -199,16 +209,6 @@ private void InitializeComponent()
this.Column5.HeaderText = "标签卡唯一码";
this.Column5.Name = "Column5";
//
- // button3
- //
- this.button3.Location = new System.Drawing.Point(486, 397);
- this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(75, 23);
- this.button3.TabIndex = 25;
- this.button3.Text = "取消";
- this.button3.UseVisualStyleBackColor = true;
- this.button3.Click += new System.EventHandler(this.button3_Click);
- //
// frmEditAndDeleteCard
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -252,11 +252,11 @@ private void InitializeComponent()
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.DataGridView dataGridView1;
+ private System.Windows.Forms.Button button3;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
- private System.Windows.Forms.Button button3;
}
}
View
10 Application/frmEditAndDeleteCard.cs
@@ -52,8 +52,8 @@ private void btnAdd_Click(object sender, EventArgs e)
/// <param name="sender"></param>
/// <param name="e"></param>
private void button1_Click(object sender, EventArgs e)
- {
- string sql4 = "select Name,Alias,RFID,PurposeName from Rfid,RfidPurpose where Rfid.Purpose = RfidPurpose.PurposeCode and ID=@id";
+ {
+ string sql4 = "select Name,Alias,RFID,Meaning from Rfid,RfidPurpose where Rfid.Purpose = RfidPurpose.Code and ID=@id";
SqlParameter[] par = new SqlParameter[] { new SqlParameter("@id", dataGridView1.SelectedCells[0].Value) };
SqlDataReader dr = SqlHelper.ExecuteReader(sqlConnectionStr, CommandType.Text, sql4, par);
while(dr.Read())
@@ -68,7 +68,7 @@ private void button1_Click(object sender, EventArgs e)
}
private void Bind()
{
- string sql2 = "select ID,Name,Alias,RFID,PurposeName from Rfid,RfidPurpose where Rfid.Purpose = RfidPurpose.PurposeCode";
+ string sql2 = "select ID,Name,Alias,RFID,Meaning from Rfid,RfidPurpose where Rfid.Purpose = RfidPurpose.Code";
DataSet ds = SqlHelper.ExecuteDataset(sqlConnectionStr, CommandType.Text, sql2);
dataGridView1.DataSource = ds.Tables[0];
}
@@ -101,8 +101,8 @@ private void frmEditAndDeleteCard_Load(object sender, EventArgs e)
string sql2 = "select * from RfidPurpose ";
DataSet ds = SqlHelper.ExecuteDataset(sqlConnectionStr, CommandType.Text, sql2);
comboBox1.DataSource = ds.Tables[0];
- comboBox1.DisplayMember = "PurposeName";
- comboBox1.ValueMember = "PurposeCode";
+ comboBox1.DisplayMember = "Meaning";
+ comboBox1.ValueMember = "Code";
Bind();
}
View
15 Application/frmEditAndDeleteCard.resx
@@ -132,19 +132,4 @@
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
- <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
- <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
- <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
- <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
- <metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
</root>
View
8 Application/frmEditOrDeleteCompany.Designer.cs
@@ -160,7 +160,7 @@ private void InitializeComponent()
//
// btnCancel
//
- this.btnCancel.Location = new System.Drawing.Point(437, 365);
+ this.btnCancel.Location = new System.Drawing.Point(437, 358);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 21;
@@ -170,7 +170,7 @@ private void InitializeComponent()
//
// btnAdd
//
- this.btnAdd.Location = new System.Drawing.Point(437, 324);
+ this.btnAdd.Location = new System.Drawing.Point(437, 304);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Size = new System.Drawing.Size(75, 23);
this.btnAdd.TabIndex = 20;
@@ -180,7 +180,7 @@ private void InitializeComponent()
//
// btnEdit
//
- this.btnEdit.Location = new System.Drawing.Point(531, 200);
+ this.btnEdit.Location = new System.Drawing.Point(510, 200);
this.btnEdit.Name = "btnEdit";
this.btnEdit.Size = new System.Drawing.Size(75, 23);
this.btnEdit.TabIndex = 22;
@@ -190,7 +190,7 @@ private void InitializeComponent()
//
// btnDel
//
- this.btnDel.Location = new System.Drawing.Point(639, 200);
+ this.btnDel.Location = new System.Drawing.Point(622, 200);
this.btnDel.Name = "btnDel";
this.btnDel.Size = new System.Drawing.Size(75, 23);
this.btnDel.TabIndex = 23;
View
6 Application/frmEditOrDeleteEmployee.Designer.cs
@@ -182,7 +182,7 @@ private void InitializeComponent()
//
// button1
//
- this.button1.Location = new System.Drawing.Point(428, 214);
+ this.button1.Location = new System.Drawing.Point(429, 214);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 20;
@@ -204,7 +204,7 @@ private void InitializeComponent()
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(678, 468);
+ this.ClientSize = new System.Drawing.Size(677, 468);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.btnCancel);
@@ -219,7 +219,7 @@ private void InitializeComponent()
this.Controls.Add(this.label1);
this.Controls.Add(this.dataGridView1);
this.Name = "frmEditOrDeleteEmployee";
- this.Text = "frmEditOrDeleteEmployee";
+ this.Text = "编辑及删除人员";
this.Load += new System.EventHandler(this.frmEditOrDeleteEmployee_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
View
12 Application/frmEditOrDeletePost.Designer.cs
@@ -66,10 +66,10 @@ private void InitializeComponent()
this.Column2,
this.Column3,
this.Column4});
- this.dataGridView1.Location = new System.Drawing.Point(41, 29);
+ this.dataGridView1.Location = new System.Drawing.Point(27, 29);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
- this.dataGridView1.Size = new System.Drawing.Size(625, 192);
+ this.dataGridView1.Size = new System.Drawing.Size(651, 192);
this.dataGridView1.TabIndex = 19;
//
// Column2
@@ -86,7 +86,7 @@ private void InitializeComponent()
//
// btnCancel
//
- this.btnCancel.Location = new System.Drawing.Point(408, 347);
+ this.btnCancel.Location = new System.Drawing.Point(408, 337);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 18;
@@ -104,7 +104,7 @@ private void InitializeComponent()
//
// btnSave
//
- this.btnSave.Location = new System.Drawing.Point(408, 393);
+ this.btnSave.Location = new System.Drawing.Point(408, 388);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(75, 23);
this.btnSave.TabIndex = 17;
@@ -165,7 +165,7 @@ private void InitializeComponent()
//
// btnDelete
//
- this.btnDelete.Location = new System.Drawing.Point(598, 243);
+ this.btnDelete.Location = new System.Drawing.Point(610, 243);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new System.Drawing.Size(68, 23);
this.btnDelete.TabIndex = 21;
@@ -190,7 +190,7 @@ private void InitializeComponent()
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "frmEditOrDeletePost";
- this.Text = "frmEditOrDeletePost";
+ this.Text = "编辑及删除岗位";
this.Load += new System.EventHandler(this.frmEditOrDeletePost_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
View
6 Application/frmEditOrDeletePost.resx
@@ -129,4 +129,10 @@
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
+ <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
</root>
View
2  Application/frmIssueTask.Designer.cs
@@ -34,7 +34,7 @@ private void InitializeComponent()
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(760, 421);
+ this.ClientSize = new System.Drawing.Size(764, 430);
this.Name = "frmIssueTask";
this.Text = "frmIssueTask";
this.ResumeLayout(false);
View
143 Application/frmMain.Designer.cs
@@ -132,6 +132,18 @@ private void InitializeComponent()
this.tsmhelp = new System.Windows.Forms.ToolStripMenuItem();
this.tsmihelp = new System.Windows.Forms.ToolStripMenuItem();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
+ this.tsmiAddPoint = new System.Windows.Forms.ToolStripMenuItem();
+ this.tsmiEditPoint = new System.Windows.Forms.ToolStripMenuItem();
+ this.tsmiDelPoint = new System.Windows.Forms.ToolStripMenuItem();
+ this.tsmiAddRount = new System.Windows.Forms.ToolStripMenuItem();
+ this.tsmiEditRount = new System.Windows.Forms.ToolStripMenuItem();
+ this.tsmiDelRount = new System.Windows.Forms.ToolStripMenuItem();
+ this.tsmiAddItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.tsmiEditItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.tsmiDelItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.tsmiAddMachine = new System.Windows.Forms.ToolStripMenuItem();
+ this.tsmiEditMachine = new System.Windows.Forms.ToolStripMenuItem();
+ this.tsmiDelMachine = new System.Windows.Forms.ToolStripMenuItem();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -542,6 +554,7 @@ private void InitializeComponent()
//
// toolStripTextBox1
//
+ this.toolStripTextBox1.Font = new System.Drawing.Font("宋体", 9F);
this.toolStripTextBox1.Name = "toolStripTextBox1";
this.toolStripTextBox1.Size = new System.Drawing.Size(100, 25);
//
@@ -676,19 +689,19 @@ private void InitializeComponent()
// tsmixinjian
//
this.tsmixinjian.Name = "tsmixinjian";
- this.tsmixinjian.Size = new System.Drawing.Size(94, 22);
+ this.tsmixinjian.Size = new System.Drawing.Size(152, 22);
this.tsmixinjian.Text = "新建";
//
// tsmibianji
//
this.tsmibianji.Name = "tsmibianji";
- this.tsmibianji.Size = new System.Drawing.Size(94, 22);
+ this.tsmibianji.Size = new System.Drawing.Size(152, 22);
this.tsmibianji.Text = "编辑";
//
// tsmidelete
//
this.tsmidelete.Name = "tsmidelete";
- this.tsmidelete.Size = new System.Drawing.Size(94, 22);
+ this.tsmidelete.Size = new System.Drawing.Size(152, 22);
this.tsmidelete.Text = "删除";
//
// tsmrenwu
@@ -791,6 +804,10 @@ private void InitializeComponent()
//
// tsmixunjianluxian
//
+ this.tsmixunjianluxian.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.tsmiAddRount,
+ this.tsmiEditRount,
+ this.tsmiDelRount});
this.tsmixunjianluxian.Name = "tsmixunjianluxian";
this.tsmixunjianluxian.Size = new System.Drawing.Size(154, 22);
this.tsmixunjianluxian.Text = "巡检路线管理";
@@ -798,18 +815,30 @@ private void InitializeComponent()
//
// tsmixunjiandian
//
+ this.tsmixunjiandian.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.tsmiAddPoint,
+ this.tsmiEditPoint,
+ this.tsmiDelPoint});
this.tsmixunjiandian.Name = "tsmixunjiandian";
this.tsmixunjiandian.Size = new System.Drawing.Size(154, 22);
this.tsmixunjiandian.Text = "巡检点管理";
//
// tsmixunjianxiangs
//
+ this.tsmixunjianxiangs.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.tsmiAddItem,
+ this.tsmiEditItem,
+ this.tsmiDelItem});
this.tsmixunjianxiangs.Name = "tsmixunjianxiangs";
this.tsmixunjianxiangs.Size = new System.Drawing.Size(154, 22);
this.tsmixunjianxiangs.Text = "巡检项管理";
//
// tsmishebeixunjianxiang
//
+ this.tsmishebeixunjianxiang.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.tsmiAddMachine,
+ this.tsmiEditMachine,
+ this.tsmiDelMachine});
this.tsmishebeixunjianxiang.Name = "tsmishebeixunjianxiang";
this.tsmishebeixunjianxiang.Size = new System.Drawing.Size(154, 22);
this.tsmishebeixunjianxiang.Text = "设备巡检项管理";
@@ -840,21 +869,21 @@ private void InitializeComponent()
// tsmichangquAdd
//
this.tsmichangquAdd.Name = "tsmichangquAdd";
- this.tsmichangquAdd.Size = new System.Drawing.Size(94, 22);
+ this.tsmichangquAdd.Size = new System.Drawing.Size(152, 22);
this.tsmichangquAdd.Text = "新建";
this.tsmichangquAdd.Click += new System.EventHandler(this.tsmichangquAdd_Click);
//
// tsmichangquEdit
//
this.tsmichangquEdit.Name = "tsmichangquEdit";
- this.tsmichangquEdit.Size = new System.Drawing.Size(94, 22);
+ this.tsmichangquEdit.Size = new System.Drawing.Size(152, 22);
this.tsmichangquEdit.Text = "编辑";
this.tsmichangquEdit.Click += new System.EventHandler(this.tsmichangquEdit_Click);
//
// tsmichangquDelete
//
this.tsmichangquDelete.Name = "tsmichangquDelete";
- this.tsmichangquDelete.Size = new System.Drawing.Size(94, 22);
+ this.tsmichangquDelete.Size = new System.Drawing.Size(152, 22);
this.tsmichangquDelete.Text = "删除";
this.tsmichangquDelete.Click += new System.EventHandler(this.tsmichangquDelete_Click);
//
@@ -933,21 +962,21 @@ private void InitializeComponent()
// tsmiCompanyAdd
//
this.tsmiCompanyAdd.Name = "tsmiCompanyAdd";
- this.tsmiCompanyAdd.Size = new System.Drawing.Size(152, 22);
+ this.tsmiCompanyAdd.Size = new System.Drawing.Size(94, 22);
this.tsmiCompanyAdd.Text = "新建";
this.tsmiCompanyAdd.Click += new System.EventHandler(this.tsmiCompanyAdd_Click);
//
// tsmiCompanyEdit
//
this.tsmiCompanyEdit.Name = "tsmiCompanyEdit";
- this.tsmiCompanyEdit.Size = new System.Drawing.Size(152, 22);
+ this.tsmiCompanyEdit.Size = new System.Drawing.Size(94, 22);
this.tsmiCompanyEdit.Text = "编辑";
this.tsmiCompanyEdit.Click += new System.EventHandler(this.tsmiCompanyEdit_Click);
//
// tsmiCompanyDel
//
this.tsmiCompanyDel.Name = "tsmiCompanyDel";
- this.tsmiCompanyDel.Size = new System.Drawing.Size(152, 22);
+ this.tsmiCompanyDel.Size = new System.Drawing.Size(94, 22);
this.tsmiCompanyDel.Text = "删除";
this.tsmiCompanyDel.Click += new System.EventHandler(this.tsmiCompanyDel_Click);
//
@@ -1031,6 +1060,90 @@ private void InitializeComponent()
this.statusStrip1.TabIndex = 6;
this.statusStrip1.Text = "statusStrip1";
//
+ // tsmiAddPoint
+ //
+ this.tsmiAddPoint.Name = "tsmiAddPoint";
+ this.tsmiAddPoint.Size = new System.Drawing.Size(152, 22);
+ this.tsmiAddPoint.Text = "新建";
+ this.tsmiAddPoint.Click += new System.EventHandler(this.tsmiAddPoint_Click);
+ //
+ // tsmiEditPoint
+ //
+ this.tsmiEditPoint.Name = "tsmiEditPoint";
+ this.tsmiEditPoint.Size = new System.Drawing.Size(152, 22);
+ this.tsmiEditPoint.Text = "编辑";
+ this.tsmiEditPoint.Click += new System.EventHandler(this.tsmiEditPoint_Click);
+ //
+ // tsmiDelPoint
+ //
+ this.tsmiDelPoint.Name = "tsmiDelPoint";
+ this.tsmiDelPoint.Size = new System.Drawing.Size(152, 22);
+ this.tsmiDelPoint.Text = "删除";
+ this.tsmiDelPoint.Click += new System.EventHandler(this.tsmiDelPoint_Click);
+ //
+ // tsmiAddRount
+ //
+ this.tsmiAddRount.Name = "tsmiAddRount";
+ this.tsmiAddRount.Size = new System.Drawing.Size(152, 22);
+ this.tsmiAddRount.Text = "新建";
+ this.tsmiAddRount.Click += new System.EventHandler(this.tsmiAddRount_Click);
+ //
+ // tsmiEditRount
+ //
+ this.tsmiEditRount.Name = "tsmiEditRount";
+ this.tsmiEditRount.Size = new System.Drawing.Size(152, 22);
+ this.tsmiEditRount.Text = "编辑";
+ this.tsmiEditRount.Click += new System.EventHandler(this.tsmiEditRount_Click);
+ //
+ // tsmiDelRount
+ //
+ this.tsmiDelRount.Name = "tsmiDelRount";
+ this.tsmiDelRount.Size = new System.Drawing.Size(152, 22);
+ this.tsmiDelRount.Text = "删除";
+ this.tsmiDelRount.Click += new System.EventHandler(this.tsmiDelRount_Click);
+ //
+ // tsmiAddItem
+ //
+ this.tsmiAddItem.Name = "tsmiAddItem";
+ this.tsmiAddItem.Size = new System.Drawing.Size(152, 22);
+ this.tsmiAddItem.Text = "新建";
+ this.tsmiAddItem.Click += new System.EventHandler(this.tsmiAddItem_Click);
+ //
+ // tsmiEditItem
+ //
+ this.tsmiEditItem.Name = "tsmiEditItem";
+ this.tsmiEditItem.Size = new System.Drawing.Size(152, 22);
+ this.tsmiEditItem.Text = "编辑";
+ this.tsmiEditItem.Click += new System.EventHandler(this.tsmiEditItem_Click);
+ //
+ // tsmiDelItem
+ //
+ this.tsmiDelItem.Name = "tsmiDelItem";
+ this.tsmiDelItem.Size = new System.Drawing.Size(152, 22);
+ this.tsmiDelItem.Text = "删除";
+ this.tsmiDelItem.Click += new System.EventHandler(this.tsmiDelItem_Click);
+ //
+ // tsmiAddMachine
+ //
+ this.tsmiAddMachine.Name = "tsmiAddMachine";
+ this.tsmiAddMachine.Size = new System.Drawing.Size(152, 22);
+ this.tsmiAddMachine.Text = "新建";
+ this.tsmiAddMachine.Click += new System.EventHandler(this.tsmiAddMachine_Click);
+ //
+ // tsmiEditMachine
+ //
+ this.tsmiEditMachine.Name = "tsmiEditMachine";
+ this.tsmiEditMachine.Size = new System.Drawing.Size(152, 22);
+ this.tsmiEditMachine.Text = "编辑";
+ this.tsmiEditMachine.Click += new System.EventHandler(this.tsmiEditMachine_Click);
+ //
+ // tsmiDelMachine
+ //
+ this.tsmiDelMachine.Name = "tsmiDelMachine";
+ this.tsmiDelMachine.Size = new System.Drawing.Size(152, 22);
+ this.tsmiDelMachine.Text = "删除";
+ this.tsmiDelMachine.Click += new System.EventHandler(this.tsmiDelMachine_Click);
+ //
// frmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -1179,5 +1292,17 @@ private void InitializeComponent()
private System.Windows.Forms.ToolStripMenuItem tsmiCompanyAdd;
private System.Windows.Forms.ToolStripMenuItem tsmiCompanyEdit;
private System.Windows.Forms.ToolStripMenuItem tsmiCompanyDel;
+ private System.Windows.Forms.ToolStripMenuItem tsmiAddRount;
+ private System.Windows.Forms.ToolStripMenuItem tsmiEditRount;
+ private System.Windows.Forms.ToolStripMenuItem tsmiDelRount;
+ private System.Windows.Forms.ToolStripMenuItem tsmiAddPoint;
+ private System.Windows.Forms.ToolStripMenuItem tsmiEditPoint;
+ private System.Windows.Forms.ToolStripMenuItem tsmiDelPoint;
+ private System.Windows.Forms.ToolStripMenuItem tsmiAddItem;
+ private System.Windows.Forms.ToolStripMenuItem tsmiEditItem;
+ private System.Windows.Forms.ToolStripMenuItem tsmiDelItem;
+ private System.Windows.Forms.ToolStripMenuItem tsmiAddMachine;
+ private System.Windows.Forms.ToolStripMenuItem tsmiEditMachine;
+ private System.Windows.Forms.ToolStripMenuItem tsmiDelMachine;
}
}
View
72 Application/frmMain.cs
@@ -287,6 +287,78 @@ private void tsmixunjianluxian_Click(object sender, EventArgs e)
frmAddRoute frm = new frmAddRoute();
frm.Show();
}
+
+ private void tsmiAddRount_Click(object sender, EventArgs e)
+ {
+ frmAddRoute rount = new frmAddRoute();
+ rount.Show();
+ }
+
+ private void tsmiEditRount_Click(object sender, EventArgs e)
+ {
+ frmAddRoute rount = new frmAddRoute();
+ rount.Show();
+ }
+
+ private void tsmiDelRount_Click(object sender, EventArgs e)
+ {
+ frmAddRoute rount = new frmAddRoute();
+ rount.Show();
+ }
+
+ private void tsmiAddPoint_Click(object sender, EventArgs e)
+ {
+ frmAddPoint point = new frmAddPoint();
+ point.Show();
+ }
+
+ private void tsmiEditPoint_Click(object sender, EventArgs e)
+ {
+ frmAddPoint point = new frmAddPoint();
+ point.Show();
+ }
+
+ private void tsmiDelPoint_Click(object sender, EventArgs e)
+ {
+ frmAddPoint point = new frmAddPoint();
+ point.Show();
+ }
+
+ private void tsmiAddItem_Click(object sender, EventArgs e)
+ {
+ frmAddItem item = new frmAddItem();
+ item.Show();
+ }
+
+ private void tsmiEditItem_Click(object sender, EventArgs e)
+ {
+ frmAddItem item = new frmAddItem();
+ item.Show();
+ }
+
+ private void tsmiDelItem_Click(object sender, EventArgs e)
+ {
+ frmAddItem item = new frmAddItem();
+ item.Show();
+ }
+
+ private void tsmiAddMachine_Click(object sender, EventArgs e)
+ {
+ frmAddMachine machine = new frmAddMachine();
+ machine.Show();
+ }
+
+ private void tsmiEditMachine_Click(object sender, EventArgs e)
+ {
+ frmAddMachine machine = new frmAddMachine();
+ machine.Show();
+ }
+
+ private void tsmiDelMachine_Click(object sender, EventArgs e)
+ {
+ frmAddMachine machine = new frmAddMachine();
+ machine.Show();
+ }
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.