private void button1_Click(object sender, EventArgs e) { string xml = "<content1>" + "<layout>" + "<grid style=\"13\">" + "<grid id='tangramtabctrl_Page2 www' objid=\"nucleus\" caption='Page 1'></grid>" + "<grid id='test1' caption='Page 2 eee'></grid>" + "<grid id='test2' caption='Page 3'></grid>" + "<grid id='test3' caption='Page 4'></grid>" + "</grid>" + "</layout>" + "</content1>"; Xobj node = Cosmos.Observe(listView1, "test", xml); if (node != null) { node.OnTabChange += Node_OnTabChange; } Cosmos.CreateBrowser((IntPtr)1, "host:sunny2.html|host:WebPage/newweb.html"); }