Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Principal.CampoIdSecundario     = "CodTipo";
            Principal.CampoNombreSecundario = "Nombre";
            Principal.NombreTablaSecundario = "Tipo";
            FrmAltaBasica form = new FrmAltaBasica();

            form.FormClosing += new FormClosingEventHandler(form_FormClosing);
            form.ShowDialog();
        }
Esempio n. 2
0
        private void btnAgregarColor_Click(object sender, EventArgs e)
        {
            Principal.CampoIdSecundario         = "CodColor";
            Principal.CampoNombreSecundario     = "Nombre";
            Principal.NombreTablaSecundario     = "Color";
            Principal.CampoIdSecundarioGenerado = "";
            FrmAltaBasica form = new FrmAltaBasica();

            form.FormClosing += new FormClosingEventHandler(form_FormClosing);
            form.ShowDialog();
        }