Beispiel #1
0
 public void Dispose()
 {
     Clear();
     if (gdiPainter != null)
     {
         gdiPainter.Dispose();
         gdiPainter = null;
     }
     if (gdiSelector != null)
     {
         gdiSelector.Dispose();
         gdiSelector = null;
     }
 }
Beispiel #2
0
 public FieldManager(Graphics graph)
 {
     gdiPainter  = new GDIPainter(graph);
     gdiSelector = new GDISelector();
 }