private void button1_Click(object sender, RoutedEventArgs e) { this.tbResult.Text = Des.encode(this.textBox.Text); }