Exemplo n.º 1
0
        private void SelectFileButtonClick(object sender, EventArgs e)
        {
            var filePath = SelectFileDialog();

            if (string.IsNullOrEmpty(filePath))
            {
                return;
            }
            SelectedFile.Text = filePath;
            DataBox.ResetText();
            DataBox.Text = string.Join(string.Empty, Format.Lines(File.ReadAllBytes(filePath)));
        }