在Windows应用程序中保存数据时遇到问题 [英] Getting probleme in saving data in windows application

查看:225
本文介绍了在Windows应用程序中保存数据时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI ..请任何一个帮助...;

我正在用C#开发Windows应用程序.我的要求是我在文本框中输入数据,在文本框中输入数据并单击Enter后,必须完成保存功能,为此我必须使用..请帮助我.


在此先感谢......

HI..please any one Help...;

I am Developing the windows application in C# . and my requirement is I am entering the data in text box,after enter the data in text box and clicking on enter, save function has to be done ,for this which event i have to use ..please help me.


Thanks in advance......

推荐答案

使用文本KeyDown事件.根据输入/返回键检查keyCode,您应该可以开始使用.
Use the text KeyDown event. Check the keyCode against the enter / return key and you should be ready to go.


这篇关于在Windows应用程序中保存数据时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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