Commit d11658d9 authored by tr's avatar tr

1、帮助文档:更新文件功能;员工管理仅供浏览

parent 18b437a2
...@@ -35,9 +35,9 @@ ...@@ -35,9 +35,9 @@
this.btnUpload = new System.Windows.Forms.Button(); this.btnUpload = new System.Windows.Forms.Button();
this.btnDownload = new System.Windows.Forms.Button(); this.btnDownload = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.btnUpdate = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.btnUpdate = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dgvDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvDetail)).BeginInit();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel2.SuspendLayout(); this.panel2.SuspendLayout();
...@@ -121,6 +121,20 @@ ...@@ -121,6 +121,20 @@
this.panel1.Size = new System.Drawing.Size(659, 38); this.panel1.Size = new System.Drawing.Size(659, 38);
this.panel1.TabIndex = 0; this.panel1.TabIndex = 0;
// //
// btnUpdate
//
this.btnUpdate.BackColor = System.Drawing.SystemColors.Window;
this.btnUpdate.Enabled = false;
this.btnUpdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnUpdate.Location = new System.Drawing.Point(560, 6);
this.btnUpdate.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.Size = new System.Drawing.Size(87, 27);
this.btnUpdate.TabIndex = 2;
this.btnUpdate.Text = "更新文件";
this.btnUpdate.UseVisualStyleBackColor = false;
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
//
// panel2 // panel2
// //
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(245)))), ((int)(((byte)(255))))); this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(245)))), ((int)(((byte)(255)))));
...@@ -138,23 +152,9 @@ ...@@ -138,23 +152,9 @@
this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(101)))), ((int)(((byte)(204))))); this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(101)))), ((int)(((byte)(204)))));
this.label1.Location = new System.Drawing.Point(12, 10); this.label1.Location = new System.Drawing.Point(12, 10);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(231, 17); this.label1.Size = new System.Drawing.Size(267, 17);
this.label1.TabIndex = 0; this.label1.TabIndex = 0;
this.label1.Text = "*温馨提示:超过50M的文件将被直接忽略"; this.label1.Text = "*温馨提示:上传时超过50M的文件将被直接忽略";
//
// btnUpdate
//
this.btnUpdate.BackColor = System.Drawing.SystemColors.Window;
this.btnUpdate.Enabled = false;
this.btnUpdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnUpdate.Location = new System.Drawing.Point(560, 6);
this.btnUpdate.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.Size = new System.Drawing.Size(87, 27);
this.btnUpdate.TabIndex = 2;
this.btnUpdate.Text = "更新文件";
this.btnUpdate.UseVisualStyleBackColor = false;
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
// //
// wHelpDocument // wHelpDocument
// //
......
...@@ -28,11 +28,8 @@ ...@@ -28,11 +28,8 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.dgvDetail = new System.Windows.Forms.DataGridView(); this.dgvDetail = new System.Windows.Forms.DataGridView();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.tsbSave = new System.Windows.Forms.ToolStripButton();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column7 = new System.Windows.Forms.DataGridViewImageColumn(); this.Column7 = new System.Windows.Forms.DataGridViewImageColumn();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
...@@ -42,6 +39,9 @@ ...@@ -42,6 +39,9 @@
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewComboBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.tsbSave = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
((System.ComponentModel.ISupportInitialize)(this.dgvDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvDetail)).BeginInit();
...@@ -71,38 +71,6 @@ ...@@ -71,38 +71,6 @@
this.dgvDetail.Size = new System.Drawing.Size(755, 502); this.dgvDetail.Size = new System.Drawing.Size(755, 502);
this.dgvDetail.TabIndex = 6; this.dgvDetail.TabIndex = 6;
// //
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbAdd,
this.tsbSave,
this.toolStripSeparator1,
this.toolStripLabel1});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(755, 25);
this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1";
//
// tsbAdd
//
this.tsbAdd.Enabled = false;
this.tsbAdd.Image = global::Tools.Properties.Resources.新增;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(52, 22);
this.tsbAdd.Text = "添加";
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// tsbSave
//
this.tsbSave.Image = global::Tools.Properties.Resources.保存;
this.tsbSave.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbSave.Name = "tsbSave";
this.tsbSave.Size = new System.Drawing.Size(52, 22);
this.tsbSave.Text = "保存";
this.tsbSave.Click += new System.EventHandler(this.tsbSave_Click);
//
// Column4 // Column4
// //
this.Column4.DataPropertyName = "ID"; this.Column4.DataPropertyName = "ID";
...@@ -132,9 +100,9 @@ ...@@ -132,9 +100,9 @@
// Column9 // Column9
// //
this.Column9.DataPropertyName = "LoginPassword"; this.Column9.DataPropertyName = "LoginPassword";
dataGridViewCellStyle5.Format = "*******"; dataGridViewCellStyle1.Format = "*******";
dataGridViewCellStyle5.NullValue = null; dataGridViewCellStyle1.NullValue = null;
this.Column9.DefaultCellStyle = dataGridViewCellStyle5; this.Column9.DefaultCellStyle = dataGridViewCellStyle1;
this.Column9.HeaderText = "密码"; this.Column9.HeaderText = "密码";
this.Column9.Name = "Column9"; this.Column9.Name = "Column9";
this.Column9.ReadOnly = true; this.Column9.ReadOnly = true;
...@@ -181,6 +149,39 @@ ...@@ -181,6 +149,39 @@
this.Column5.Name = "Column5"; this.Column5.Name = "Column5";
this.Column5.Width = 200; this.Column5.Width = 200;
// //
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbAdd,
this.tsbSave,
this.toolStripSeparator1,
this.toolStripLabel1});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(755, 25);
this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1";
//
// tsbAdd
//
this.tsbAdd.Enabled = false;
this.tsbAdd.Image = global::Tools.Properties.Resources.新增;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(52, 22);
this.tsbAdd.Text = "添加";
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// tsbSave
//
this.tsbSave.Enabled = false;
this.tsbSave.Image = global::Tools.Properties.Resources.保存;
this.tsbSave.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbSave.Name = "tsbSave";
this.tsbSave.Size = new System.Drawing.Size(52, 22);
this.tsbSave.Text = "保存";
this.tsbSave.Click += new System.EventHandler(this.tsbSave_Click);
//
// toolStripSeparator1 // toolStripSeparator1
// //
this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Name = "toolStripSeparator1";
...@@ -190,8 +191,8 @@ ...@@ -190,8 +191,8 @@
// //
this.toolStripLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(101)))), ((int)(((byte)(204))))); this.toolStripLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(101)))), ((int)(((byte)(204)))));
this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Name = "toolStripLabel1";
this.toolStripLabel1.Size = new System.Drawing.Size(169, 22); this.toolStripLabel1.Size = new System.Drawing.Size(205, 22);
this.toolStripLabel1.Text = "*注:暂不支持头像和密码修改"; this.toolStripLabel1.Text = "*注:因未提供图片分离暂只支持浏览";
// //
// wUser // wUser
// //
......
...@@ -147,31 +147,4 @@ ...@@ -147,31 +147,4 @@
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column7.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="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column9.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="Column6.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="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root> </root>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment