WeibullDataSet.ShowCalculationProgress: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Template:AWEAPIClass}}
{{Template:AWEAPIClass}}
Shows the current calculation progress if the calculation process is running.


== Weibull Declaration  ==
== Weibull Declaration  ==
Line 23: Line 25:


{{APIComment|Called by ‘sender’ when calculation progress should be shown.}}
{{APIComment|Called by ‘sender’ when calculation progress should be shown.}}
== Usage Example ==
{{APIComment|Declare the WeibullEvents.  Substitute [[ALTAEvents]] 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 WEvent in the example below.}}<br>
        Dim WEvent as New WeibullEvents
        Dim WDS as New WeibullDataSet
{{APIComment|Show the current Calculation Progress.}}
        WEvents.ShowCalculationProgress(WDS)

Revision as of 00:04, 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 WEvent in the example below.

       Dim WEvent as New WeibullEvents
       Dim WDS as New WeibullDataSet

Show the current Calculation Progress.

       WEvents.ShowCalculationProgress(WDS)