mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
forgot to add to the ok button 😛
This commit is contained in:
parent
10ae6bcf8f
commit
849fd00fa7
1 changed files with 16 additions and 0 deletions
|
@ -122,6 +122,22 @@ private void okButton_Click(object sender, EventArgs e)
|
|||
TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.ICTheme_BG, TitleScreen.frm95.Width, TitleScreen.frm95.Height);
|
||||
break;
|
||||
}
|
||||
foreach (Form f in Application.OpenForms)
|
||||
{
|
||||
if (f is WinClassic)
|
||||
{
|
||||
if (((WinClassic)f).isActive)
|
||||
{
|
||||
((WinClassic)f).programtopbar.BackColor = SaveSystem.currentTheme.activeTitleBarColor;
|
||||
((WinClassic)f).Title.ForeColor = SaveSystem.currentTheme.activeTitleTextColor;
|
||||
}
|
||||
else
|
||||
{
|
||||
((WinClassic)f).programtopbar.BackColor = SaveSystem.currentTheme.inactiveTitleBarColor;
|
||||
((WinClassic)f).Title.ForeColor = SaveSystem.currentTheme.inactiveTitleTextColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
ParentForm.Close();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue