示例#1
0
        private void despesasDeCarrosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var despesaCarro = new FormDespesasCarro
            {
                MdiParent  = this,
                ControlBox = false
            };

            despesaCarro.Show();
        }
示例#2
0
        private void registrarAlertaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var form = new FormDespesasCarro
            {
                MdiParent  = this,
                ControlBox = true
            };

            form.TabCadastroVeiculos.SelectTab(1);
            form.Show();
        }