WeibullDataSet.ShowCalculationProgress: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
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 WEvent in the example below.}}<br>
{{APIComment|Note: The WeibullDataSet constructor already creates a new WeibullEvents, which could be used in place of WEvents in the example below.}}<br>
         Dim WEvent as New WeibullEvents
         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)