Beispiel #1
0
 private void ToolStripMenuItemConsumo_Click(object sender, EventArgs e)
 {
     frmConsumoCombustivel f = new frmConsumoCombustivel();
     f.MdiParent = this;
     //habilitar IsMDIContainer no form que será o menu
     f.Show();
     //não permite digitar ou selecionar o form anterior
     //f.ShowDialog();
 }
Beispiel #2
0
        private void ToolStripMenuItemConsumo_Click(object sender, EventArgs e)
        {
            frmConsumoCombustivel f = new frmConsumoCombustivel();

            f.MdiParent = this;
            //habilitar IsMDIContainer no form que será o menu
            f.Show();
            //não permite digitar ou selecionar o form anterior
            //f.ShowDialog();
        }