| 
				     | 
				
| (5 intermediate revisions by 2 users not shown) | 
| Line 1: | 
Line 1: | 
 | {{Template:APIClass|Global_Weibull|Global Weibull}}
  |  | #REDIRECT [[WeibullDataSet Class]]  | 
 |    |  | 
 | Contains {{Template:WeibullEvents Class.Cmt}}
  |  | 
 |    |  | 
 | == Methods  ==
  |  | 
 | *[[WeibullEvents.Message|Message( WeibullDataSet, String, String,  Boolean )]] {{APIComment|{{Template:WeibullEvents.Message.Cmt}}}} 
  |  | 
 | *[[WeibullEvents.Question|Question( WeibullDataSet, String, MsgBoxStyle, MsgBoxResult )]] {{APIComment|{{Template:WeibullEvents.Question.Cmt}}}} 
  |  | 
 | *[[WeibullEvents.GetDistrParameters|GetDistrParameters( WeibullDataSet, String, Boolean, List( Of ParamInputInfo ), Boolean )]]{{APIComment|{{Template:WeibullEvents.GetDistrParameters.Cmt}}}} 
  |  | 
 | *[[WeibullEvents.UpdateCalculationProgress|UpdateCalculationProgress( WeibullDataSet, String, String, Double, Boolean, Long, Boolean ) ]]{{APIComment|{{Template:WeibullEvents.UpdateCalculationProgress.Cmt}}}} 
  |  | 
 | *[[WeibullEvents.ShowCalculationProgress|ShowCalculationProgress( WeibullDataSet )]]{{APIComment|{{Template:WeibullEvents.ShowCalculationProgress.Cmt}}}} 
  |  | 
 | *[[WeibullEvents.HideCalculationProgress|HideCalculationProgress( WeibullDataSet )]]{{APIComment|{{Template:WeibullEvents.HideCalculationProgress.Cmt}}}}
  |  | 
 |    |  | 
 | == Usage Example ==
  |  | 
 |   
  |  | 
 |  {{APIComment|'Create a new class and inherit WeibullEvents.}}
  |  | 
 |   Private Class myEvents
  |  | 
 |       Inherits WeibullEvents
  |  | 
 |      {{APIComment|'Request overrides.}}
  |  | 
 |           Public Overrides Sub Message(sender As WeibullDataSet, sMsg As String, AdditionalInfo As String, IsCritical As Boolean)
  |  | 
 |               MyBase.Message(sender, sMsg, AdditionalInfo, IsCritical)
  |  | 
 |              {{APIComment|'(Add additional code here.)}}
  |  | 
 |           End Sub
  |  | 
 |   End Class
  |  | 
 |   
  |  | 
 |  {{APIComment|'Declare a new WeibullDataSet.}}
  |  | 
 |   Dim WDS as New WeibullDataSet
  |  | 
 |   
  |  | 
 |  {{APIComment|'Use the created myEvents class in place of the one created by the dataset.}}
  |  | 
 |   WDS.Events = New myEvents
  |  | 
 |   
  |  | 
 |  {{APIComment|'Show a prompt with the respective strings.  The additional code will also run.}}
  |  | 
 |   WDS.Events.Message(WDS, "Message1", "AdditionalInfo1", False)
  |  |