public EmulatorController(string emulatorName)
        {
            this.emulatorVm = GetEmulatorVm(emulatorName);
            this.cursor = new Point(0, 0);
            this.PhoneOrientationToUse = PhoneOrientation.Landscape;

            if (this.emulatorVm == null)
            {
                throw new NullReferenceException(
                    string.Format("Could not get running XDE virtual machine {0}", emulatorName));
            }

            this.PhoneScreenSize = this.emulatorVm.GetCurrentResolution();
        }
 public void Dispose()
 {
     this.vm = null;
 }
 public VirtualMachine(IXdeVirtualMachine virtualMachine)
 {
     this.vm = virtualMachine;
 }
 public void Dispose()
 {
     this.vm = null;
 }
 public VirtualMachine(IXdeVirtualMachine virtualMachine)
 {
     this.vm = virtualMachine;
 }