Exemplo n.º 1
0
        public SideTab(SideBarControl sideBar, string name) : this(sideBar.SideTabItemFactory)
        {
            var g = sideBar.CreateGraphics();

            dpiY = g.DpiY;
            g.Dispose();

            this.Name = name;
            SetCanRename();
            items.ItemRemoved += OnSideTabItemRemoved;
        }
Exemplo n.º 2
0
 public SideTab(SideBarControl sideBar, string name) : this(sideBar.SideTabItemFactory)
 {
     this.Name = name;
     SetCanRename();
     items.ItemRemoved += OnSideTabItemRemoved;
 }
Exemplo n.º 3
0
 public SideTab CreateSideTab(SideBarControl sideBar, string name)
 {
     return(new SideTab(sideBar, name));
 }
Exemplo n.º 4
0
 public SideTabCollection(SideBarControl sideBar)
 {
     this.sideBar = sideBar;
 }