I'm using TextBoxt Multiline
to "cast" the report on the system itself.
When printing, however, the following message appears: "System.Windows.Forms.TextBox" and then the given.
public Formulário()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
using (StreamReader ler = new StreamReader(@"escrevesaida.txt"))
{
string leitor;
while ((leitor = ler.ReadLine()) != null)
{
textBox1.AppendText($"{leitor}{Environment.NewLine}");
}
}
}