示例#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();
 }