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