Exemplo n.º 1
0
        public override void ChangeDesktopSize(Terminals.DesktopSize Size)
        {
            int height = Favorite.DesktopSizeHeight, width = Favorite.DesktopSizeWidth;

            ConnectionManager.GetSize(ref height, ref width, this, Favorite.DesktopSize);

            try
            {
                if (Size == DesktopSize.AutoScale)
                {
                    axMsRdpClient2.AdvancedSettings3.SmartSizing = true;
                    axMsRdpClient2.DesktopWidth  = width;
                    axMsRdpClient2.DesktopHeight = height;
                    return;
                }
                if (Size == DesktopSize.FullScreen)
                {
                    axMsRdpClient2.FullScreen    = true;
                    axMsRdpClient2.DesktopWidth  = width;
                    axMsRdpClient2.DesktopHeight = height;
                    return;
                }
                axMsRdpClient2.DesktopWidth  = width;
                axMsRdpClient2.DesktopHeight = height;
            }
            catch (Exception exc)
            {
                string f = "";
            }
        }
Exemplo n.º 2
0
 public void ChangeDesktopSize(Terminals.DesktopSize Size)
 {
 }
 public override void ChangeDesktopSize(Terminals.DesktopSize Size)
 {
 }
Exemplo n.º 4
0
 public abstract void ChangeDesktopSize(Terminals.DesktopSize Size);