WeibullDataSet.HideCalculationProgress: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) No edit summary |
Albert Szeto (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
== Usage Example == | == Usage Example == | ||
{{APIComment|Declare the | {{APIComment|Declare a New class that Inherits from WeibullEvents.}}<br> | ||
{{APIComment|Override the method.}}<br> | |||
Private Class myEvents | |||
Inherits WeibullEvents | |||
Public Overrides Sub HideCalculationProgress(sender As WeibullDataSet) | |||
MyBase.HideCalculationProgress(sender) | |||
MessageBox.Show("Additional overridden code here.") | |||
End Sub | |||
End Class | |||
{{APIComment|Declare the WeibullDataSet.}}<br> | {{APIComment|Declare the WeibullDataSet.}}<br> | ||
Dim WDS as New WeibullDataSet | Dim WDS as New WeibullDataSet | ||
{{APIComment|Use the created myEvents class in place of the one created by the dataset.}}<br> | |||
WDS.Events = New myEvents | |||
{{APIComment|Hide the current Calculation Progress.}} | {{APIComment|Hide the current Calculation Progress.}} | ||
WDS.Events.HideCalculationProgress(WDS) |
Revision as of 22:18, 9 October 2013
Hides the calculation progress display.
Method Syntax
HideCalculationProgress(
ByVal
sender
As
WeibullDataSet)
Called by ‘sender’ when calculation progress should be hidden.
Parameters
sender An WeibullDataSet object
Usage Example
Declare a New class that Inherits from WeibullEvents.
Override the method.
Private Class myEvents Inherits WeibullEvents Public Overrides Sub HideCalculationProgress(sender As WeibullDataSet) MyBase.HideCalculationProgress(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
Hide the current Calculation Progress.
WDS.Events.HideCalculationProgress(WDS)