/// <summary> /// Initializes a new window and loads controls tree from resource. /// </summary> /// <param name="title">Window title</param> /// <param name="framework">Reference to <seealso cref="GUIFramework"/> object to be used for initializing the controls tree.</param> /// <param name="type">Type to use as a namespace for resource</param> /// <param name="resourceName">Resource name</param> public GUIWindow(string title, GUIFramework framework, Type type, string resourceName) { _windowId = GetHashCode(); Title = title; IsDisplayDelegate = () => true; framework.InitWindow(this, type, resourceName); MapControlFields(); }
public PropertyTypeInitializerContainer(GUIFramework framework) { _framework = framework; }