private void getCubes()
 {
     cubes = database.Cubes;
     foreach (var cub in cubes)
     {
         comboBoxCubes.Items.Add(cub.ToString());
     }
 }
        //7
        public void ConnectToDB7()
        {
            Database db = TransportServer.Databases[Idbase];

            dims  = db.Dimensions;
            cubes = db.Cubes;
            foreach (var temp in dims)
            {
                listBoxDim.Items.Add(temp.ToString());
            }
            for (int i = 0; i < cubes.Count; i++)
            {
                listBoxCube.Items.Add(cubes[i].ToString());
            }
        }