/// <summary> /// Initializes a new instance of the <see cref="MenuBuilder"/> class. /// </summary> /// <param name="manager">The manager.</param> /// <param name="parentControl">The control where we are a buttons to.</param> public MenuBuilder(NodeManager manager, Control parentControl) { this.Windows = new Collection<Window>(); this.ButtonNames = new Collection<string>(); this.theme = new Theme(); this.Manager = manager; this.parent = parentControl; }
/// <summary> /// Initializes a new instance of the <see cref="NodeGraph"/> class. /// </summary> /// <param name="manager">The manager.</param> public NodeGraph(NodeManager manager) { this.RootNode = new RootNode("RootNode"); this.Manager = manager; }