* UIRichTextBox:支持可改背景色

This commit is contained in:
Sunny 2021-05-25 16:26:43 +08:00
parent 9b3ce10bb3
commit f9a06019ac
6 changed files with 2 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -46,6 +46,8 @@ namespace Sunny.UI
edit.ScrollBars = RichTextBoxScrollBars.Vertical;
}
public override Color BackColor { get => edit.BackColor; set { edit.BackColor = base.BackColor = value; } }
protected override void OnContextMenuStripChanged(EventArgs e)
{
base.OnContextMenuStripChanged(e);