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

📄 multipre.cpp

📁 基于专家系统应用的程序代码 使用vc编程,access为数据库的程序
💻 CPP
字号:
// MultiPre.cpp : implementation file
//

#include "stdafx.h"
#include "minedabse.h"
#include "MultiPre.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMultiPre dialog


CMultiPre::CMultiPre(CWnd* pParent /*=NULL*/)
	: CDialog(CMultiPre::IDD, pParent)
{
	//{{AFX_DATA_INIT(CMultiPre)
	m_edit1 = _T("");
	m_edit2 = _T("");
	m_edit3 = _T("");
	m_edit5 = _T("");
	m_edit4 = _T("");
	m_edit6 = _T("");
	m_edit7 = _T("");
	m_edit8 = _T("");
	//}}AFX_DATA_INIT
}


void CMultiPre::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CMultiPre)
	DDX_Control(pDX, IDC_STATICAND1, m_and1);
	DDX_Text(pDX, IDC_EDIT1, m_edit1);
	DDX_Text(pDX, IDC_EDIT2, m_edit2);
	DDX_Text(pDX, IDC_EDIT3, m_edit3);
	DDX_Text(pDX, IDC_EDIT5, m_edit5);
	DDX_Text(pDX, IDC_EDIT4, m_edit4);
	DDX_Text(pDX, IDC_EDIT6, m_edit6);
	DDX_Text(pDX, IDC_EDIT7, m_edit7);
	DDX_Text(pDX, IDC_EDIT8, m_edit8);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CMultiPre, CDialog)
	//{{AFX_MSG_MAP(CMultiPre)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMultiPre message handlers

BOOL CMultiPre::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here	
	m_edit1="";
	m_edit2="";
	m_edit3="";
	m_edit4="";
	m_edit5="";
	m_edit6="";
	m_edit7="";
	m_edit8="";
	UpdateData(false);
	//m_and1.SetWindowText("dfsdafsda");  	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CMultiPre::OnOK() 
{
	// TODO: Add extra validation here
	UpdateData(true);
	CDialog::OnOK();
}

void CMultiPre::OnCancel() 
{
	// TODO: Add extra cleanup here
	m_edit1="";
	m_edit2="";
	m_edit3="";
	m_edit4="";
	m_edit5="";
	m_edit6="";
	m_edit7="";
	m_edit8="";
	UpdateData(false);
	CDialog::OnCancel();
}

⌨️ 快捷键说明

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