ImageVerifierCode 换一换
格式:DOCX , 页数:102 ,大小:43.17KB ,
资源ID:11580676      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bingdoc.com/d-11580676.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(学生成绩管理系统设计说明书.docx)为本站会员(b****2)主动上传,冰点文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰点文库(发送邮件至service@bingdoc.com或直接QQ联系客服),我们立即给予删除!

学生成绩管理系统设计说明书.docx

1、学生成绩管理系统设计说明书设计说明一本程序的设计思路与体系简述:(1)设计思路:.设计程序预期功能;.确定程序语言与运行环境;.设计程序的整体结构;.用模块化的理念对各个小的功能进 行编写并进行初期调试;.将各个小的模块集合成整体,形成真正的功能全面的程序;.对程序进行总的调试修改;.后期完善,修复bug等,以及对新功能的引入,外包处理,最终完成整个程序的设计。(2)本程序的体系:二相关代码(1)初始化窗口代码:#pragma once#include StuMan.hnamespace StudentManagement using namespace System; using names

2、pace System:ComponentModel; using namespace System:Collections; using namespace System:Windows:Forms; using namespace System:Data; using namespace System:Drawing; / / Form1 摘要 / / 警告: 如果更改此类的名称,则需要更改 / 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的 / “资源文件名”属性。否则, / 设计器将不能与此窗体的关联 / 本地化资源正确交互。 / public ref class Fo

3、rm1 : public System:Windows:Forms:Form public: Form1(void) InitializeComponent(); / /TODO: 在此处添加构造函数代码 / protected: / / 清理所有正在使用的资源。 / Form1() if (components) delete components; private: System:Windows:Forms:Button button1; protected: private: System:Windows:Forms:ListView listView1; private: System

4、:Windows:Forms:Label label1; private: / / 必需的设计器变量。 / System:ComponentModel:Container components;#pragma region Windows Form Designer generated code / / 设计器支持所需的方法 - 不要 / 使用代码编辑器修改此方法的内容。 / void InitializeComponent(void) System:ComponentModel:ComponentResourceManager resources = (gcnew System:Compon

5、entModel:ComponentResourceManager(Form1:typeid); this-button1 = (gcnew System:Windows:Forms:Button(); this-listView1 = (gcnew System:Windows:Forms:ListView(); this-label1 = (gcnew System:Windows:Forms:Label(); this-SuspendLayout(); / / button1 / this-button1-Location = System:Drawing:Point(24, 115);

6、 this-button1-Name = Lbutton1; this-button1-Size = System:Drawing:Size(75, 23); this-button1-TabIndex = 0; this-button1-Text = L学生管理; this-button1-UseVisualStyleBackColor = true; this-button1-Click += gcnew System:EventHandler(this, &Form1:button1_Click); / / listView1 / this-listView1-BackgroundIma

7、ge = (cli:safe_cast(resources-GetObject(LlistView1.BackgroundImage); this-listView1-Location = System:Drawing:Point(131, 22); this-listView1-Name = LlistView1; this-listView1-Size = System:Drawing:Size(140, 135); this-listView1-TabIndex = 3; this-listView1-UseCompatibleStateImageBehavior = false; /

8、/ label1 / this-label1-AutoSize = true; this-label1-Font = (gcnew System:Drawing:Font(LMicrosoft Sans Serif, 12, System:Drawing:FontStyle:Regular, System:Drawing:GraphicsUnit:Point, static_cast(134); this-label1-Location = System:Drawing:Point(156, 176); this-label1-Name = Llabel1; this-label1-Size

9、= System:Drawing:Size(105, 120); this-label1-TabIndex = 4; this-label1-Text = LCopyright byrn西北工业大学rn 机电学院 rn 高岭rnrnrn; / / Form1 / this-AutoScaleDimensions = System:Drawing:SizeF(6, 12); this-AutoScaleMode = System:Windows:Forms:AutoScaleMode:Font; this-ClientSize = System:Drawing:Size(292, 266); t

10、his-Controls-Add(this-label1); this-Controls-Add(this-listView1); this-Controls-Add(this-button1); this-Icon = (cli:safe_cast(resources-GetObject(L$this.Icon); this-MaximizeBox = false; this-Name = LForm1; this-StartPosition = System:Windows:Forms:FormStartPosition:CenterScreen; this-Text = L学生管理系统;

11、 this-Load += gcnew System:EventHandler(this, &Form1:Form1_Load); this-ResumeLayout(false); this-PerformLayout(); #pragma endregion private: System:Void Form1_Load(System:Object sender, System:EventArgs e) private: System:Void button1_Click(System:Object sender, System:EventArgs e) StuManstuMan=gcne

12、w StuMan; stuMan-ShowDialog(); this-Close(); ;(2)主界面代码#pragma once#includeFind.h#includeAdd.h#include AddClass.h#include Del.h#include Upda.h#include UpdaScore.h#include UpdaClass.husing namespace System;using namespace System:ComponentModel;using namespace System:Collections;using namespace System:

13、Windows:Forms;using namespace System:Data;using namespace System:Drawing;using namespace System:Data:OleDb;namespace StudentManagement / / StuMan 摘要 / / 警告: 如果更改此类的名称,则需要更改 / 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的 / “资源文件名”属性。否则, / 设计器将不能与此窗体的关联 / 本地化资源正确交互。 / public ref class StuMan : public System:Window

14、s:Forms:Form public: StuMan(void) InitializeComponent(); / /TODO: 在此处添加构造函数代码 / int mid; private: System:Windows:Forms:ToolStripMenuItem ClassManagement; public: public: public: public: OleDbConnectionobjConnection; /ShowView函数显示数据学生信息 public: void ShowView() objConnection = gcnew OleDbConnection(LP

15、rovider=;Data Source=Stuman.mdb); System:Data:OleDb:OleDbDataAdapter objAdapter = gcnew OleDbDataAdapter(select * from PersonView , objConnection); System:Data:DataSet objDataset = gcnew DataSet(); objAdapter-Fill(objDataset, PersonView); dgv-DataSource = objDataset-TablesPersonView; /ShowScoreView函

16、数显示成绩信息 public: void ShowScoreView() objConnection = gcnew OleDbConnection(LProvider=;Data Source=Stuman.mdb); System:Data:OleDb:OleDbDataAdapter objAdapter = gcnew OleDbDataAdapter(select * from PersonScoreView , objConnection); System:Data:DataSet objDataset = gcnew DataSet(); objAdapter-Fill(objD

17、ataset, PersonScoreView); dgv-DataSource = objDataset-TablesPersonScoreView; /ShowClassView函数显示课程信息 public: void ShowClassView() objConnection = gcnew OleDbConnection(LProvider=;Data Source=Stuman.mdb); System:Data:OleDb:OleDbDataAdapter objAdapter = gcnew OleDbDataAdapter(select * from PersonClassV

18、iew , objConnection); System:Data:DataSet objDataset = gcnew DataSet(); objAdapter-Fill(objDataset, PersonClassView); dgv-DataSource = objDataset-TablesPersonClassView; protected: / / 清理所有正在使用的资源。 / StuMan() if (components) delete components; private: System:Windows:Forms:MenuStrip menuStrip1; prote

19、cted: private: System:Windows:Forms:ToolStripMenuItem 文件ToolStripMenuItem; private: System:Windows:Forms:ToolStripMenuItem StudentManagement; private: System:Windows:Forms:ToolStripMenuItem ScoreManagement; private: System:Windows:Forms:ToolStripMenuItem 编辑EToolStripMenuItem; private: System:Windows

20、:Forms:ToolStripMenuItem 添加AToolStripMenuItem; private: System:Windows:Forms:ToolStripMenuItem 查找DToolStripMenuItem; private: System:Windows:Forms:ToolStripMenuItem Delect; private: System:Windows:Forms:SplitContainer splitContainer1; private: System:Windows:Forms:DataGridView dgv; private: System:W

21、indows:Forms:ToolStripMenuItem Upd; public: Stringxh,xm,xb,bj,dh,ID,Mt,Ph,Eg,Et,Ml,Cp,Kch,Kc,Xs,Xf,IDT; private: System:Windows:Forms:TextBox textBoxNum; public: public: private: System:Windows:Forms:Label label1; private: System:Windows:Forms:GroupBox groupBox1; private: System:Windows:Forms:TextBo

22、x textBoxXfj; private: System:Windows:Forms:TextBox textBoxCp; private: System:Windows:Forms:TextBox textBoxMl; private: System:Windows:Forms:TextBox textBoxEt; private: System:Windows:Forms:TextBox textBoxEg; private: System:Windows:Forms:TextBox textBoxPh; private: System:Windows:Forms:TextBox tex

23、tBoxMt; private: System:Windows:Forms:Label label9; private: System:Windows:Forms:Label label8; private: System:Windows:Forms:Label label7; private: System:Windows:Forms:Label label6; private: System:Windows:Forms:Label label5; private: System:Windows:Forms:Label label4; private: System:Windows:Form

24、s:Label label3; private: System:Windows:Forms:TextBox textBoxName; private: System:Windows:Forms:Label label2; protected: private: System:ComponentModel:IContainer components; protected: private: / / 必需的设计器变量。 / #pragma region Windows Form Designer generated code / / 设计器支持所需的方法 - 不要 / 使用代码编辑器修改此方法的内

25、容。 / void InitializeComponent(void) System:ComponentModel:ComponentResourceManager resources = (gcnew System:ComponentModel:ComponentResourceManager(StuMan:typeid); this-menuStrip1 = (gcnew System:Windows:Forms:MenuStrip(); this-文件ToolStripMenuItem = (gcnew System:Windows:Forms:ToolStripMenuItem();

26、this-StudentManagement = (gcnew System:Windows:Forms:ToolStripMenuItem(); this-ScoreManagement = (gcnew System:Windows:Forms:ToolStripMenuItem(); this-ClassManagement = (gcnew System:Windows:Forms:ToolStripMenuItem(); this-编辑EToolStripMenuItem = (gcnew System:Windows:Forms:ToolStripMenuItem(); this-

27、添加AToolStripMenuItem = (gcnew System:Windows:Forms:ToolStripMenuItem(); this-查找DToolStripMenuItem = (gcnew System:Windows:Forms:ToolStripMenuItem(); this-Delect = (gcnew System:Windows:Forms:ToolStripMenuItem(); this-Upd = (gcnew System:Windows:Forms:ToolStripMenuItem(); this-splitContainer1 = (gcnew System:Windows:Forms:SplitContainer(); this-groupBox1 = (gcnew System:Windows:Forms:GroupBox(); this-textBoxXfj = (gcnew System:Windows:Forms:TextBox(); this-textBo

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2