How to use VB.Net code to open child

Sep 21, 2010 at 3:16 PM

I've tried most every way possible to change the following code to VB.Net, but nothing works

WindowContainer.Children.Add(new MdiChild()
{
    Title = "Window 1",
    Content = new ExampleControl()
});

the problem is keeping the title and content together for the mdiChild - - any ideas?