示例#1
0
 private void Button3_Click(object sender, EventArgs e)
 {
     using (var formBuscaCarro = new FormBuscaCarro())
     {
         formBuscaCarro.Show();
     }
 }
示例#2
0
        private void veiculosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var consultarVeiculo = new FormBuscaCarro()
            {
                ControlBox = false,
                MdiParent  = this
            };

            consultarVeiculo.Show();
        }
        private void BtnLocalizar_Click_1(object sender, EventArgs e)
        {
            var busca = new FormBuscaCarro
            {
                MdiParent  = this.MdiParent,
                ControlBox = false
            };

            this.Close();
            busca.Show();
        }
        private void BtnLocalizar_Click(object sender, EventArgs e)
        {
            var formBuscaCarro = new FormBuscaCarro();

            formBuscaCarro.Show();
        }