예제 #1
0
 public ViewportForm(int w, int h, Viewport vp)
 {
     InitializeComponent();
     bmp = new Bitmap(w, h);
     g = Graphics.FromImage(bmp);
     this.vp = vp;
     Width = w;
     Height = h;
 }
예제 #2
0
 internal void SetViewport(Viewport vp)
 {
     this.vp = vp;
 }