minor cleanup

This commit is contained in:
David Sparer
2016-08-17 08:54:56 -06:00
parent c3a7f3c950
commit d2ebb207ab
2 changed files with 3 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ namespace mRemoteNG.Container
return (ContainerInfo)MemberwiseClone();
}
private void SetDefaults()
private new void SetDefaults()
{
IsExpanded = true;
}

View File

@@ -24,7 +24,7 @@ namespace mRemoteNG.Tree.Root
LocalizedAttributes.LocalizedDefaultValue("strConnections"),
LocalizedAttributes.LocalizedDisplayName("strPropertyNameName"),
LocalizedAttributes.LocalizedDescription("strPropertyDescriptionName")]
public virtual string Name
public override string Name
{
get { return _name; }
set
@@ -46,16 +46,13 @@ namespace mRemoteNG.Tree.Root
Browsable(true),
LocalizedAttributes.LocalizedDisplayName("strPasswordProtect"),
TypeConverter(typeof(Tools.MiscTools.YesNoTypeConverter))]
public bool Password { get; set; }
public new bool Password { get; set; }
[Browsable(false)]
public string PasswordString {get; set;}
[Browsable(false)]
public RootNodeType Type {get; set;}
[Browsable(false)]
public TreeNode TreeNode {get; set;}
#endregion
}
}