91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 108KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-26
  • 語言: 其他
  • 標簽:

資源簡介

計算機專業大作業,數據結構大作業(家譜管理系統)

資源截圖

代碼片段和文件信息

//?AddInfoDlg.cpp?:?implementation?file
//

#include?“stdafx.h“
#include?“Familytree.h“
#include?“AddInfoDlg.h“

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


/////////////////////////////////////////////////////////////////////////////
//?CAddInfoDlg?dialog







CAddInfoDlg::CAddInfoDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(CAddInfoDlg::IDD?pParent)
{
//{{AFX_DATA_INIT(CAddInfoDlg)
m_live?=?TRUE;
m_marry?=?FALSE;
m_addr?=?_T(““);
m_birthday_day?=?0;
m_birthday_month?=?0;
m_deathday_year?=?0;
m_birthday_year?=?0;
m_deathday_day?=?0;
m_deathday_month?=?0;
m_name?=?_T(““);
m_parentname?=?_T(““);
//}}AFX_DATA_INIT
flag=false;
}


void?CAddInfoDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAddInfoDlg)
DDX_Check(pDX?IDC_CHECK_LIVE?m_live);
DDX_Check(pDX?IDC_CHECK_MARRY?m_marry);
DDX_Text(pDX?IDC_EDIT_ADDR?m_addr);
DDV_MaxChars(pDX?m_addr?127);
DDX_Text(pDX?IDC_EDIT_BIRTHDAY_DAY?m_birthday_day);
DDX_Text(pDX?IDC_EDIT_BIRTHDAY_MONTH?m_birthday_month);
DDX_Text(pDX?IDC_EDIT_DEATHDAY_YEAR?m_deathday_year);
DDX_Text(pDX?IDC_EDIT_BIRTHDAY_YEAR?m_birthday_year);
DDX_Text(pDX?IDC_EDIT_DEATHDAY_DAY?m_deathday_day);
DDX_Text(pDX?IDC_EDIT_DEATHDAY_MONTH?m_deathday_month);
DDX_Text(pDX?IDC_EDIT_NAME?m_name);
DDV_MaxChars(pDX?m_name?127);
DDX_Text(pDX?IDC_EDIT_PARENT_NAME?m_parentname);
DDV_MaxChars(pDX?m_parentname?127);
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAddInfoDlg?CDialog)
//{{AFX_MSG_MAP(CAddInfoDlg)
ON_BN_CLICKED(IDC_CHECK_LIVE?OnCheckLive)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CAddInfoDlg?message?handlers

void?CAddInfoDlg::OnCheckLive()?
{
//?TODO:?Add?your?control?notification?handler?code?here
if(flag){
GetDlgItem(IDC_EDIT_DEATHDAY_DAY)->EnableWindow(FALSE);
GetDlgItem(IDC_EDIT_DEATHDAY_MONTH)->EnableWindow(FALSE);
GetDlgItem(IDC_EDIT_DEATHDAY_YEAR)->EnableWindow(FALSE);
flag=false;
}
else{
GetDlgItem(IDC_EDIT_DEATHDAY_DAY)->EnableWindow(TRUE);
GetDlgItem(IDC_EDIT_DEATHDAY_MONTH)->EnableWindow(TRUE);
GetDlgItem(IDC_EDIT_DEATHDAY_YEAR)->EnableWindow(TRUE);
flag=true;
}
}

BOOL?CAddInfoDlg::OnInitDialog()?
{
CDialog::OnInitDialog();

//?TODO:?Add?extra?initialization?here
GetDlgItem(IDC_EDIT_DEATHDAY_DAY)->EnableWindow(FALSE);
GetDlgItem(IDC_EDIT_DEATHDAY_MONTH)->EnableWindow(FALSE);
GetDlgItem(IDC_EDIT_DEATHDAY_YEAR)->EnableWindow(FALSE);
return?TRUE;??//?return?TRUE?unless?you?set?the?focus?to?a?control
??????????????//?EXCEPTION:?OCX?Property?Pages?should?return?FALSE
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????目錄??????????0??2009-05-28?14:25??設計報告

?????文件?????141312??2008-11-26?08:59??設計報告\家譜管理系統設計報告.doc

?????目錄??????????0??2009-05-28?14:25??源程序

?????文件???????2779??2008-11-24?13:05??源程序\AddInfoDlg.cpp

?????文件???????1481??2008-11-24?13:06??源程序\AddInfoDlg.h

?????文件???????1176??2008-11-24?13:05??源程序\BirthdayDlg.cpp

?????文件???????1359??2008-11-24?13:06??源程序\BirthdayDlg.h

?????文件???????1016??2008-11-24?13:05??源程序\DelInfoDlg.cpp

?????文件???????1235??2008-11-24?13:08??源程序\DelInfoDlg.h

?????文件??????49000??2007-05-26?13:52??源程序\Familytree.aps

?????文件???????8618??2007-05-26?13:53??源程序\Familytree.clw

?????文件???????2129??2008-11-24?13:05??源程序\Familytree.cpp

?????文件???????5508??2008-11-24?13:06??源程序\Familytree.dsp

?????文件????????553??2008-11-24?13:06??源程序\Familytree.dsw

?????文件???????1366??2008-11-24?13:07??源程序\Familytree.h

?????文件?????287744??2007-05-26?13:53??源程序\Familytree.ncb

?????文件??????61952??2007-05-26?13:53??源程序\Familytree.opt

?????文件???????2903??2008-11-24?13:08??源程序\Familytree.plg

?????文件??????15525??2008-11-24?13:08??源程序\Familytree.rc

?????文件??????33648??2008-11-24?13:05??源程序\FamilytreeDlg.cpp

?????文件???????3256??2008-11-24?13:07??源程序\FamilytreeDlg.h

?????文件???????2150??2008-11-24?13:05??源程序\FileOpenAndSaveDlg.cpp

?????文件???????1384??2008-11-24?13:07??源程序\FileOpenAndSaveDlg.h

?????文件???????2754??2008-11-24?13:05??源程序\ModifyInfoDlg.cpp

?????文件???????1520??2008-11-24?13:07??源程序\ModifyInfoDlg.h

?????文件??????14438??2008-11-24?13:05??源程序\OperationFamilytree.cpp

?????文件???????4362??2008-11-24?13:07??源程序\OperationFamilytree.h

?????文件???????1072??2008-11-24?13:05??源程序\PersonalInfoDlg.cpp

?????文件???????1291??2008-11-24?13:07??源程序\PersonalInfoDlg.h

?????文件???????1179??2008-11-24?13:06??源程序\RelationsDlg.cpp

............此處省略14個文件信息

評論

共有 條評論