private void CipherButton_Click(object sender, EventArgs e) { string inputText = PlainBox.Text; if (inputText.Length == 0) { return; } if (ShiftAll.Checked) { CipherBox.Clear(); for (int i = 1; i < 26; i++) { CipherBox.Text += Caesar.Cipher(inputText, i); if (i != 25) { CipherBox.Text += Environment.NewLine; } } } else { CipherBox.Text = Caesar.Cipher(inputText, (int)ShiftInput.Value); } }