private void button1_Click(object sender, EventArgs e) { char[][] keySquare = MainLogic.GetStaticKeySquare(); string keyWord = "кот"; string clearText = textBox1.Text; string cipherText = MainLogic.Cipher(clearText, keySquare, keyWord); textBox2.Text = cipherText; }