/// <summary> /// Initializes a new instance of the <see cref="DNNContext"/> class. /// </summary> /// <param name="hostControl">The control that hosts the menu.</param> public DNNContext(Control hostControl) { this.HostControl = hostControl; this.savedContext = Current; Current = this; }
public DNNContext(Control hostControl) { HostControl = hostControl; savedContext = Current; Current = this; }