【vfp精品源码栏目提醒】:以下是网学会员为您推荐的vfp精品源码-C#课程设计报告(完整版源代码) - 其它资料,希望本篇文章对您学习有所帮助。
西安科技大学 《C语言程序设计》 课程设计报告题 目 简单记事本的设计院、系部 计算机科学与技术学院专业及班级 计算机网络技术姓 名 牛德洋日 期 2013/1/171 题目要求 使用 C语言设计一个 Windows 自带记事本,软件界面美观大方,操作简洁易用,功能完备可靠,必须上机调试通过。
程序中应有不少于 100300 行的自行编写的代码,代码需书写详细注释。
2 功能需求 实现记事本软件的基本功能,具有文本文件的新建、打开、保存功能,文字的全选、剪切、复制、粘贴、删除、撤销、查找、替换功能,字体类型、格式的设置、显示当前日期与时间的功能,并在此记事本程序基础上增加设置字体颜色,添加状态栏功能。
3 总体设计4 详细设计 Program.cs:代码如下 using System using System.Collections.Generic using System.Linq using System.Windows.Forms namespace note static class Program /// ltsummarygt /// 应用程序的主入口点。
/// lt/summarygt STAThread static void Main Application.EnableVisualStyles Application.SetCompatibleTextRenderingDefaultfalse Application.Runnew Form1 Form1.Designer.cs 代码如下: namespace note partial class Form1 /// 清理所有正在使用的资源。
/// ltparam namequotdisposingquotgt如果应释放托管资源,为 true;否则为false。
lt/paramgt protected override void Disposebool disposing if disposing ampamp components null components.Dispose base.Disposedisposing region Windows 窗体设计器生成的代码 /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。
public void InitializeComponent this.components new System.ComponentModel.Container System.Windows.Forms.Timer timer1 System.ComponentModel.ComponentResourceManager resources newSystem.ComponentModel.ComponentResourceManagertypeofForm1 this.flowLayoutPanel1 newSystem.Windows.Forms.FlowLayoutPanel this.menuStrip1 new System.Windows.Forms.MenuStrip this.文件 ToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.新建 ToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.打开 ToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.保存 ToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.另存为 AToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.toolStripSeparator2 newSystem.Windows.Forms.ToolStripSeparator this.页面设置 ToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.打印 PToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.toolStripSeparator3 newSystem.Windows.Forms.ToolStripSeparator this.退出 ToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.编辑 ToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.撤消 ToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.toolStripSeparator4 newSystem.Windows.Forms.ToolStripSeparator this.剪切 XToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.复制 VToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.粘贴 ToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.删除 DToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.toolStripSeparator5 newSystem.Windows.Forms.ToolStripSeparator this.查找 FToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.查找下一个 ToolStripMenuItem newSystem.Windows.Forms.ToolStripMenuItem this.替换 RToolStripMe