Bloom.Edit.EditingView.GetInstructionsForUnlockingBook C# (CSharp) Method

GetInstructionsForUnlockingBook() public static method

public static GetInstructionsForUnlockingBook ( ) : string
return string
        public static string GetInstructionsForUnlockingBook()
        {
            return LocalizationManager.GetString("EditTab.HowToUnlockBook",
                            "To unlock this shellbook, go into the toolbox on the right, find the gear icon, and click 'Allow changes to this shellbook'.");
        }

Usage Example

Example #1
0
        private void AddPageButton_Click()
        {
            // Turn double-click into a single-click
            if (_lastButtonClickedTime > DateTime.Now.AddSeconds(-1))
            {
                return;
            }
            _lastButtonClickedTime = DateTime.Now;

            if (_editingModel.CanAddPages)
            {
                _editingModel.ShowAddPageDialog();
            }
            else
            {
                // TODO: localize buttons
                MessageBox.Show(EditingView.GetInstructionsForUnlockingBook(), "Bloom", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
All Usage Examples Of Bloom.Edit.EditingView::GetInstructionsForUnlockingBook