WeibullDataSet.ShowCalculationProgress: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
{{APIName|sender}}
{{APIName|sender}}
{{APIPrefix|As}}
{{APIPrefix|As}}
{{APIName|[[WeibullDataSet Class|WeibullDataSet]])}}
{{APIName|[[WeibullDataSet Class|WeibullDataSet]]}})
</li></ul>
</li></ul>



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)