diff --git a/EX/VNC.xaml.cs b/EX/VNC.xaml.cs index 7274584..2597e52 100644 --- a/EX/VNC.xaml.cs +++ b/EX/VNC.xaml.cs @@ -41,10 +41,12 @@ namespace SunlightCentralizedControlManagement_SCCM_.EX // vnc.MouseWheel += Vnc_MouseWheel; // vnc.PreviewKeyDown += Vnc_PreviewKeyDown; - - // rdp.ConnectComplete += new ConnectCompleteHandler(ConnectCompleteEventHandler); - // rdp.ConnectionLost += new EventHandler(ConnectionLostEventHandler); - // rdp.StoppedListen += new EventHandler(ConnectionLostEventHandler); + + // rdp.ConnectComplete += new ConnectCompleteHandler(ConnectCompleteEventHandler); + // rdp.ConnectionLost += new EventHandler(ConnectionLostEventHandler); + // rdp.StoppedListen += new EventHandler(ConnectionLostEventHandler); + + rdp.SetScalingMode(false);//自动缩放全屏 }