基于wince的c应用程序记事本内容摘要:

private void Msave_Click(object sender, EventArgs e) { // = true。 = txt files (*.txt)|*.txt|All files (*.*)|*.*。 = 0。 // =。 // = txt。 if (() == ) { = + .txt。 StreamWriter sw = new StreamWriter()。 ()。 ()。 } } private void Mexit_Click(object sender, EventArgs e) { if ((你确认要退出吗。 , 提示 ) == ) { ()。 } } 3)调试程序 4)运行 a. 修改 PC机的 IP,以便与机箱连接: b. 的连接设置: c. 终站设置: d. 把 捎到实验箱: e. 来宾连接 : ( 3) 遇到 的问题与解决方法 代码弄出来以后发现有几个控件的功能实现不了包括复制,粘贴,剪切和删除。 于是更改代码和编译,还是不能实现,最后因为时间原因把这几个功能取消了。 其他的地方没有遇到什么困难,但是应该提早准备的,不然不会最后的那几个控件做不出来。 ( 4)程序清单 using System。 using。 using。 using。 using。 using。 using。 using。 using。 namespace NoteTest { public partial class Form1 : Form { public Form1() { InitializeComponent()。 } private void Mnew_Click(object sender, EventArgs e) { =。 } private void Mopen_Click(object sender, EventArgs e) { = txt files (*.txt)|*.txt|All files (*.*)|*.*。 = 0。 if (() == ) { Stream。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。