コード例 #1
0
 private void getDimensions()
 {
     dims = database.Dimensions;
     foreach (var dim in dims)
     {
         comboBoxDimensions.Items.Add(dim.ToString());
     }
 }
コード例 #2
0
        //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());
            }
        }