void Morse(bool encrypt, string text) { text = RemoveCzech(text); text = text.ToLower(); InputText = text; if (encrypt) { Output = MorseCode.TranslateTo(text); } else { Output = MorseCode.TranslateFrom(text); } }
void Morse(bool encrypt, string text) { text = RemoveCzech(text); text = text.ToLower(); InputText = text; if (encrypt) { Output = MorseCode.TranslateTo(text); } else { Output = MorseCode.TranslateFrom(text); } }