WeibullDataSet.ShowCalculationProgress: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) No edit summary |
Albert Szeto (talk | contribs) |
||
Line 28: | Line 28: | ||
== Usage Example == | == Usage Example == | ||
{{APIComment|Declare the WeibullEvents. Substitute [[ALTAEvents]] for ALTA.}}<br> | {{APIComment|Declare the WeibullEvents. Substitute [[ALTAEvents Class|ALTAEvents]] for ALTA.}}<br> | ||
{{APIComment|Declare the WeibullDataSet. Substitute [[ALTADataSet Class|ALTADataSet]] for ALTA.}}<br> | {{APIComment|Declare the WeibullDataSet. Substitute [[ALTADataSet Class|ALTADataSet]] for ALTA.}}<br> | ||
{{APIComment|Note: The WeibullDataSet constructor already creates a new WeibullEvents, which could be used in place of | {{APIComment|Note: The WeibullDataSet constructor already creates a new WeibullEvents, which could be used in place of WEvents in the example below.}}<br> | ||
Dim | Dim WEvents as New WeibullEvents | ||
Dim WDS as New WeibullDataSet | Dim WDS as New WeibullDataSet | ||
{{APIComment|Show the current Calculation Progress.}} | {{APIComment|Show the current Calculation Progress.}} | ||
WEvents.ShowCalculationProgress(WDS) | WEvents.ShowCalculationProgress(WDS) |
Revision as of 00:20, 11 September 2013
Shows the current calculation progress if the calculation process is running.
Weibull Declaration
Public Overridable Sub ShowCalculationProgress( ByVal sender As WeibullDataSet)
Called by ‘sender’ when calculation progress should be shown.
ALTA Declaration
Public Overridable Sub ShowCalculationProgress( ByVal sender As ALTADataSet)
Called by ‘sender’ when calculation progress should be shown.
Usage Example
Declare the WeibullEvents. Substitute ALTAEvents for ALTA.
Declare the WeibullDataSet. Substitute ALTADataSet for ALTA.
Note: The WeibullDataSet constructor already creates a new WeibullEvents, which could be used in place of WEvents in the example below.
Dim WEvents as New WeibullEvents Dim WDS as New WeibullDataSet
Show the current Calculation Progress.
WEvents.ShowCalculationProgress(WDS)