[+] 显示当前应用的版本是否被支持

This commit is contained in:
huiyadanli
2020-01-01 16:43:56 +08:00
parent 8630dc83df
commit 604f84b0f6
7 changed files with 333 additions and 51 deletions

View File

@@ -29,6 +29,8 @@
private void InitializeComponent()
{
this.txtInfo = new System.Windows.Forms.TextBox();
this.btnSearch = new System.Windows.Forms.Button();
this.btnGetVersion = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// txtInfo
@@ -36,14 +38,36 @@
this.txtInfo.Location = new System.Drawing.Point(12, 12);
this.txtInfo.Multiline = true;
this.txtInfo.Name = "txtInfo";
this.txtInfo.Size = new System.Drawing.Size(484, 238);
this.txtInfo.Size = new System.Drawing.Size(484, 182);
this.txtInfo.TabIndex = 0;
//
// btnSearch
//
this.btnSearch.Location = new System.Drawing.Point(12, 211);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(75, 23);
this.btnSearch.TabIndex = 1;
this.btnSearch.Text = "查找测试";
this.btnSearch.UseVisualStyleBackColor = true;
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
//
// btnGetVersion
//
this.btnGetVersion.Location = new System.Drawing.Point(106, 211);
this.btnGetVersion.Name = "btnGetVersion";
this.btnGetVersion.Size = new System.Drawing.Size(91, 23);
this.btnGetVersion.TabIndex = 2;
this.btnGetVersion.Text = "获取文件版本";
this.btnGetVersion.UseVisualStyleBackColor = true;
this.btnGetVersion.Click += new System.EventHandler(this.btnGetVersion_Click);
//
// FormAssisant
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(508, 262);
this.ClientSize = new System.Drawing.Size(508, 252);
this.Controls.Add(this.btnGetVersion);
this.Controls.Add(this.btnSearch);
this.Controls.Add(this.txtInfo);
this.Name = "FormAssisant";
this.Text = "冷血无情的助手界面";
@@ -56,6 +80,8 @@
#endregion
private System.Windows.Forms.TextBox txtInfo;
private System.Windows.Forms.Button btnSearch;
private System.Windows.Forms.Button btnGetVersion;
}
}