void Initialize()
{
- // size
- var size = ScreenSize;
- Resize(size.Width, size.Height);
-
// events
Deleted += (sender, e) =>
{
Show();
_conformant = new Conformant(this);
- _conformant.SetAlignment(-1.0, -1.0); // fill
- _conformant.SetWeight(1.0, 1.0); // expand
_conformant.Show();
// Create the base (default) layout for the application
_layout = new ELayout(_conformant);
- _layout.SetAlignment(-1.0, -1.0); // fill
- _layout.SetWeight(1.0, 1.0); // expand
_layout.SetTheme("layout", "application", "default");
_layout.Show();