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

📄 fileload.cpp

📁 匈牙利法解决分派问题
💻 CPP
字号:
// fileload.cpp : implementation file
//

#include "stdafx.h"
#include "匈牙利法解分派问题.h"
#include "fileload.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
extern char newfilename[50];
extern int word;
/////////////////////////////////////////////////////////////////////////////
// fileload dialog


fileload::fileload(CWnd* pParent /*=NULL*/)
	: CDialog(fileload::IDD, pParent)
{
	//{{AFX_DATA_INIT(fileload)
	m_filename = _T("");
	m_static = _T("");
	//}}AFX_DATA_INIT
		
}


void fileload::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(fileload)
	DDX_Text(pDX, IDC_EDIT1, m_filename);
	DDX_Text(pDX, IDC_STATIC1, m_static);
	//}}AFX_DATA_MAP
	CWnd *p;
		p=GetDlgItem(IDD_DIALOG1);
	if(word==1) SetWindowText("导出到Word");
	else if(word==0)SetWindowText("由文件载入");
	else SetWindowText("导出到Excel");
}


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

/////////////////////////////////////////////////////////////////////////////
// fileload message handlers

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

⌨️ 快捷键说明

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