private void DecodeButton_Click(object sender, RoutedEventArgs e) { if (string.IsNullOrEmpty(DataText.Text)) { DecodeText.Clear(); return; } DecodeText.Text = decoder.Decode(buff); }
private void Button_Click_Clear(object sender, RoutedEventArgs e) { KeyLengthBox.Items.Clear(); KeyBox.Items.Clear(); DecodeText.Clear(); }