コード例 #1
0
 /// <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();
 }
コード例 #2
0
 public PropertyTypeInitializerContainer(GUIFramework framework)
 {
     _framework = framework;
 }