Analyzer: IEaxAnalyzerSource;
Analyzer: Prognoz.Platform.Interop.Express.IEaxAnalyzerSource;
The Analyzer property determines a data source for the component.
It is required to specify the UiErAnalyzercomponent as a data source, which is connected to the required repository workbook.
Executing the example requires a form with the Button1 button, the WorkbookDocumentViewerBox component named WorkbookDocumentViewerBox1, and the UiErAnalyzer component named UiErAnalyzer1. UiErAnalyzer1 is connected to any workbook of the repository.
Sub Button1OnClick1(Sender: Object; Args: IMouseEventArgs);
Begin
WorkbookDocumentViewerBox1.Analyzer := UiErAnalyzer1 As IEaxAnalyzerSource;
WorkbookDocumentViewerBox1.FactorsTreeVisible := False;
UiErAnalyzer1.Active := True;
End Sub Button1OnClick1;
On clicking the button the UiErAnalyzer1 component is set as a data source for WorkbookDocumentViewerBox1. Displaying the series tree, the Source button and the navigation chain will be disabled.
The requirements and result of the Fore.NET Example execution match with those in the Fore Example. Use Fore.NET analogs instead of Fore components.
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Begin
WorkbookDocumentViewerBoxNet1.Analyzer := uiErAnalyzerNet1;
WorkbookDocumentViewerBoxnet1.CtrlBox.FactorsTreeVisible := False;
uiErAnalyzerNet1.Active := True;
End Sub;
See also: