Skip to content

Commit

Permalink
spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
d0vgan committed Feb 15, 2022
1 parent 0a3abab commit 90c066e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions SharpKeys/Dialog_KeyItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -340,7 +340,7 @@ private void mainPanel_Paint(object sender, PaintEventArgs e)
if (System.Windows.Forms.SystemInformation.HighContrast)
{
return;
}
}

Graphics graphics = e.Graphics;

Expand All @@ -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)
{
Expand Down Expand Up @@ -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';
}
Expand Down

0 comments on commit 90c066e

Please sign in to comment.