/// <summary> /// Initializes a new instance of the <see cref="MySqlListViewNode"/> class. /// </summary> /// <param name="title">The title text of the tree node.</param> /// <param name="subtitle">The sub-title text of the tree node.</param> /// <param name="type">The type of MySQL information related to the node.</param> /// <param name="excludeFromMultiSelection">Flag indicating whether the tree node is skipped during a multiple selection.</param> private MySqlListViewNode(string title, string subtitle, MySqlNodeType type, bool excludeFromMultiSelection) : base(title) { DbObject = null; ExcludeFromMultiSelection = excludeFromMultiSelection; _isSelected = false; WbConnection = null; Enable = true; Title = title; Subtitle = subtitle; Type = type; }
/// <summary> /// Initializes a new instance of the <see cref="MySqlListViewNode"/> class intended to be a header node containing sub-nodes. /// </summary> /// <param name="headerTitle">The title text of the tree node.</param> /// <param name="type">The type of MySQL information related to the node.</param> /// <param name="excludeFromMultiSelection">Flag indicating whether the tree node is skipped during a multiple selection.</param> public MySqlListViewNode(string headerTitle, MySqlNodeType type, bool excludeFromMultiSelection = false) : this(headerTitle, null, type, excludeFromMultiSelection) { }