From 90c066e429ef5f4d54060c472e530369bdff4322 Mon Sep 17 00:00:00 2001 From: d0vgan Date: Tue, 15 Feb 2022 11:09:29 +0200 Subject: [PATCH] spaces --- SharpKeys/Dialog_KeyItem.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/SharpKeys/Dialog_KeyItem.cs b/SharpKeys/Dialog_KeyItem.cs index d6de563..9d5b1ba 100644 --- a/SharpKeys/Dialog_KeyItem.cs +++ b/SharpKeys/Dialog_KeyItem.cs @@ -207,7 +207,7 @@ private void InitializeComponent() // this.mainPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + | System.Windows.Forms.AnchorStyles.Right))); this.mainPanel.BackColor = System.Drawing.Color.Transparent; this.mainPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.mainPanel.Controls.Add(this.groupBox1); @@ -340,7 +340,7 @@ private void mainPanel_Paint(object sender, PaintEventArgs e) if (System.Windows.Forms.SystemInformation.HighContrast) { return; - } + } Graphics graphics = e.Graphics; @@ -356,8 +356,6 @@ private void mainPanel_Paint(object sender, PaintEventArgs e) private void Dialog_KeyItem_Resize(object sender, EventArgs e) { this.Invalidate(); - - } private void Dialog_KeyItem_Shown(object sender, EventArgs e) { @@ -428,7 +426,7 @@ private void edFilterTo_KeyDown(object sender, KeyEventArgs e) private void edFilterTo_KeyPress(object sender, KeyPressEventArgs e) { - if (e.KeyChar == '\x7F') // 0x7F corresponds to Ctrl+Backspace. Why? Ask Ask Microsoft... + if (e.KeyChar == '\x7F') // 0x7F corresponds to Ctrl+Backspace. Why? Ask Microsoft... { e.KeyChar = '\x00'; }