“创建窗口句柄时出错”
我在启动期间(即登录表单)遇到了这个令人讨厌的“创建窗口句柄错误”。如果在用户界面启动之后进行控制的话,我会考虑优化控制。这是在加载第一个表单时发生的,该表单基本上只有登录名和登录名。密码文本框控件。
该程序是C# winforms。
I'm getting this nasty 'error creating window handle' during the startup itself i.e the login form. I would have looked into the optimizing the controls if it would have come after the UI is up. This is coming during the load of first form which basically has only login & password textbox controls.
The program is C# winforms.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我可能需要更多信息,但我的猜测是您的程序中的某个地方存在内存泄漏。尝试运行任务管理器来查看是否有线程或处理量不断增大。
如果这样做,您可能需要在代码中的某个位置处理一些 UI 元素。
I probably need more information but my guess is that you have a memory leak somewhere in your program. Try running Task Manager to see if you have a thread or handle growing massive.
If you do, you probably need to dispose some UI elements somewhere in your code.