Skip to content

Commit 09a4ec0

Browse files
committed
Версия 3.6.1
1 parent 7019e0d commit 09a4ec0

8 files changed

Lines changed: 1449 additions & 1166 deletions

File tree

DarkTheme/DarkModeCS.cs

Lines changed: 211 additions & 125 deletions
Large diffs are not rendered by default.

DarkTheme/FlatComboBox.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected override void WndProc(ref Message m)
6666
}
6767
var innerBorderColor = Enabled ? BackColor : SystemColors.Control;
6868
var outerBorderColor = Enabled ? BorderColor : SystemColors.ControlDark;
69-
var buttonColor = Enabled ? ButtonColor : SystemColors.Control;
69+
var buttonColor1 = Enabled ? ButtonColor : SystemColors.Control; //renamed from buttonColor so that it cannot be confused with the field of the same name
7070
var middle = new Point(dropDownRect.Left + dropDownRect.Width / 2,
7171
dropDownRect.Top + dropDownRect.Height / 2);
7272
var arrow = new Point[]
@@ -105,7 +105,7 @@ protected override void WndProc(ref Message m)
105105

106106
#region DropDown Button
107107

108-
using (var b = new SolidBrush(buttonColor))
108+
using (var b = new SolidBrush(buttonColor1))
109109
{
110110
g.FillRectangle(b, dropDownRect);
111111
}

0 commit comments

Comments
 (0)