Network shapes load, save, and print properly
This commit is contained in:
@ -799,6 +799,8 @@ namespace EduNetworkBuilder
|
||||
SolidBrush theBrush = new SolidBrush(SystemColors.Control);
|
||||
Graphics.FromImage(TheNetImage).FillRectangle(theBrush, new Rectangle(0,0, TheNetImage.Width, TheNetImage.Height));
|
||||
//re-generate the image
|
||||
foreach (NetShape shape in Shapes)
|
||||
shape.Draw(TheNetImage); //Draw any shapes
|
||||
//Do all the links first
|
||||
foreach (NetworkComponent NC in NetComponents)
|
||||
{
|
||||
|
Reference in New Issue
Block a user