fix button hover behavior

This commit is contained in:
mshafer1
2024-12-21 09:39:04 -06:00
parent 1ae481b434
commit 7a5d067343

View File

@@ -54,9 +54,9 @@
// //
ButtonClose.BackColor = System.Drawing.SystemColors.ActiveCaptionText; ButtonClose.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
ButtonClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; ButtonClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
ButtonClose.FlatAppearance.BorderColor = System.Drawing.Color.White; ButtonClose.FlatAppearance.BorderSize = 0;
ButtonClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver; ButtonClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.DimGray;
ButtonClose.FlatStyle = System.Windows.Forms.FlatStyle.Popup; ButtonClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
ButtonClose.ForeColor = System.Drawing.SystemColors.ButtonFace; ButtonClose.ForeColor = System.Drawing.SystemColors.ButtonFace;
ButtonClose.Location = new System.Drawing.Point(759, 7); ButtonClose.Location = new System.Drawing.Point(759, 7);
ButtonClose.Name = "ButtonClose"; ButtonClose.Name = "ButtonClose";