|
|
@@ -29,14 +29,17 @@
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
this.BtClose = new System.Windows.Forms.Button();
|
|
|
this.DgvFiles = new System.Windows.Forms.DataGridView();
|
|
|
+ this.DgvFilesVersion = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.DgvFilesLastWriteTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.DgvFilesSize = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.LbFileName = new System.Windows.Forms.Label();
|
|
|
this.LbPath = new System.Windows.Forms.Label();
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
@@ -44,9 +47,6 @@
|
|
|
this.LbVersion = new System.Windows.Forms.Label();
|
|
|
this.BtRestoreToOld = new System.Windows.Forms.Button();
|
|
|
this.BtRestoreToNew = new System.Windows.Forms.Button();
|
|
|
- this.DgvFilesVersion = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.DgvFilesLastWriteTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.DgvFilesSize = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
|
this.TtLabel = new System.Windows.Forms.ToolTip(this.components);
|
|
|
@@ -62,7 +62,7 @@
|
|
|
this.BtClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.BtClose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.BtClose.ForeColor = System.Drawing.Color.White;
|
|
|
- this.BtClose.Location = new System.Drawing.Point(379, 12);
|
|
|
+ this.BtClose.Location = new System.Drawing.Point(384, 4);
|
|
|
this.BtClose.Name = "BtClose";
|
|
|
this.BtClose.Size = new System.Drawing.Size(30, 23);
|
|
|
this.BtClose.TabIndex = 20;
|
|
|
@@ -78,41 +78,41 @@
|
|
|
this.DgvFiles.AllowUserToResizeRows = false;
|
|
|
this.DgvFiles.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
|
this.DgvFiles.BackgroundColor = System.Drawing.Color.White;
|
|
|
- dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
- dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;
|
|
|
- dataGridViewCellStyle13.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
- dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
- dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.DgvFiles.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
|
|
|
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
|
|
+ dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
+ dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
+ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.DgvFiles.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
this.DgvFiles.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
this.DgvFiles.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.DgvFilesVersion,
|
|
|
this.DgvFilesLastWriteTime,
|
|
|
this.DgvFilesSize});
|
|
|
- dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
- dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Window;
|
|
|
- dataGridViewCellStyle17.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle17.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
- dataGridViewCellStyle17.Padding = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
|
|
- dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.GradientActiveCaption;
|
|
|
- dataGridViewCellStyle17.SelectionForeColor = System.Drawing.Color.Black;
|
|
|
- dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
- this.DgvFiles.DefaultCellStyle = dataGridViewCellStyle17;
|
|
|
+ dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
+ dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
|
|
|
+ dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
+ dataGridViewCellStyle5.Padding = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
|
|
+ dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.GradientActiveCaption;
|
|
|
+ dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.Black;
|
|
|
+ dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
+ this.DgvFiles.DefaultCellStyle = dataGridViewCellStyle5;
|
|
|
this.DgvFiles.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
this.DgvFiles.GridColor = System.Drawing.Color.Silver;
|
|
|
this.DgvFiles.Location = new System.Drawing.Point(0, 0);
|
|
|
this.DgvFiles.Name = "DgvFiles";
|
|
|
this.DgvFiles.ReadOnly = true;
|
|
|
- dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
- dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Control;
|
|
|
- dataGridViewCellStyle18.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
- dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
- dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.DgvFiles.RowHeadersDefaultCellStyle = dataGridViewCellStyle18;
|
|
|
+ dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
|
|
|
+ dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
+ dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
+ dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.DgvFiles.RowHeadersDefaultCellStyle = dataGridViewCellStyle6;
|
|
|
this.DgvFiles.RowHeadersVisible = false;
|
|
|
this.DgvFiles.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
|
this.DgvFiles.RowTemplate.Height = 23;
|
|
|
@@ -120,10 +120,38 @@
|
|
|
this.DgvFiles.Size = new System.Drawing.Size(417, 207);
|
|
|
this.DgvFiles.TabIndex = 21;
|
|
|
//
|
|
|
+ // DgvFilesVersion
|
|
|
+ //
|
|
|
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ this.DgvFilesVersion.DefaultCellStyle = dataGridViewCellStyle2;
|
|
|
+ this.DgvFilesVersion.FillWeight = 50F;
|
|
|
+ this.DgvFilesVersion.HeaderText = "版本";
|
|
|
+ this.DgvFilesVersion.Name = "DgvFilesVersion";
|
|
|
+ this.DgvFilesVersion.ReadOnly = true;
|
|
|
+ //
|
|
|
+ // DgvFilesLastWriteTime
|
|
|
+ //
|
|
|
+ dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ this.DgvFilesLastWriteTime.DefaultCellStyle = dataGridViewCellStyle3;
|
|
|
+ this.DgvFilesLastWriteTime.HeaderText = "最后修改时间";
|
|
|
+ this.DgvFilesLastWriteTime.Name = "DgvFilesLastWriteTime";
|
|
|
+ this.DgvFilesLastWriteTime.ReadOnly = true;
|
|
|
+ this.DgvFilesLastWriteTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
|
+ //
|
|
|
+ // DgvFilesSize
|
|
|
+ //
|
|
|
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
|
+ this.DgvFilesSize.DefaultCellStyle = dataGridViewCellStyle4;
|
|
|
+ this.DgvFilesSize.FillWeight = 80F;
|
|
|
+ this.DgvFilesSize.HeaderText = "文件大小";
|
|
|
+ this.DgvFilesSize.Name = "DgvFilesSize";
|
|
|
+ this.DgvFilesSize.ReadOnly = true;
|
|
|
+ this.DgvFilesSize.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
|
+ //
|
|
|
// LbFileName
|
|
|
//
|
|
|
this.LbFileName.ForeColor = System.Drawing.Color.White;
|
|
|
- this.LbFileName.Location = new System.Drawing.Point(90, 35);
|
|
|
+ this.LbFileName.Location = new System.Drawing.Point(90, 30);
|
|
|
this.LbFileName.Name = "LbFileName";
|
|
|
this.LbFileName.Size = new System.Drawing.Size(244, 12);
|
|
|
this.LbFileName.TabIndex = 22;
|
|
|
@@ -132,7 +160,7 @@
|
|
|
// LbPath
|
|
|
//
|
|
|
this.LbPath.ForeColor = System.Drawing.Color.White;
|
|
|
- this.LbPath.Location = new System.Drawing.Point(90, 58);
|
|
|
+ this.LbPath.Location = new System.Drawing.Point(90, 50);
|
|
|
this.LbPath.Name = "LbPath";
|
|
|
this.LbPath.Size = new System.Drawing.Size(244, 30);
|
|
|
this.LbPath.TabIndex = 23;
|
|
|
@@ -142,7 +170,7 @@
|
|
|
//
|
|
|
this.label1.AutoSize = true;
|
|
|
this.label1.ForeColor = System.Drawing.Color.White;
|
|
|
- this.label1.Location = new System.Drawing.Point(33, 35);
|
|
|
+ this.label1.Location = new System.Drawing.Point(33, 30);
|
|
|
this.label1.Name = "label1";
|
|
|
this.label1.Size = new System.Drawing.Size(53, 12);
|
|
|
this.label1.TabIndex = 24;
|
|
|
@@ -152,7 +180,7 @@
|
|
|
//
|
|
|
this.label2.AutoSize = true;
|
|
|
this.label2.ForeColor = System.Drawing.Color.White;
|
|
|
- this.label2.Location = new System.Drawing.Point(33, 58);
|
|
|
+ this.label2.Location = new System.Drawing.Point(33, 50);
|
|
|
this.label2.Name = "label2";
|
|
|
this.label2.Size = new System.Drawing.Size(41, 12);
|
|
|
this.label2.TabIndex = 25;
|
|
|
@@ -162,7 +190,7 @@
|
|
|
//
|
|
|
this.LbVersion.AutoSize = true;
|
|
|
this.LbVersion.ForeColor = System.Drawing.Color.White;
|
|
|
- this.LbVersion.Location = new System.Drawing.Point(362, 76);
|
|
|
+ this.LbVersion.Location = new System.Drawing.Point(362, 65);
|
|
|
this.LbVersion.Name = "LbVersion";
|
|
|
this.LbVersion.Size = new System.Drawing.Size(47, 12);
|
|
|
this.LbVersion.TabIndex = 26;
|
|
|
@@ -188,40 +216,12 @@
|
|
|
this.BtRestoreToNew.UseVisualStyleBackColor = true;
|
|
|
this.BtRestoreToNew.Click += new System.EventHandler(this.BtRestoreToNew_Click);
|
|
|
//
|
|
|
- // DgvFilesVersion
|
|
|
- //
|
|
|
- dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
- this.DgvFilesVersion.DefaultCellStyle = dataGridViewCellStyle14;
|
|
|
- this.DgvFilesVersion.FillWeight = 50F;
|
|
|
- this.DgvFilesVersion.HeaderText = "版本";
|
|
|
- this.DgvFilesVersion.Name = "DgvFilesVersion";
|
|
|
- this.DgvFilesVersion.ReadOnly = true;
|
|
|
- //
|
|
|
- // DgvFilesLastWriteTime
|
|
|
- //
|
|
|
- dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
- this.DgvFilesLastWriteTime.DefaultCellStyle = dataGridViewCellStyle15;
|
|
|
- this.DgvFilesLastWriteTime.HeaderText = "最后修改时间";
|
|
|
- this.DgvFilesLastWriteTime.Name = "DgvFilesLastWriteTime";
|
|
|
- this.DgvFilesLastWriteTime.ReadOnly = true;
|
|
|
- this.DgvFilesLastWriteTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
|
- //
|
|
|
- // DgvFilesSize
|
|
|
- //
|
|
|
- dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
|
- this.DgvFilesSize.DefaultCellStyle = dataGridViewCellStyle16;
|
|
|
- this.DgvFilesSize.FillWeight = 80F;
|
|
|
- this.DgvFilesSize.HeaderText = "文件大小";
|
|
|
- this.DgvFilesSize.Name = "DgvFilesSize";
|
|
|
- this.DgvFilesSize.ReadOnly = true;
|
|
|
- this.DgvFilesSize.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
|
- //
|
|
|
// panel1
|
|
|
//
|
|
|
this.panel1.Controls.Add(this.BtRestoreToOld);
|
|
|
this.panel1.Controls.Add(this.BtRestoreToNew);
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
- this.panel1.Location = new System.Drawing.Point(0, 299);
|
|
|
+ this.panel1.Location = new System.Drawing.Point(0, 288);
|
|
|
this.panel1.Name = "panel1";
|
|
|
this.panel1.Size = new System.Drawing.Size(417, 47);
|
|
|
this.panel1.TabIndex = 30;
|
|
|
@@ -230,7 +230,7 @@
|
|
|
//
|
|
|
this.panel2.Controls.Add(this.DgvFiles);
|
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
- this.panel2.Location = new System.Drawing.Point(0, 92);
|
|
|
+ this.panel2.Location = new System.Drawing.Point(0, 81);
|
|
|
this.panel2.Name = "panel2";
|
|
|
this.panel2.Size = new System.Drawing.Size(417, 207);
|
|
|
this.panel2.TabIndex = 31;
|
|
|
@@ -241,7 +241,7 @@
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(43)))), ((int)(((byte)(54)))));
|
|
|
this.CancelButton = this.BtClose;
|
|
|
- this.ClientSize = new System.Drawing.Size(417, 346);
|
|
|
+ this.ClientSize = new System.Drawing.Size(417, 335);
|
|
|
this.Controls.Add(this.panel2);
|
|
|
this.Controls.Add(this.panel1);
|
|
|
this.Controls.Add(this.LbVersion);
|