Исправлены цвета панелей
This commit is contained in:
@@ -60,5 +60,25 @@ namespace GtaVUsersInfo.Sources
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static void ChangeFontInControls(Control parent, Color color)
|
||||
{
|
||||
foreach (Control control in parent.Controls)
|
||||
{
|
||||
if (control is TextBox ||
|
||||
control is Button ||
|
||||
control is ComboBox ||
|
||||
control is Label ||
|
||||
control is MenuStrip)
|
||||
{
|
||||
control.BackColor = color;
|
||||
}
|
||||
|
||||
if (control.HasChildren)
|
||||
{
|
||||
ChangeFontInControls(control, color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user