Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed issue #72 - scrollbars added to RDP window after minimize/resto…

…re of mRemoteNG
  • Loading branch information...
commit e88cf2be5ecb6688d0c9d9bdc857c74d321433d2 1 parent 4644741
@rmcardle authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 mRemoteV1/Connection/Connection.Protocol.RDP.vb
View
8 mRemoteV1/Connection/Connection.Protocol.RDP.vb
@@ -98,6 +98,8 @@ Namespace Connection
RDP.ConnectingText = My.Resources.strConnecting
+ Control.Anchor = AnchorStyles.None
+
Return True
Catch ex As Exception
mC.AddMessage(Messages.MessageClass.ErrorMsg, My.Resources.strRdpSetPropsFailed & vbNewLine & ex.Message, True)
@@ -153,6 +155,12 @@ Namespace Connection
mC.AddMessage(Messages.MessageClass.ErrorMsg, My.Resources.strRdpFocusFailed & vbNewLine & ex.Message, True)
End Try
End Sub
+
+ Public Overrides Sub Resize()
+ Control.Location = InterfaceControl.Location
+ Control.Size = InterfaceControl.Size
+ MyBase.Resize()
+ End Sub
#End Region
#Region "Private Methods"
Please sign in to comment.
Something went wrong with that request. Please try again.