コード例 #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();
        }