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 WorkbookStatisticsPanel component named WorkbookStatisticsPanel1, and the UiErAnalyzer component named UiErAnalyzer1. UiErAnalyzer1 is connected to any workbook of the repository.
Sub Button1OnClick1(Sender: Object; Args: IMouseEventArgs);
Begin
WorkbookStatisticsPanel1.Analyzer := UiErAnalyzer1 As IEaxAnalyzerSource;
UiErAnalyzer1.Active := True;
End Sub Button1OnClick1;
On clicking the button the UiErAnalyzer1 component is set as a source for WorkbookStatisticsPanel1. Calculated statistics will be displayed in the WorkbookStatisticsPanel1.
The requirements and result of the Fore.NET Example execution match with those in the Fore Example. Instead of Fore components use their Fore.NET analogs.
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Begin
WorkbookStatisticsPanel1.Analyzer := uiErAnalyzerNet1;
uiErAnalyzerNet1.Active := True;
End Sub;
See also: