private void btnVoltar_Click(object sender, EventArgs e)
        {
            var voltar = new FormRelatorios()
            {
                MdiParent   = this.MdiParent,
                ControlBox  = false,
                WindowState = FormWindowState.Maximized
            };

            voltar.Show();
            this.Close();
        }
Example #2
0
        private void RelatóriosToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            var formRelatorios = new FormRelatorios();

            formRelatorios.Show();
        }