Change Manager
This commit is contained in:
1 parent
1d910db31a
commit
792351c922
14 files changed
+2329
-42
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user