Example #1
0
        public void Tch_AddPage()
        {
            ITabControlHostService host  = new TabControlHost(services, tabCtrl);
            IWindowFrame           frame = host.Add(pane, "Foo");

            Assert.AreEqual("Foo", tabCtrl.TabPages[0].Text);
        }
Example #2
0
        public void Tch_AddPage()
        {
            ITabControlHostService host = new TabControlHost(services, tabCtrl);

            host.Add(pane.Object, "Foo");

            Assert.AreEqual("Foo", tabCtrl.TabPages[0].Text);
        }