/// <summary>
        /// Starts renaming of the <paramref name="item"/>.
        /// </summary>
        /// <param name="item">An <see cref="Item"/> to rename.</param>
        protected virtual void OnRenameItem(Item item)
        {
            RenameTextBox box = this.RenamerBox;

            box.Tool    = item;
            box.Caption = item.Text;
            box.Show();
        }
        /// <summary>
        /// Starts renaming of the <paramref name="tab"/> using the <paramref name="baseName"/>.
        /// </summary>
        /// <param name="tab">A <see cref="Tab"/> to rename.</param>
        /// <param name="baseName">A default name displayed in the rename textbox.</param>
        protected virtual void OnRenameTab(Tab tab, string baseName)
        {
            RenameTextBox box = this.RenamerBox;

            box.Tool    = tab;
            box.Caption = baseName;
            box.Show();
        }