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

  • 大小: 4.48MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-18
  • 語言: C/C++
  • 標簽: Visual??C++??

資源簡介

在Visual C++平臺上用C++語言編寫的一個簡單畫圖程序,僅供學習和參考

資源截圖

代碼片段和文件信息

//?ColorForm.cpp?:?implementation?file
//

#include?“stdafx.h“
#include?“Draw.h“
#include?“ColorForm.h“
#include?“MainFrm.h“
#include?“DrawDoc.h“
#include?“DrawView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CColorForm

IMPLEMENT_DYNCREATE(CColorForm?CFormView)

CColorForm::CColorForm()
:?CFormView(CColorForm::IDD)
{
//{{AFX_DATA_INIT(CColorForm)
m_nColor?=?0;
m_colors=RGB(000);
//}}AFX_DATA_INIT
}

CColorForm::~CColorForm()
{
}

void?CColorForm::DoDataExchange(CDataExchange*?pDX)
{
CFormView::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CColorForm)
DDX_Control(pDX?IDC_EDIT1?m_ntext);
DDX_Radio(pDX?IDC_RADIO_DARK?m_nColor);
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CColorForm?CFormView)
//{{AFX_MSG_MAP(CColorForm)
ON_BN_CLICKED(IDC_RADIO_BLUE?OnRadioColors)
ON_BN_CLICKED(IDC_RADIO_DARK?OnRadioColors)
ON_BN_CLICKED(IDC_RADIO_GREEN?OnRadioColors)
ON_BN_CLICKED(IDC_RADIO_RED?OnRadioColors)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CColorForm?diagnostics

#ifdef?_DEBUG
void?CColorForm::AssertValid()?const
{
CFormView::AssertValid();
}

void?CColorForm::Dump(CDumpContext&?dc)?const
{
CFormView::Dump(dc);
}
#endif?//_DEBUG

/////////////////////////////////////////////////////////////////////////////


//DEL?void?CColorForm::OnRadioBlue()?
//DEL?{
//DEL? //?TODO:?Add?your?control?notification?handler?code?here
//DEL? m_colors=RGB(00255);
//DEL? CMainframe*?pfram=(CMainframe*)GetParent();
//DEL? CDrawView*pview=(CDrawView*)pfram->GetActiveView();
//DEL? pview->m_nColors=m_colors;
//DEL? UpdateData(false);
//DEL?}

//DEL?void?CColorForm::OnRadioDark()?
//DEL?{
//DEL? //?TODO:?Add?your?control?notification?handler?code?here
//DEL? m_colors=RGB(000);
//DEL? CMainframe*?pfram=(CMainframe*)GetParent();
//DEL? CDrawView*pview=(CDrawView*)pfram->GetActiveView();
//DEL? pview->m_nColors=m_colors;
//DEL? UpdateData(false);
//DEL?}

//DEL?void?CColorForm::OnRadioGreen()?
//DEL?{
//DEL? //?TODO:?Add?your?control?notification?handler?code?here
//DEL? m_colors=RGB(02550);
//DEL? CMainframe*?pfram=(CMainframe*)GetParent();
//DEL? CDrawView*pview=(CDrawView*)pfram->GetActiveView();
//DEL? pview->m_nColors=m_colors;
//DEL? UpdateData(false);
//DEL?
//DEL?}

//DEL?void?CColorForm::OnRadioRed()?
//DEL?{
//DEL? //?TODO:?Add?your?control?notification?handler?code?here
//DEL? m_colors=RGB(25500);
//DEL? CMainframe*?pfram=(CMainframe*)GetParent();
//DEL? CDrawView*pview=(CDrawView*)pfram->GetActiveView();
//DEL? pview->m_nColors=m_colors;
//DEL? UpdateData(false);
//DEL?
//DEL?}





void?CColorForm::OnRadioColors()?
{
//?TODO:?Add?your?control?notification?handler?code?here
?????UpdateData?(TRUE);
?switch(m_nCo

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2010-04-14?17:10??Draw\
?????文件?????????100??2010-03-29?12:29??Draw\1
?????文件????????3677??2010-04-14?15:50??Draw\ColorForm.cpp
?????文件????????1592??2010-04-14?14:52??Draw\ColorForm.h
?????目錄???????????0??2010-03-26?16:12??Draw\Control2\
?????文件???????35600??2010-03-26?16:10??Draw\Control2\Control2.aps
?????文件????????1253??2010-03-26?16:12??Draw\Control2\Control2.clw
?????文件????????2091??2010-03-26?15:47??Draw\Control2\Control2.cpp
?????文件????????4195??2010-03-26?15:47??Draw\Control2\Control2.dsp
?????文件?????????522??2010-03-26?15:47??Draw\Control2\Control2.dsw
?????文件????????1346??2010-03-26?15:47??Draw\Control2\Control2.h
?????文件???????41984??2010-03-26?16:12??Draw\Control2\Control2.ncb
?????文件???????48640??2010-03-26?16:12??Draw\Control2\Control2.opt
?????文件?????????944??2010-03-26?16:10??Draw\Control2\Control2.plg
?????文件????????5498??2010-03-26?16:10??Draw\Control2\Control2.rc
?????文件????????4981??2010-03-26?16:10??Draw\Control2\Control2Dlg.cpp
?????文件????????1476??2010-03-26?16:07??Draw\Control2\Control2Dlg.h
?????目錄???????????0??2010-03-26?16:10??Draw\Control2\Debug\
?????文件??????106543??2010-03-26?16:10??Draw\Control2\Debug\Control2.exe
?????文件??????194036??2010-03-26?16:10??Draw\Control2\Debug\Control2.ilk
?????文件???????14339??2010-03-26?16:10??Draw\Control2\Debug\Control2.obj
?????文件?????5503668??2010-03-26?16:10??Draw\Control2\Debug\Control2.pch
?????文件??????271360??2010-03-26?16:10??Draw\Control2\Debug\Control2.pdb
?????文件????????2640??2010-03-26?16:10??Draw\Control2\Debug\Control2.res
?????文件???????28715??2010-03-26?16:10??Draw\Control2\Debug\Control2Dlg.obj
?????文件??????105393??2010-03-26?16:10??Draw\Control2\Debug\StdAfx.obj
?????文件??????205824??2010-03-26?16:10??Draw\Control2\Debug\vc60.idb
?????文件??????364544??2010-03-26?16:10??Draw\Control2\Debug\vc60.pdb
?????文件????????3615??2010-03-26?15:47??Draw\Control2\ReadMe.txt
?????目錄???????????0??2010-03-26?15:47??Draw\Control2\res\
?????文件?????????824??2010-03-26?16:10??Draw\Control2\resource.h
............此處省略53個文件信息

評論

共有 條評論