yibo 7 years ago
parent
commit
c5cc0ff69d
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      WinFormControl/NButton.cs
  2. +0
    -1
      WinFormControl/UScanPanel.cs

+ 1
- 1
WinFormControl/NButton.cs View File

@ -150,7 +150,7 @@ namespace WinFormControl
Rectangle rc = new Rectangle(btnOffset, btnOffset, this.ClientSize.Width - shadowDeep - btnOffset, this.ClientSize.Height - shadowDeep - btnOffset); Rectangle rc = new Rectangle(btnOffset, btnOffset, this.ClientSize.Width - shadowDeep - btnOffset, this.ClientSize.Height - shadowDeep - btnOffset);
GraphicsPath path1 = this.GetPath(rc, 15); GraphicsPath path1 = this.GetPath(rc, 15);
LinearGradientBrush br1 = new LinearGradientBrush(rc, clr, ed, LinearGradientMode.BackwardDiagonal);
LinearGradientBrush br1 = new LinearGradientBrush(rc, clr, ed, LinearGradientMode.Vertical);
/// ///
/// Create shadow /// Create shadow
/// ///


+ 0
- 1
WinFormControl/UScanPanel.cs View File

@ -63,7 +63,6 @@ namespace WinFormControl
e.Handled = true; e.Handled = true;
var code = ParseCode(_scarText); var code = ParseCode(_scarText);
textBox1.Text = code; textBox1.Text = code;
textBox1.Select(textBox1.TextLength, 0);
_scarText = string.Empty; _scarText = string.Empty;
reading = false; reading = false;
if (AfterScan != null) if (AfterScan != null)


Loading…
Cancel
Save