状态已更改事件未触发 [英] State changed Event is not firing

查看:103
本文介绍了状态已更改事件未触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,



我正在研究WPF应用程序。我有一个窗口,其中没有作为WindowStyle。

如果我正在开始+ D,状态更改事件不会触发,但如果WindowStyle是SingleBorderWindow,则StateChanged evnet正在触发。 />


请帮我解决这个问题。



先谢谢,

Harish

解决方案

嗨Harish,



当你按开始+ D它会最小化你的窗口,但它没有改变窗口样式。



对于状态更改事件,您可以参考: http://msdn.microsoft.com/en-us/library/ms748948(v = vs.110)的.aspx [< a href =http://msdn.microsoft.com/en-us/library/ms748948(v=vs.110).aspx\"target =_ blanktitle =New Window> ^ ]

Hello All,

I'm working on WPF Application. I've a window with None as WindowStyle.
If I'm doing Start + D, the State changed event is not firing, but if the WindowStyle is SingleBorderWindow,the StateChanged evnet is firing.

Please help me how to come out of this problem.

Thanks in Advance,
Harish

解决方案

Hi Harish,

when you press start + D it will minimize your window but it did not change the window style.

For state change Event you can refer this : http://msdn.microsoft.com/en-us/library/ms748948(v=vs.110).aspx[^]


这篇关于状态已更改事件未触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆