private void despesasDeCarrosToolStripMenuItem_Click(object sender, EventArgs e) { var despesaCarro = new FormDespesasCarro { MdiParent = this, ControlBox = false }; despesaCarro.Show(); }
private void registrarAlertaToolStripMenuItem_Click(object sender, EventArgs e) { var form = new FormDespesasCarro { MdiParent = this, ControlBox = true }; form.TabCadastroVeiculos.SelectTab(1); form.Show(); }