Пример #1
0
        private void RetrieveTen_Click(object sender, RoutedEventArgs e)
        {
            Window1 window1 = new Window1();

            window1.ShowDialog();

            List <byte[]> tenKeys = new List <byte[]>();

            string[] keyStrings = TenKeyHolder.Text.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
            foreach (var keey in keyStrings)
            {
                tenKeys.Add(keey.GetBytesFromPrintableString());
            }
            BKey.Text = tenKeys.GetOne(window1.ChosenKey.SelectedIndex).PrintBytes();
        }