protected override void OnStartDemo(SampleViewport viewport)
{
//--------------------------------
{
//background element
var bgbox = new LayoutFarm.CustomWidgets.SimpleBox(800, 600);
bgbox.BackColor = Color.White;
bgbox.SetLocation(0, 0);
SetupBackgroundProperties(bgbox);
viewport.AddContent(bgbox);
}
//--------------------------------
//ninespace compartment
ninespaceBox = new UINinespaceBox(800, 600);
viewport.AddContent(ninespaceBox);
ninespaceBox.SetSize(800, 600);
}
void SetupBackgroundProperties(LayoutFarm.CustomWidgets.EaseBox backgroundBox)