Bloom.Workspace.WorkspaceView.RemoveButtonTexts C# (CSharp) Метод

RemoveButtonTexts() приватный Метод

Remove the text from each of the buttons, but set the tooltip text where needed. (Tooltips different than the text have already been set on two of these buttons.)
private RemoveButtonTexts ( ) : void
Результат void
        private void RemoveButtonTexts()
        {
            // Mono requires an explicit tooltip text when setting the text to an empty
            // string, but .Net seems to remember the previous text string used as a
            // default tooltip.  It's simplest (and safest) to set it in both cases.
            _settingsButton.Text = string.Empty;
            _settingsButton.ToolTipText = _originalSettingsText;
            _helpMenu.Text = string.Empty;
            _openCreateCollectionButton.Text = string.Empty;
            // We can't set this text to the empty string because that makes the menu
            // icon too small by itself.  But setting it to a space also sets the
            // (default) tooltip to just a space.
            _uiLanguageMenu.Text = SPACE;
            _uiLanguageMenu.ToolTipText = _originalUiLanguageSelection;
        }