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

📄 dlgea5.cpp

📁 生生世世 生生世世 生生世世 生生世世 搜索
💻 CPP
字号:
// DlgEA5.cpp : implementation file
//

#include "stdafx.h"
#include "finalhomework.h"
#include "DlgEA5.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDlgEA5 dialog


CDlgE::CDlgE(CString a): CDialog(CDlgE::IDD)
{
	m_bday = _T("");
	m_bmonth = _T("");
	m_byear = _T("");
	m_score = _T("");
	m_finsh = _T("");
	m_address = _T("");
	m_name = _T("");
	m_report = _T("");
	m_user=_T("");
	m_password=_T("");
	m_man = 0;

//	m_password=b;
//	m_user=a;
	flag=0;;
	FILE *fp;
	char *t;
	char temp[200];
	if(a!=_T("")){
	t=(char *)(LPCSTR)(a+"5"+".dat");
	strcpy(temp,t);
	strcpy(temp,(LPCSTR)(a+"5"+".dat"));
	strcpy(weijian,t);
	strcpy(weijian,(LPCSTR)(a+"5"+".dat"));
	}
	fp=fopen(temp,"r");
	fscanf(fp,"%s",temp);
	m_user=temp;
	fscanf(fp,"%s",temp);
	m_password=temp;
	fscanf(fp,"%s",temp);
	m_name=temp;
	fscanf(fp,"%d",&m_man);
	fscanf(fp,"%s",temp);
	m_address=temp;
	fscanf(fp,"%s",temp);
	m_byear=temp;
	fscanf(fp,"%s",temp);
	m_bmonth=temp;
	fscanf(fp,"%s",temp);
	m_bday=temp;
	fscanf(fp,"%s",temp);
	m_itemdistributed=temp;
	fscanf(fp,"%s",temp);
	m_valuation=temp;
	fscanf(fp,"%s",temp);
	m_finsh=temp;
	fscanf(fp,"%s",temp);
	m_score=temp;
	fscanf(fp,"%s",temp);
	m_report=temp;
	fclose(fp);
}
void CDlgEA5::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgEA5)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDlgEA5, CDialog)
	//{{AFX_MSG_MAP(CDlgEA5)
	ON_EN_CHANGE(IDC_EADDRESS, OnChangeEaddress)
	ON_EN_CHANGE(IDC_EITEMDISTRIBUTED, OnChangeEitemdistributed)
	ON_EN_CHANGE(IDC_EMEVALUTION, OnChangeEmevalution)
	ON_EN_CHANGE(IDC_ENAME, OnChangeEname)
	ON_EN_CHANGE(IDC_EREPORT, OnChangeEreport)
	ON_BN_CLICKED(IDC_RADIO1, OnRadio1)
	ON_CBN_EDITCHANGE(IDC_BDAY, OnEditchangeBday)
	ON_CBN_EDITCHANGE(IDC_BMONTH, OnEditchangeBmonth)
	ON_CBN_EDITCHANGE(IDC_BYEAR, OnEditchangeByear)
	ON_CBN_EDITCHANGE(IDC_EFINSH, OnEditchangeEfinsh)
	ON_CBN_EDITCHANGE(IDC_ESCORE, OnEditchangeEscore)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDlgEA5 message handlers

void CDlgEA5::OnSelchangeBday() 
{
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnSelchangeBmonth() 
{
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnSelchangeByear() 
{
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnChangeEaddress() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnSelchangeEfinsh() 
{
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnChangeEitemdistributed() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnChangeEmevalution() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnChangeEname() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnChangeEreport() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnSelchangeEscore() 
{
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnRadio1() 
{
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnEditchangeBday() 
{
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnEditchangeBmonth() 
{
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnEditchangeByear() 
{
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnEditchangeEfinsh() 
{
	// TODO: Add your control notification handler code here
	
}

void CDlgEA5::OnEditchangeEscore() 
{
	// TODO: Add your control notification handler code here
	
}

⌨️ 快捷键说明

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