WeibullDataSet.GetDistrParameters

Displays a prompt for customized parameters.

Parameters
sender An WeibullDataSet object

sMsg The main display label.

GetOnlyOneParameter Prompt for only one parameter

Params A list of Parameter input information classes, ParamInputInfo, that would be updated by this prompt.

Cancel If the prompt was closed by any means other than clicking the "Okay", this value would be set to True.

Usage Example
Private Class myEvents Inherits WeibullEvents Public Overrides Sub GetDistrParameters(sender As WeibullDataSet, sMsg As String, GetOnlyOneParamater As Boolean, Params As List(Of ParamInputInfo), ByRef Cancel As Boolean) MyBase.GetDistrParameters(sender, sMsg, GetOnlyOneParamater, Params, Cancel) MessageBox.Show("Additional overridden code here.") End Sub End Class

Dim WDS as New WeibullDataSet

WDS.Events = New myEvents

Dim Params As New List(Of ParamInputInfo) Params.Add(New ParamInputInfo("Param1", 0, 10, False, True)) Params.Add(New ParamInputInfo("Param2", 0, Double.MaxValue, False, True))

Dim wasCanceled As Boolean

WDS.Events.GetDistrParameters(WDS, "Message1", True, Params, wasCanceled)

Dim NewParameter1value As Double Dim NewParameter2value As Double

If Not wasCanceled Then NewParameter1value = Params(0).Value NewParameter2value = Params(1).Value End If