private void gerarPdfDeUmUsuárioToolStripMenuItem_Click(object sender, EventArgs e) { RelatorioPdf relatorio = new RelatorioPdf(); relatorio.Owner = this; relatorio.Show(); }
private void button1_Click(object sender, EventArgs e) { RelatorioPdf relatorioPdf = new RelatorioPdf(); relatorioPdf.Owner = this; relatorioPdf.Show(); }