{c#}表格的事件问题{intresting!} [英] {c#} form's events question {intresting !}
本文介绍了{c#}表格的事件问题{intresting!}的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在进行应用程序,当最小化时缩小为NotifyIcon,并且当双击NotifyIcon时再次出现。
这是可用的代码
I am making on application which reduces to a NotifyIcon when minimised and again comes into existence when the NotifyIcon is double clicked.
Here is the code that works
展开 | 选择 | Wrap | 行号
推荐答案
我认为你应该在调用Show()之前设置WindowState
I think you should set the WindowState before calling Show()
为什么会这样?
它不起作用!
why is it so ?
it''s not working !
您是否设置了断点并查看代码执行的位置?
它可能正朝着你的方向前进不认为它会去。
Have you set a breakpoint and see where the code execution goes?
It might be moving in a path you did not think it would go.
这篇关于{c#}表格的事件问题{intresting!}的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文