InvalidCastException: 不支持的格式转换,目标类型:Integer 源对象:System.String c ex:Parameter was not defined 参数名: c StackTrace: 在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value) 在 Quicker.View.Forms.Controls.FormDropdownControl.GetInputValue() 在 Quicker.View.Forms.Controls.FormFieldWrapper.GetInputValue() 在 Quicker.View.Forms.FormWindow.pNc9xKMJMsZ(Object , FormField ) 在 Quicker.View.Forms.Controls.BaseFormFieldControl.TriggerValueChange(FormField field) 在 Quicker.View.Forms.Controls.FormFieldWrapper.NuD93OHFoIa(Object , FormField ) 在 Quicker.View.Forms.Controls.BaseFormFieldControl.TriggerValueChange(FormField field) 在 Quicker.View.Forms.Controls.FormDropdownControl.CbValue_OnSelectionChanged(Object sender, SelectionChangedEventArgs e) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.Controls.ComboBox.OnSelectionChanged(SelectionChangedEventArgs e) 在 System.Windows.Controls.Primitives.Selector.SelectionChanger.End() 在 System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection) 在 System.Windows.Controls.ComboBox.NotifyComboBoxItemMouseUp(ComboBoxItem comboBoxItem) 在 System.Windows.Controls.ComboBoxItem.OnMouseLeftButtonUp(MouseButtonEventArgs e) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) 在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) 在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ArgumentException: Parameter was not defined 参数名: c --Message: Parameter was not defined 参数名: c --ParamName: c StackTrace: 在 NCalc.Domain.EvaluationVisitor.Visit(Identifier parameter) 在 NCalc.Expression.Evaluate() 在 Quicker.Domain.Actions.X.XActionHelper.EvaluateExpression(String expression) 在 Quicker.Domain.Actions.X.Variables.VariableHelper.nTje69G1DrqTeMHDT6CV(Object ) 在 Quicker.Domain.Actions.X.Variables.VariableHelper.xWMVqhvXpFT(String ) 在 Quicker.Domain.Actions.X.Variables.VariableHelper.Xp2ntoG1msZNeUTf2yj8(Object ) 在 Quicker.Domain.Actions.X.Variables.VariableHelper.TuPVqKjDA73(Object ) 在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value)