基于.NET的记事本设计  

Design of Notepad based on.NET

在线阅读下载全文

作  者:孟令增 王中训[1] MENG Lingzeng;WANG Zhongxun(School of OPTO-Electronic Information Science and Technology,Yantai University,Yantai 264005,China)

机构地区:[1]烟台大学光电信息科学技术学院,山东烟台264005

出  处:《电子设计工程》2020年第24期76-80,共5页Electronic Design Engineering

摘  要:记事本作为一款纯文本编辑器,以其小巧灵活获得了人们的青睐。为编写一款记事本程序,基于.NET框架,结合Visal Studio 2019编程软件中的Winform窗体程序,采用输入输出流、事件处理等方法,编写了一个记事本程序并通过了运行。该记事本有打开、新建、保存、修改字号和字体、另存为等主要功能。最后,还对该程序进行了改进,加入了更符合人性化的对话框提示,可以判断用户是否修改过文本再进行关闭保存、另存为操作,使其更符合逻辑。此外,该程序采用多文档界面(MDI),通过父窗体调用子窗体程序,使其可以一次性打开多个窗口,同时编辑。As a plain text editor,Notepad wins people’s favor with its small and flexible.To write a Notepad program,the paper is based on the.NET framework,combined with the Winform program in Visal Studio 2019 programming software,using the input and output stream,event processing and other methods,wrote a Notepad program and successfully run.The Notepad has the main function such as open,new,save,modify the font size and font,save as and so on.Finally,this paper also improved the program,adding a more humanized dialog box prompt,it can determine whether the user has modified the text to close,save and save as,so that it is more logical.In addition,the program adopts the Multiple Document Interface(MDI),which calls the child form program through the parent form,so that it can open multiple Windows at once and edit them at the same time.

关 键 词:.NET WINFORM 记事本 事件 多文档界面 

分 类 号:TN919[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象