Empeld
Empeld plugin documentation.
pluginbase.Objects.UI2.UI2Extensions Class Reference

Static Public Member Functions

static IUI2Control AddControl (this IUI2Screen screen, string filename)
 Load and immediately add a control to the screen More...
 

Member Function Documentation

◆ AddControl()

static IUI2Control pluginbase.Objects.UI2.UI2Extensions.AddControl ( this IUI2Screen  screen,
string  filename 
)
static

Load and immediately add a control to the screen

Returns
The control.
Parameters
screenScreen.
filenameFilename.
13  {
14  var control = screen.LoadControl(filename);
15  screen.AddControl(control);
16  return control;
17  }

The documentation for this class was generated from the following file: