public static bool Show(IVariable Value, string Tooltip = null, int Length = 0, int Precision = 0) { InputNumberDialog dlg = new InputNumberDialog(Value.Value.AsString(), Tooltip, Length, Precision); Value.Value = ValueFactory.Create(dlg.ResultNumber); return(dlg.isOK); }
public bool InputNumber([ByRef] IVariable Number, string Tooltip = null, int Length = 0, int Precision = 0) { return(InputNumberDialog.Show(Number, Tooltip, Length, Precision)); }