* UITitlePanel:修复OnMouseMove事件

This commit is contained in:
Sunny 2021-04-11 14:57:52 +08:00
parent ce838e820e
commit f77ba7c2d5
7 changed files with 4 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -225,7 +225,7 @@
this.uiLedLabel.Name = "uiLedLabel";
this.uiLedLabel.Size = new System.Drawing.Size(670, 20);
this.uiLedLabel.TabIndex = 29;
this.uiLedLabel.Text = "UILedLabel";
this.uiLedLabel.Text = "UILedLabel (仅支持英文、标点符号、希腊字母)";
this.uiLedLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLedLabel1

View File

@ -42,7 +42,7 @@ namespace Sunny.UI.Controls
base.OnPaint(e);
int width = CharCount * IntervalOn * 5 +
CharCount * IntervalIn * 4 + (CharCount + 1) * IntervalOn + CharCount * 2;// * IntervalIn;
CharCount * IntervalIn * 4 + (CharCount + 1) * IntervalOn + CharCount * IntervalIn;
int height = IntervalOn * 7 + IntervalIn * 6;
float left = 0;

View File

@ -161,6 +161,8 @@ namespace Sunny.UI
InControlBox = inControlBox;
if (ShowCollapse) Invalidate();
}
base.OnMouseMove(e);
}
protected override void OnMouseLeave(EventArgs e)