Esempio n. 1
0
        private void btnChamaVeiculos_Click(object sender, EventArgs e)
        {
            FrmCadVeiculos form = new FrmCadVeiculos();

            form.MdiParent = this;
            form.Show();
        }
Esempio n. 2
0
        private void abrirCadVeículosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmCadVeiculos form = new FrmCadVeiculos();

            form.MdiParent = this;
            form.Show();
        }
        private void btnChamaOutroForm_Click(object sender, EventArgs e)
        {
            FrmCadVeiculos form = new FrmCadVeiculos();

            form.strPlaca      = TxtboxPlaca.Text.Trim();
            form.Text          = "Cadastro de veículos";
            form.StartPosition = FormStartPosition.Manual;
            form.Location      = new System.Drawing.Point(200, 200);
            form.ShowDialog();
            txtResposta.Text = form.txtReposta.Text;
        }