保存内存中的文本框值 [英] save Text Box value in Memory

查看:71
本文介绍了保存内存中的文本框值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友



我在C#GUI中创建一个应用程序,我有一个文本框和一个按钮。我在文本框中放任何值,我想将其保存在内存中。我的意思是当我关闭应用程序时它不应该改变。当我打开应用程序时,它应该是相同的,我已经节省了关闭时间....



谢谢

解决方案





试试这个,我帮你...

http://codehill.com/2009/01/saving-user-and-application-settings-in-winforms/ [ ^

Dear Friends

I M createing a Application in C# GUI and i have 1 Text Box and one Button. i am putting any value in text box and i want to save it in memory. I mean it should not be change when i close the application. when i open application next it should be same which i have save on closing time....

thanks

解决方案

Hi,

Try this, am help you...
http://codehill.com/2009/01/saving-user-and-application-settings-in-winforms/[^]


这篇关于保存内存中的文本框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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