public override void Run() { SharpDevelopSideBar sideBar = (SharpDevelopSideBar)Owner; SideTabItem item = sideBar.ActiveTab.ChosenItem; if (item != null) { sideBar.StartRenamingOf(item); } }
public override void Run() { SharpDevelopSideBar sideBar = (SharpDevelopSideBar)Owner; SideTab tab = new SideTab(sideBar, "New Tab"); sideBar.Tabs.Add(tab); sideBar.StartRenamingOf(tab); sideBar.DoAddTab = true; sideBar.Refresh(); }
public override void Run() { SharpDevelopSideBar sideBar = (SharpDevelopSideBar)Owner; sideBar.StartRenamingOf(sideBar.GetTabAt(sideBar.SideBarMousePosition.X, sideBar.SideBarMousePosition.Y)); }