📄 sf.cpp
字号:
// Sf.cpp : implementation file
//
#include "stdafx.h"
#include "ww.h"
#include "Sf.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSf dialog
CSf::CSf(CWnd* pParent /*=NULL*/)
: CDialog(CSf::IDD, pParent)
{
//{{AFX_DATA_INIT(CSf)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
SetTimer(2, 500, NULL);
}
void CSf::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSf)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSf, CDialog)
//{{AFX_MSG_MAP(CSf)
ON_WM_PAINT()
ON_BN_CLICKED(IDC_BUTTON4, OnButton4)
ON_BN_CLICKED(IDC_BUTTON3, OnButton3)
ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
ON_BN_CLICKED(IDC_BUTTON8, OnButton8)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSf message handlers
void CSf::OnPaint()
{
CPaintDC dc(this); // device context for painting
// TODO: Add your message handler code here
// Do not call CDialog::OnPaint() for painting messages
//dc.TextOut(0,0,"gdsh");
}
void CSf::OnOK()
{
// TODO: Add extra validation here
CDialog::OnOK();
}
void CSf::OnButton4()
{
// TODO: Add your control notification handler code here
}
void CSf::OnButton3()
{
// TODO: Add your control notification handler code here
}
void CSf::OnButton2()
{
// TODO: Add your control notification handler code here
}
void CSf::OnButton8()
{
// TODO: Add your control notification handler code here
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -