⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sms.h

📁 这是一个学生信息管理系统
💻 H
字号:
// SMS.h : PROJECT_NAME 应用程序的主头文件
//

#pragma once //这些代码由王昌栋编写,未经允许,不得随便改动,如有问题欢迎提出!

#ifndef __AFXWIN_H__
	#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif

#include "resource.h"		// 主符号
#include "DataClass.h"
#include "StatLink.h"
#include <afxdb.h>
// CSMSApp:
// 有关此类的实现,请参阅 SMS.cpp
//

class CSMSApp : public CWinApp
{
public:
	CSMSApp();

// 重写
	public:
	virtual BOOL InitInstance();

// 实现
	//支持ODBC数据库
	CDatabase m_db;
	DECLARE_MESSAGE_MAP()
};

// 用于应用程序“关于”菜单项的 CAboutDlg 对话框
class CAboutDlg : public CDialog
{
public:
	CAboutDlg();

// 对话框数据
	enum { IDD = IDD_ABOUTBOX };
	CStaticLink  m_pConnextMe; 

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

// 实现
protected:
	DECLARE_MESSAGE_MAP()
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	COLORREF m_backcolor;
	CBrush m_brush;
public:
	virtual BOOL OnInitDialog();
};


extern CSMSApp theApp;

//Word
extern CString m_sStudyWord_Word;
extern CString m_sStudyWord_Mean;
extern CString m_sStudyWord_Group;
extern CString m_sStudyWord_Remark;
//Course
extern int     m_iStudyCourse_Id;//主键
extern CString m_sStudyCourse_Name;
extern CString m_sStudyCourse_Term;
extern CString m_sStudyCourse_Day;//星期
extern CString m_sStudyCourse_Time;//节数
extern CString m_sStudyCourse_Place;
extern CString m_sStudyCourse_TeacherName;
extern CString m_sStudyCourse_Kind;
extern CString m_sStudyCourse_Credit;
extern CString m_sStudyCourse_ExamTime;
extern CString m_sStudyCourse_Remark;
//StudyPlan相关
extern int     m_iStudyPlan_Id;
extern CTime   m_tStudyPlan_MakeDate;
extern CTime   m_tStudyPlan_StartDate;
extern CTime   m_tStudyPlan_EndDate;
extern CString m_sStudyPlan_Name;
extern CString m_sStudyPlan_Content;
extern CString m_sStudyPlan_Kind;
extern CString m_sStudyPlan_Finished;
extern CString m_sStudyPlan_Remark;
//Logion相关
extern int     m_iStudyLogion_Id;
extern CString m_sStudyLogion_Content;
extern CString m_sStudyLogion_Author;
extern CString m_sStudyLogion_Origion;
extern CString m_sStudyLogion_Kind;
//Calenda相关
extern int     m_iWorkCalenda_Id;
extern CString m_sWorkCalenda_Name;
extern CTime   m_tWorkCalenda_StartDate;
extern CTime   m_tWorkCalenda_EndDate;
extern CString m_sWorkCalenda_Charge;
extern CString m_sWorkCalenda_Kind;
extern CString m_sWorkCalenda_GroupName;
extern CString m_sWorkCalenda_Remark;
//Parttime相关
extern int     m_iWorkParttime_Id;
extern CString m_sWorkParttime_Name;
extern CString m_sWorkParttime_Place;
extern CTime   m_tWorkParttime_StartDate;
extern CTime   m_tWorkParttime_EndDate;
extern CString m_sWorkParttime_LinkMan;
extern double  m_dWorkParttime_TotalWage;
extern double  m_dWorkParttime_WagePayed;
extern CString m_sWorkParttime_Remark;
//Group相关
extern int     m_iSocialiseGroup_Id;
extern CString m_sSocialiseGroup_Name;
extern CString m_sSocialiseGroup_LinkMan;
extern CString m_sSocialiseGroup_Kind;
extern CString m_sSocialiseGroup_Email;
extern CString m_sSocialiseGroup_Address;
extern CString m_sSocialiseGroup_Code;
extern CString m_sSocialiseGroup_Phone;
extern CString m_sSocialiseGroup_Fax;
extern CString m_sSocialiseGroup_QQ;
extern CString m_sSocialiseGroup_MSN;
extern CString m_sSocialiseGroup_Web;
extern CString m_sSocialiseGroup_Remark;
//Person相关
extern int     m_iSocialisePerson_Id;
extern CString m_sSocialisePerson_Name;
extern CString m_sSocialisePerson_NickName;
extern CString m_sSocialisePerson_Sex;
extern CTime   m_tSocialisePerson_Birthday;
extern CString m_sSocialisePerson_Phone;
extern CString m_sSocialisePerson_Fax;
extern CString m_sSocialisePerson_Address;
extern CString m_sSocialisePerson_Code;
extern CString m_sSocialisePerson_Email;
extern CString m_sSocialisePerson_MSN;
extern CString m_sSocialisePerson_Web;
extern CString m_sSocialisePerson_QQ;
extern CString m_sSocialisePerson_Group;
extern CString m_sSocialisePerson_Uint;
extern CString m_sSocialisePerson_Remark;
//Bank 相关
extern int     m_iFinanceBank_Id;
extern CString m_sFinanceBank_CardId;
extern bool    m_bFinanceBank_Action;
extern double  m_dFinanceBank_Lastleft;
extern double  m_dFinanceBank_Account;
extern double  m_dFinanceBank_Left;
extern CTime   m_tFinanceBank_ODate;
extern CTime   m_tFinanceBank_RDate;
extern CString m_sFinanceBank_Remark;
//Borrow 相关
extern int     m_iFinanceBorrow_Id;
extern CString m_sFinanceBorrow_OtherName;
extern CString m_sFinanceBorrow_Action;
extern double  m_dFinanceBorrow_Amount;
extern CTime   m_tFinanceBorrow_StartDate;
extern CTime   m_tFinanceBorrow_EndDate;
extern CTime   m_tFinanceBorrow_Date;
extern double  m_dFinanceBorrow_MoneyLeft;
extern CString m_sFinanceBorrow_Remark;
//Income 相关
extern int     m_iFinanceIncome_Id;
extern CString m_sFinanceIncome_Source;
extern double  m_dFinanceIncome_Amount;
extern CTime   m_tFinanceIncome_Date;
extern CString m_sFinanceIncome_Flow;
extern CString m_sFinanceIncome_Remark;
//Outcome 相关
extern int     m_iFinanceOutcome_Id;
extern CString m_sFinanceOutcome_Name;
extern CString m_sFinanceOutcome_Source;
extern CString m_sFinanceOutcome_Kind;
extern double  m_dFinanceOutcome_Amount;
extern CTime   m_tFinanceOutcome_Date;
extern CString m_sFinanceOutcome_Remark;
//Invest 相关
extern int     m_iFinanceInvest_Id;
extern CString m_sFinanceInvest_Name;
extern CString m_sFinanceInvest_Kind;
extern int     m_iFinanceInvest_Quantity;
extern double  m_dFinanceInvest_Price;
extern CTime   m_tFinanceInvest_StartDate;
extern CTime   m_tFinanceInvest_EndDate;
extern CString m_sFinanceInvest_Remark;
//ConsumPlan相关
extern int     m_iFinancePlan_Id;
extern CTime   m_tFinancePlan_MakeDate;
extern CTime   m_tFinancePlan_StartDate;
extern CTime   m_tFinancePlan_EndDate;
extern CString m_sFinancePlan_Name;
extern double  m_dFinancePlan_Amount;
extern CString m_sFinancePlan_Kind;
extern CString m_sFinancePlan_Finished;
extern CString m_sFinancePlan_Remark;
//Tangible 相关
extern int     m_iFinanceTangible_Id;
extern CString m_sFinanceTangible_Name;
extern CString m_sFinanceTangible_Kind;
extern int     m_iFinanceTangible_Quantity;
extern double  m_dFinanceTangible_Price;
extern CTime   m_tFinanceTangible_Date;
extern double  m_dFinanceTangible_Sum;
extern CString m_sFinanceTangible_Remark;
//Remind相关
extern int     m_iSetRemind_Id;
extern CString m_sSetRemind_Content;
extern CTime   m_tSetRemind_StartDate;
extern CTime   m_tSetRemind_EndDate;
extern long    m_iSetRemind_Frequency;
extern bool    m_bSetRemind_Finished;
extern CString m_sSetRemind_Kind;
extern CString m_sSetRemind_Remark;
///////系统主题相关的颜色配置
extern COLORREF m_RGB_BkColor;
extern COLORREF m_RGB_CtrlColor;
extern bool     m_bColor;       //是否采用系统主题的配置项,true为用默认的,false为用自定义的
extern int      m_iSystemStyle;//系统主题
extern bool     m_bSortUp;     //点击列表标题的时候的排序规则,true,false动态互相转换
extern int      m_iRunBell;    //启动的铃声
extern int      m_iExitBell;   //退出的铃声
extern bool     m_bAutoRun;    //是否自动运行
extern int      m_iTerm;       //学期
extern bool     m_bReboot;     //标记是否因为系统主题改变而重起,默认为false   
extern int      m_iTipTime;    //提醒频率
///////系统所用到的一些全局变量
extern bool     m_bWzOutcome;  //是否支出向导
//MyOwnLib
extern "C++" __declspec (dllexport) CString FormatDate (CTime time);
extern "C++" __declspec (dllexport) CString DateToString(CTime time);
extern "C++" __declspec (dllexport) CString _StringToString(CString _String);//把日期从1997-04-02转换到19970402
extern "C++" __declspec (dllexport) int     MoneyToInt(CString StrMoney);//把列表中的金钱从111.12转换为11112
extern "C++" __declspec (dllexport) bool MakeAccessODBCDSN(CString strSourceName,CString strSourceDb);
extern "C++" __declspec (dllexport) BOOL SetAutoRun(CString strPath);                   //设置开机自动运行
extern "C++" __declspec (dllexport) BOOL DeleteAutoRun(CString strPath);
//Print
extern "C++" __declspec (dllexport) void PrintBank(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintBorrow(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintCash(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintIncome(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintInvest(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintOutcome(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintFinancePlan(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintTangible(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintTransfer(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintRemind(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintGroup(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintPerson(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintCourse(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintLogion(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintStudyPlan(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintWord(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintCalenda(CDC &memDC, PRNINFO PrnInfo);
extern "C++" __declspec (dllexport) void PrintParttime(CDC &memDC, PRNINFO PrnInfo);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -