Exemplo n.º 1
0
        private void btnAgregarNuevo_Click(object sender, EventArgs e)
        {
            frmNuevoCliente form = new frmNuevoCliente();

            form.FormClosed   += new System.Windows.Forms.FormClosedEventHandler(textBox1_TextChanged);
            form.MdiParent     = frmMDI.ActiveForm;
            form.StartPosition = FormStartPosition.CenterScreen;
            form.FormClosed   += F_FormClosed;
            form.Show();
            this.Enabled = false;
        }
Exemplo n.º 2
0
        private void Clientes_agregar_Click(object sender, EventArgs e)
        {
            frmNuevoCliente form = new frmNuevoCliente();

            AbrirFormMDI(form);
        }