Imports System.Windows.Forms Imports System.ComponentModel Imports mRemote.Tools.Misc.PropertyGridCategory Namespace Root _ Public Class Info Public Sub New(ByVal typ As RootType) _Type = typ End Sub #Region "Properties" Private _Name As String = "Connections" _ Public Property Name() As String Get Return Me._Name End Get Set(ByVal value As String) Me._Name = value End Set End Property Private _Password As Boolean _ Public Property Password() As Boolean Get Return _Password End Get Set(ByVal value As Boolean) _Password = value End Set End Property Private _PasswordString As String _ Public Property PasswordString() As String Get Return _PasswordString End Get Set(ByVal value As String) _PasswordString = value End Set End Property Private _Type As Root.Info.RootType = RootType.Connection _ Public Property Type() As Root.Info.RootType Get Return _Type End Get Set(ByVal value As Root.Info.RootType) _Type = value End Set End Property Private _TreeNode As TreeNode _ Public Property TreeNode() As TreeNode Get Return Me._TreeNode End Get Set(ByVal value As TreeNode) Me._TreeNode = value End Set End Property #End Region Public Enum RootType Connection Credential End Enum Public Class Attributes Public Class Root Inherits Attribute End Class End Class End Class End Namespace