Windows表单状态问题 [英] Windows form state problem

查看:92
本文介绍了Windows表单状态问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我正面临一个问题,即当我打开水晶报表时会最大化地打开它
我打开另一个表单时在加载时设置的状态,它也在最大化状态下打开,其中表单状态从属性框设置为正常
水晶报表以最大化状态打开并同时以正常状态(即默认状态)打开另一个报表的任何解决方案

等待您的答复

hi every one
i am facing a problem i.e when i open crystal report its open in maximized
state which is set on load while i open another form its also open in maximized state where the form state set normal from property box
any solution where crystal report form open in maximized state and at the same time another form open in normal state i.e its default state

wait for your reply

推荐答案

将状态值相应地存储在诸如Text/XML之类的任何存储中,并通过获取适当的值根据打开时的状态来设置状态从文件中.

您也可以将其存储在注册表中.
http://www.codeproject.com/Answers/140050/Save-state-of-Combox-control-in-WPF-application.aspx#answer2 [
Store the state value accordingly in any of storage like Text/XML, And set it''s state according when it opened by fetching appropriate value from the file.

You can also store it in a registry.
http://www.codeproject.com/Answers/140050/Save-state-of-Combox-control-in-WPF-application.aspx#answer2[^]


我也发现了很好阅读具有不同状态的MDI子窗口 [ ^ ]
This I found also was a good read MDI child windows with a different state[^]


希望
Hope this[^] may also help you.


这篇关于Windows表单状态问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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