📄 folder.cpp
字号:
// Folder.cpp : implementation file
//
#include "stdafx.h"
#include "WinCEJob.h"
#include "Folder.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFolder dialog
CFolder::CFolder(CWnd* pParent /*=NULL*/)
: CDialog(CFolder::IDD, pParent)
{
//{{AFX_DATA_INIT(CFolder)
m_aa = _T("");
//}}AFX_DATA_INIT
}
void CFolder::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CFolder)
DDX_Text(pDX, IDC_EDIT1, m_aa);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CFolder, CDialog)
//{{AFX_MSG_MAP(CFolder)
ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFolder message handlers
CString movefilename;
void CFolder::OnOK()
{
// TODO: Add extra validation here
UpdateData(true);
movefilename = m_aa;
CDialog::OnOK();
}
void CFolder::OnButton1()
{
// TCHAR szFilter[] = L"Chart Files (*.xlc)|*.xlc|Worksheet Files (*.xls)|*.xls|Data Files (*.xlc;*.xls)|*.xlc; *.xls|All Files (*.*)|*.*||";
// CFileDialog cf(FALSE, NULL, L"\\windows", OFN_PROPERTY, (LPCTSTR)szFilter);
// cf.DoModal();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -