public void Destroy() { if (display != null) { display.Close(); display = null; } emulator.Break(); emulator = null; }
public void ShowDisplay() { if (emulator == null) return; // show the display as a popup (always on top?) if (display == null || display.IsDisposed) { display = new EmulatorDisplay(emulator); } display.Show(); }