Beispiel #1
0
 private void PanelDraw_Paint(object sender, PaintEventArgs e)
 {
     base.OnPaint(e);
     foreach (var f in FigureList)
     {
         f.Draw(e.Graphics);
         if (SelectedFigure != null)
         {
             SelectedFigure.FillSelectedFigure(e.Graphics);
         }
     }
 }