예제 #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();
        }
예제 #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();
        }