Merged changes

This commit is contained in:
MaxXor 2015-07-28 23:52:42 +02:00
commit 44a9ff21a4
1 changed files with 1 additions and 6 deletions

View File

@ -24,13 +24,8 @@ protected override void OnPaint(PaintEventArgs e)
{
Bitmap b = new Bitmap(Width, Height);
Graphics g = Graphics.FromImage(b);
try
{
if (!DesignMode)
SelectedTab.BackColor = SystemColors.Control;
}
catch (Exception)
{
}
g.Clear(SystemColors.Control);
g.FillRectangle(new SolidBrush(Color.FromArgb(246, 248, 252)),
new Rectangle(0, 0, ItemSize.Height + 4, Height));