예제 #1
0
 public RenderDialog()
 {
     this.InitializeComponent();
     this.KeyDown += this.FrmKeyDown;
     this.KeyUp += this.FrmKeyUp;
     this.virtualMachine = new VirtualMachine(new VideoRender(this.pbRender));
     this.presenter = new RenderPresenter(this, this.virtualMachine);
 }
예제 #2
0
 public RenderPresenter(IRenderDialog view, VirtualMachine virtualMachine)
 {
     this.view = view;
     this.virtualMachine = virtualMachine;
     this.SetGraphics(Graphics.Small());
 }
예제 #3
0
 public DebuggerDialog(VirtualMachine vm)
 {
     this.InitializeComponent();
     this.vm = vm;
     this.InitializeMemory();
 }