如何保存窗口形式的状态 [英] How to save state of window form

查看:93
本文介绍了如何保存窗口形式的状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何保存Windows窗体的状态(在wpf中)?

我搜索了一下,得到的将是在csharp中进行序列化.当我这样做时,它不起作用.谁能告诉我是否有可能或任何有效的代码来保存带有椭圆,画布标签,按钮等的带有画布的窗口表单的状态.

谢谢.

How can i save the state of windows form(in wpf)?

I searched and I get it will be done be serialization in csharp. When i do that it doesn''t work. Can anyone tell me if it is possible or any working code to save the state of window form having canvas with ellipse,parhs labels,buttons etc.

Thanks.

推荐答案



尝试检查以下链接:
保存和恢复WPF窗口大小,位置和/or状态 [


try to check following link:
Save and Restore WPF Window Size, Position, and/or State[^]

Regards
Robert


这篇关于如何保存窗口形式的状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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