public void AddChildren() { ICreateForm item = new CreateForm(); var button = new ButtonOfTestCase().TestCaseButton(GetId()); var labelUrl = item.CreateLabel((short)GetId(), "labelUrl"); var labelId = item.CreateLabel((short)GetId(), "labelId"); var url = new TestCaseTextBox().CreateUrl((short)GetId()); var id = new TestCaseTextBox().CreateId((short)GetId()); _nav.Children.Add(button); _nav.Children.Add(labelUrl); _nav.Children.Add(url); _nav.Children.Add(labelId); _nav.Children.Add(id); }