/// <summary> Executes the copy view sheet demo operation. </summary>
        ///
        /// <param name="sheetName"> Name of the ViewSheet to copy. </param>
        ///
        /// <returns> the sheetIndex of the copy, else -1 if the copy operation failed. </returns>
        private int RunCopyViewSheetDemo(string sheetName)
        {
            var sheetIndex = ViewSheets.GetViewSheet(sheetName);

            if (sheetIndex == -1 && !this.ShowMessage($"Could not find sheet {sheetName}.", LocalizationStrings.Title, true))
            {
                return(-1);
            }

            sheetIndex = ViewSheets.CreateCopySheet(sheetIndex);
            if (sheetIndex == -1 && !this.ShowMessage($"Copying the sheet named {sheetName} failed.", LocalizationStrings.Title, true))
            {
                return(-1);
            }

            this.ShowMessage($"Using CreateCopySheet we've made a copy of the {sheetName}.", LocalizationStrings.Title);

            return(sheetIndex);
        }