Commit f477d6be authored by tr's avatar tr

1、界面微调

parent 5fe04ccf
...@@ -29,15 +29,15 @@ ...@@ -29,15 +29,15 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.dgvDetail = new System.Windows.Forms.DataGridView(); this.dgvDetail = new System.Windows.Forms.DataGridView();
this.Column3 = new System.Windows.Forms.DataGridViewButtonColumn();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
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.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton(); this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.tsbUpdate = new System.Windows.Forms.ToolStripButton(); this.tsbUpdate = new System.Windows.Forms.ToolStripButton();
this.Column3 = new System.Windows.Forms.DataGridViewButtonColumn();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dgvDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvDetail)).BeginInit();
this.panel2.SuspendLayout(); this.panel2.SuspendLayout();
this.toolStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout();
...@@ -60,35 +60,6 @@ ...@@ -60,35 +60,6 @@
this.dgvDetail.Size = new System.Drawing.Size(659, 348); this.dgvDetail.Size = new System.Drawing.Size(659, 348);
this.dgvDetail.TabIndex = 1; this.dgvDetail.TabIndex = 1;
// //
// Column3
//
this.Column3.HeaderText = "操作";
this.Column3.Name = "Column3";
this.Column3.Text = "下载";
this.Column3.UseColumnTextForButtonValue = true;
this.Column3.Width = 65;
//
// Column1
//
this.Column1.DataPropertyName = "dName";
this.Column1.HeaderText = "文件名称";
this.Column1.Name = "Column1";
this.Column1.Width = 210;
//
// Column2
//
this.Column2.DataPropertyName = "dSize";
this.Column2.HeaderText = "文件大小(KB)";
this.Column2.Name = "Column2";
this.Column2.Width = 120;
//
// Column4
//
this.Column4.DataPropertyName = "CreateDate";
this.Column4.HeaderText = "创建日期";
this.Column4.Name = "Column4";
this.Column4.Width = 150;
//
// 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)))));
...@@ -139,6 +110,35 @@ ...@@ -139,6 +110,35 @@
this.tsbUpdate.Text = "更新文件"; this.tsbUpdate.Text = "更新文件";
this.tsbUpdate.Click += new System.EventHandler(this.tsbUpdate_Click); this.tsbUpdate.Click += new System.EventHandler(this.tsbUpdate_Click);
// //
// Column3
//
this.Column3.HeaderText = "操作";
this.Column3.Name = "Column3";
this.Column3.Text = "下载";
this.Column3.UseColumnTextForButtonValue = true;
this.Column3.Width = 65;
//
// Column1
//
this.Column1.DataPropertyName = "dName";
this.Column1.HeaderText = "文件名称";
this.Column1.Name = "Column1";
this.Column1.Width = 210;
//
// Column2
//
this.Column2.DataPropertyName = "dSize";
this.Column2.HeaderText = "文件大小(KB)";
this.Column2.Name = "Column2";
this.Column2.Width = 120;
//
// Column4
//
this.Column4.DataPropertyName = "CreateDate";
this.Column4.HeaderText = "更新日期";
this.Column4.Name = "Column4";
this.Column4.Width = 150;
//
// wHelpDocument // wHelpDocument
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
...@@ -168,12 +168,12 @@ ...@@ -168,12 +168,12 @@
private System.Windows.Forms.DataGridView dgvDetail; private System.Windows.Forms.DataGridView dgvDetail;
private System.Windows.Forms.Panel panel2; private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripButton tsbUpdate;
private System.Windows.Forms.DataGridViewButtonColumn Column3; private System.Windows.Forms.DataGridViewButtonColumn Column3;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1; private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2; private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn Column4; private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripButton tsbUpdate;
} }
} }
\ No newline at end of file
...@@ -129,18 +129,6 @@ ...@@ -129,18 +129,6 @@
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column3.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="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<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>
......
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