기능이있을 때 기본 버튼으로 포인터를 자동으로 이동합니다 제어판에서 활성화되어 응용 프로그램 충돌이 발생합니다 Form.OnVisibleChanged
형태 일 때 AcceptButton
파생되지 않습니다 Windows.Forms.Control
.
이것은 분명히 Windows 형태의 버그입니다. 선적 서류 비치 그렇게 말하지 않습니다 IButtonControl AcceptButton
파생해야합니다 Control
.
문제
일부 컴퓨터에서는이 통화 스택으로 특정 양식을 열 때마다 Windows 양식 응용 프로그램이 충돌합니다.
Object reference not set to an instance of an object.
at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
해결책
기능이있을 때 기본 버튼으로 포인터를 자동으로 이동합니다 제어판에서 활성화되어 응용 프로그램 충돌이 발생합니다 Form.OnVisibleChanged
형태 일 때 AcceptButton
파생되지 않습니다 Windows.Forms.Control
.
이것은 분명히 Windows 형태의 버그입니다. 선적 서류 비치 그렇게 말하지 않습니다 IButtonControl AcceptButton
파생해야합니다 Control
.