예제 #1
0
        public static string TranslateText(string Text)
        {
            switch (ProgramProcess.ButtonSelected)
            {
            case 1:
            {
                return(CharTranslate.TranslateLangChar(Text: Text));
            }

            case 2:
            {
                switch (ProgramProcess.IdPanel2)
                {
                case 1:
                {
                    return(TextChange.CharToLower(Text: Text));
                }

                case 2:
                {
                    return(TextChange.CharToUpper(Text: Text));
                }

                case 3:
                {
                    return(TextChange.CharToTitleCase(Text: Text));
                }
                }
            }
            break;

            case 3:
            {
                return(TextChange.CharReverse(Text: Text));
            }
            }

            return(Text);
        }