Permalink
Browse files

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

…re of mRemoteNG
  • Loading branch information...
1 parent 4644741 commit e88cf2be5ecb6688d0c9d9bdc857c74d321433d2 @rmcardle rmcardle committed Dec 8, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 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"

0 comments on commit e88cf2b

Please sign in to comment.