Browse Source

更改按钮样式

liuyuqi-dellpc 7 months ago
parent
commit
f088e326bf
1 changed files with 10 additions and 1 deletions
  1. 10 1
      C#/DecryptPwdGUI/Pages/frmMain.Designer.cs

+ 10 - 1
C#/DecryptPwdGUI/Pages/frmMain.Designer.cs

@@ -137,11 +137,14 @@ namespace DecryptPwdGUI
             // 
             // cmbAppList
             // 
+            this.cmbAppList.DropDownHeight = 150;
             this.cmbAppList.DropDownWidth = 567;
             this.cmbAppList.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
             this.cmbAppList.Font = new System.Drawing.Font("SimSun", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.cmbAppList.FormattingEnabled = true;
+            this.cmbAppList.IntegralHeight = false;
             this.cmbAppList.Location = new System.Drawing.Point(30, 76);
+            this.cmbAppList.Margin = new System.Windows.Forms.Padding(8);
             this.cmbAppList.Name = "cmbAppList";
             this.cmbAppList.Size = new System.Drawing.Size(567, 27);
             this.cmbAppList.TabIndex = 2;
@@ -149,6 +152,7 @@ namespace DecryptPwdGUI
             // tbResult
             // 
             this.tbResult.BorderStyle = System.Windows.Forms.BorderStyle.None;
+            this.tbResult.Font = new System.Drawing.Font("SimSun", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.tbResult.Location = new System.Drawing.Point(30, 177);
             this.tbResult.Multiline = true;
             this.tbResult.Name = "tbResult";
@@ -157,12 +161,17 @@ namespace DecryptPwdGUI
             // 
             // btnDecrypt
             // 
+            this.btnDecrypt.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
+            this.btnDecrypt.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
+            this.btnDecrypt.FlatAppearance.BorderSize = 0;
+            this.btnDecrypt.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+            this.btnDecrypt.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
             this.btnDecrypt.Location = new System.Drawing.Point(181, 117);
             this.btnDecrypt.Name = "btnDecrypt";
             this.btnDecrypt.Size = new System.Drawing.Size(205, 32);
             this.btnDecrypt.TabIndex = 0;
             this.btnDecrypt.Text = "解密";
-            this.btnDecrypt.UseVisualStyleBackColor = true;
+            this.btnDecrypt.UseVisualStyleBackColor = false;
             this.btnDecrypt.Click += new System.EventHandler(this.btnDecrypt_Click);
             // 
             // plTopMenu