WeibullDataSet.ShowCalculationProgress: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "WeibullEvents.ShowCalculationProgress" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
No edit summary
Line 1: Line 1:
{{Template:APIClass|WeibullEvents Class|WeibullEvents}}
{{Template:APIClass|WeibullEvents Class|WeibullEvents}}
Called by a [[WeibullDataSet Class|WeibullDataSet]] object when calculation progress should be shown. Shows the current calculation progress if the calculation process is running.


Shows the current calculation progress if the calculation process is running.
== Syntax ==
 
<ul><li>
== Method Syntax ==
ShowCalculationProgress(
{{APIName|'''ShowCalculationProgress'''(}}
{{APIPrefix|ByVal}}
{{APIName|sender}}
{{APIName|sender}}
{{APIPrefix|As}}
{{APIPrefix|As}}
{{APIName|[[WeibullDataSet Class|WeibullDataSet]])}}<br>
{{APIName|[[WeibullDataSet Class|WeibullDataSet]])}}
{{APIComment|Called by ‘sender’ when calculation progress should be shown.}}
</li></ul>


== Parameters ==
Parameters
'''sender'''
:''sender'': A [[WeibullDataSet Class|WeibullDataSet]] object.
An WeibullDataSet object


== Usage Example ==
== Usage Example ==

Revision as of 21:32, 21 February 2014


Called by a WeibullDataSet object when calculation progress should be shown. Shows the current calculation progress if the calculation process is running.

Syntax

Parameters

sender: A WeibullDataSet object.

Usage Example

Declare a New class that Inherits from WeibullEvents.
Override the method.

       Private Class myEvents
           Inherits WeibullEvents
           Public Overrides Sub ShowCalculationProgress(sender As WeibullDataSet)
               MyBase.ShowCalculationProgress(sender)
               MessageBox.Show("Additional overridden code here.")
           End Sub
       End Class

Declare the WeibullDataSet.

       Dim WDS as New WeibullDataSet

Use the created myEvents class in place of the one created by the dataset.

       WDS.Events = New myEvents

Show the current Calculation Progress.

       WDS.Events.ShowCalculationProgress(WDS)