Skip to content

双击64位整数值抛出异常 #29

Description

@qaqz111

提示超出范围,但是实际上并没有。
比如 20170217093605,并没有超出 64 位整数的范围,双击出现.net的标准异常窗口,提示信息:

System.ArgumentOutOfRangeException: “20170216093600”的值对于“Value”无效。“Value”应介于 'Minimum' 和 'Maximum' 之间。
参数名: Value
在 System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
在 MongoGUICtl.ctlBsonValue.SetValue(BsonValue value, BasicType DataType)
在 FunctionForm.Extend.FrmElement.frmElement_Load(Object sender, EventArgs e)
在 System.Windows.Forms.Form.OnLoad(EventArgs e)
在 System.Windows.Forms.Form.OnCreateControl()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 System.Windows.Forms.Control.WmShowWindow(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.Form.WmShowWindow(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions