Change Manager

This commit is contained in:
Rich committed 2011-08-01 20:20:39 +00:00
1 parent 1d910db31a
commit 792351c922
14 files changed
+2329 -42

No files matched your search

+3 -2
View File
@@ -976,10 +976,11 @@ namespace Volian.Controls.Library
int x2 = bounds.Right - 1;
int y2 = bounds.Bottom - 1;
GridItem myGridItem = Parent as GridItem;
if (myGridItem == null) return;
Panel myPanel = Parent as Panel;
if (myGridItem == null && myPanel == null) return;
if (row == 0 || col == 0) // Top or Left Edge - Draw on parent
{
using (Graphics grParent = myGridItem.CreateGraphics())
using (Graphics grParent = myGridItem != null ? myGridItem.CreateGraphics() : myPanel.CreateGraphics())
{
if (row == 0)
{