diff options
author | Riley McArdle <riley@glyff.net> | 2013-10-15 07:48:10 +0400 |
---|---|---|
committer | Riley McArdle <riley@glyff.net> | 2013-10-15 07:48:10 +0400 |
commit | 3cb8784996e4569d59030f20946c8061e01dee70 (patch) | |
tree | 570343e6736bcd351d93d939646398a8afdf4cb3 | |
parent | 81d150f80ae95f1bae508fd0f508e8884f53d183 (diff) |
Minor code cleanup.
-rw-r--r-- | mRemoteV1/Connection/Connection.Info.vb | 6 | ||||
-rw-r--r-- | mRemoteV1/Container/Container.Info.vb | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/mRemoteV1/Connection/Connection.Info.vb b/mRemoteV1/Connection/Connection.Info.vb index fc18a661..f3bf484d 100644 --- a/mRemoteV1/Connection/Connection.Info.vb +++ b/mRemoteV1/Connection/Connection.Info.vb @@ -8,17 +8,17 @@ Namespace Connection Public Class Info #Region "Properties" #Region "1 Display" - Private _Name As String = My.Language.strNewConnection + Private _name As String = My.Language.strNewConnection <LocalizedCategory("strCategoryDisplay", 1), _ Browsable(True), _ LocalizedDisplayName("strPropertyNameName"), _ LocalizedDescription("strPropertyDescriptionName")> _ Public Overridable Property Name() As String Get - Return Me._Name + Return _name End Get Set(ByVal value As String) - Me._Name = value + _name = value End Set End Property diff --git a/mRemoteV1/Container/Container.Info.vb b/mRemoteV1/Container/Container.Info.vb index ecadde12..e6ae7aad 100644 --- a/mRemoteV1/Container/Container.Info.vb +++ b/mRemoteV1/Container/Container.Info.vb @@ -6,7 +6,6 @@ Namespace Container <DefaultProperty("Name")> _ Public Class Info #Region "Properties" - Private _Name As String = "New Container" <LocalizedCategory("strCategoryDisplay", 1), _ Browsable(True), _ [ReadOnly](False), _ @@ -18,10 +17,10 @@ Namespace Container Attributes.Container()> _ Public Property Name() As String Get - Return Me._ConnectionInfo.Name + Return ConnectionInfo.Name End Get Set(ByVal value As String) - Me._ConnectionInfo.Name = value + ConnectionInfo.Name = value End Set End Property |