private void BBuscar_Click(object sender, EventArgs e)
 {
     Formularios.FormBuscarTabla dlg = new Visor_sql_2015.Formularios.FormBuscarTabla(DB, Visor_sql_2015.Controladores_DB.TIPOOBJETO.TABLAX);
     if (dlg.ShowDialog() == DialogResult.Cancel)
     {
         return;
     }
     TTabla.Text = dlg.Tabla;
 }
 private void button1_Click(object sender, EventArgs e)
 {
     Formularios.FormBuscarTabla dlg = new Visor_sql_2015.Formularios.FormBuscarTabla(DB, Visor_sql_2015.Controladores_DB.TIPOOBJETO.TABLAX);
     if (dlg.ShowDialog() == DialogResult.Cancel)
     {
         return;
     }
     TTablaPrimaria.Text = dlg.Tabla;
     CamposPK            = DB.DameLLavesPrimarias(TTablaPrimaria.Text);
     cRelacionTabla1.Clear();
     foreach (Objetos.CParametro obj in CamposPK)
     {
         cRelacionTabla1.Add(obj.nombre);
     }
     TRelacion.Text = "FK_" + TTabla.Text + "_" + TTablaPrimaria.Text;
 }