示例#1
0
        private string changeToBraille(string content)
        {
            string convertedText = content;

            if (!textConverted)
            {
                convertingBraille cb = new convertingBraille();
                convertedText = cb.convertNumbersToBrailleNumbers(convertedText);
                convertedText = cb.convertCapitalsToUnderscore(convertedText);

                textConverted = true;

                toolStripButtonConvertToBraille.Enabled = false;
            }

            return convertedText;
        }
示例#2
0
        private string changeToText(string content)
        {
            System.Drawing.Font f = new System.Drawing.Font("Lucida Console", 16);
            richTextBoxEditor.Font = f;

            convertingBraille cb = new convertingBraille();
            content = cb.convertBackToPrint(content);

            textConverted = false;

            toolStripButtonConvertToBraille.Enabled = true;

            return content;
        }