CE 6.0 / .NET CF 3.5 Application has encountered a serious error (MC3100)

后端 未结 8 1234
别那么骄傲
别那么骄傲 2021-02-09 06:45

When exiting my .NET CF 3.5 application on the Motorola MC3100 (CE 6.0 version only) I get the error message \"Application xxx has encountered a serious error and needs to shut

8条回答
  •  被撕碎了的回忆
    2021-02-09 07:42

    You should make a Form and run your code in Application.Run() context. At the end of Run, many resources are disposed "by magic". Otherwise you must dispose every resources that need to be disposed.

提交回复
热议问题