コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PrintingChartViewModel"/> class.
 /// </summary>
 public PrintingChartViewModel()
 {
     ConnectionString = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager  = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(OlapReport());
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SeriesCustomizationViewModel"/> class.
 /// </summary>
 public SeriesCustomizationViewModel()
 {
     ConnectionString = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager  = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(SimpleDimensions());
 }
コード例 #3
0
ファイル: DrillTypesViewModel.cs プロジェクト: wwwK/wpf-demos
 /// <summary>
 /// Initializes a new instance of the <see cref="DrillTypesViewModel"/> class.
 /// </summary>
 public DrillTypesViewModel()
 {
     ConnectionString = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager  = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(CreateOlapReport("Drill Member"));
 }
コード例 #4
0
 public OlapChartConfiguration()
 {
     InitializeComponent();
     this.designerSettings.ConnectionString = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MDXQueryViewModel"/> class.
 /// </summary>
 public MDXQueryViewModel()
 {
     ConnectionString         = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager          = new OlapDataManager(ConnectionString);
     olapDataManager.MdxQuery = CurrentMDXQuery = SimpleDimensions();
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XAMLConfigViewModel"/> class.
 /// </summary>
 public XAMLConfigViewModel()
 {
     olapConnectionString = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
 }