Exemplo n.º 1
0
        internal override void InitButtons()
        {
            fConnectButton = new ConnectToolboxButton();
            //RegisterToolItem(fConnectButton);
            //fConnectButton.LoginWindowSettings.fOwner = this;

            fMDXQueryButton = new MDXQueryButton();
            //RegisterToolItem(fMDXQueryButton);

            fAddCalcMeasureButton = new AddCalculatedMeasureButton {
                NeedSeparator = true
            };
            RegisterToolItem(fAddCalcMeasureButton);

            fSaveLayoutButton = new SaveLayoutToolboxButton();
            //RegisterToolItem(fSaveLayoutButton);

            fLoadLayoutButton = new LoadLayoutButton {
                NeedSeparator = true
            };
            //RegisterToolItem(fLoadLayoutButton);
            //fLoadLayoutButton.fFile.ID = "olaptlw_loadfile_" + fLoadLayoutButton.GetGridID();
            //Controls.Add(fLoadLayoutButton.fFile);

            fClearLayoutButton = new ClearLayoutToolboxButton();
            RegisterToolItem(fClearLayoutButton);

            fAllAreasButton = new AllAreasToolboxButton();
            RegisterToolItem(fAllAreasButton);

            fPivotAreaButton = new PivotAreaToolboxButton();
            RegisterToolItem(fPivotAreaButton);

            fDataAreaButton = new DataAreaToolboxButton {
                NeedSeparator = true
            };
            RegisterToolItem(fDataAreaButton);

            fMeasurePlaceButton = new MeasurePlaceToolboxButton {
                NeedSeparator = true
            };
            RegisterToolItem(fMeasurePlaceButton);

            fZoomOutButton = new ScaleDecreaseButton();
            RegisterToolItem(fZoomOutButton);

            fZoomInButton = new ScaleIncreaseButton();
            RegisterToolItem(fZoomInButton);

            fResetZoomButton = new ScaleResetButton {
                NeedSeparator = true
            };
            RegisterToolItem(fResetZoomButton);

            FModeButton = new ModeButton {
                NeedSeparator = true
            };
            RegisterToolItem(FModeButton);

            fResizingButton = new ResizingButton {
                NeedSeparator = true
            };
            RegisterToolItem(fResizingButton);

            fDelayPivotingButton = new DelayPivotingButton();
            RegisterToolItem(fDelayPivotingButton);
        }
Exemplo n.º 2
0
 internal JsonDialog MakeMDXDialog()
 {
     return(MDXQueryButton.MakeDialog());
 }