Changes between Initial Version and Version 2 of Ticket #13759
- Timestamp:
- Jan 14, 2015 7:59:51 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13759
- Property Status new → closed
- Property Resolution → invalid
-
Ticket #13759 – Description
initial v2 2 2 I develop on C#. 3 3 I'm trying to switch VirtualBox to SeamlessMode throughout IDisplay.SetSeamlessMode with runing VM, but it's not working. [https://forums.virtualbox.org/viewtopic.php?f=34&t=65462] 4 5 VirtualBoxClient vboxclient = new VirtualBoxClient(); [[BR]]6 IMachine machine = vboxclient.VirtualBox.FindMachine("VM"); [[BR]]7 Session session = vboxclient.Session; [[BR]]4 {{{ 5 VirtualBoxClient vboxclient = new VirtualBoxClient(); 6 IMachine machine = vboxclient.VirtualBox.FindMachine("VM"); 7 Session session = vboxclient.Session; 8 8 try 9 9 { 10 machine.LockMachine(session, LockType.LockType_Shared); [[BR]]11 session.Console.Display.SetSeamlessMode(1); [[BR]]12 } catch (Exception e){MessageBox.Show(e.Message);}10 machine.LockMachine(session, LockType.LockType_Shared); 11 session.Console.Display.SetSeamlessMode(1); 12 } catch (Exception e){MessageBox.Show(e.Message);} 13 13 } finally { 14 14 if (session.State == SessionState.SessionState_Locked) 15 session.UnlockMachine(); [[BR]]15 session.UnlockMachine(); 16 16 } 17 }}}