public static GetInstructionsForUnlockingBook ( ) : string | ||
Результат | 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'.");
}
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); } }