Beispiel #1
0
        private void gerarOrcamento(object sender, EventArgs e)
        {
            frmOrcamento frmOrcamento = new frmOrcamento();

            frmOrcamento.MdiParent = this;
            frmOrcamento.Show();
            frmOrcamento.WindowState = FormWindowState.Maximized;
        }
Beispiel #2
0
        private void btnCancelar_Click(object sender, EventArgs e)
        {
            frmOrcamento frmOrcamento = new frmOrcamento();

            frmOrcamento.MdiParent = this.MdiParent;

            frmOrcamento.Show();
            frmOrcamento.WindowState = FormWindowState.Maximized;
            this.Close();
        }