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

            frmOrcamento.MdiParent = this;
            frmOrcamento.Show();
            frmOrcamento.WindowState = FormWindowState.Maximized;
        }
예제 #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();
        }