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

  • 大小: 9.45MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-07
  • 語言: C/C++
  • 標簽:

資源簡介

用C++編寫的簡易的繪圖程序。計算機圖形編程。

資源截圖

代碼片段和文件信息

//?BianHuanDlg.cpp?:?implementation?file
//

#include?“stdafx.h“
#include?“jhy.h“
#include?“BianHuanDlg.h“
#include?“MainFrm.h“
#include?“jhyView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CBianHuanDlg?dialog


CBianHuanDlg::CBianHuanDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(CBianHuanDlg::IDD?pParent)
{
//{{AFX_DATA_INIT(CBianHuanDlg)
m_a?=?0.0f;
m_sort?=?0;
m_d?=?0.0f;
//}}AFX_DATA_INIT
}


void?CBianHuanDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CBianHuanDlg)
DDX_Text(pDX?IDC_a?m_a);
DDX_Radio(pDX?IDC_BILI?m_sort);
DDX_Text(pDX?IDC_d?m_d);
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CBianHuanDlg?CDialog)
//{{AFX_MSG_MAP(CBianHuanDlg)
ON_BN_CLICKED(IDC_BILI?OnBili)
ON_BN_CLICKED(IDC_DUICHEN1?OnDuichen1)
ON_BN_CLICKED(IDC_DUICHEN2?OnDuichen2)
ON_BN_CLICKED(IDC_ODUICHEN?OnOduichen)
ON_BN_CLICKED(IDC_XDUICHEN?OnXduichen)
ON_BN_CLICKED(IDC_YDUICHEN?OnYduichen)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CBianHuanDlg?message?handlers

void?CBianHuanDlg::OnOK()?
{
//?TODO:?Add?extra?validation?here
CMainframe?*pWnd?=(CMainframe*)AfxGetMainWnd();
CjhyView?*?pView?=(CjhyView*)?pWnd->GetActiveView();
UpdateData(TRUE);
pView->flag?=?m_sort;
pView->a?=?m_a;
pView->d?=?m_d;
pView->m_dsDrawSort?=?DsBianHuan;
pView->Invalidate(TRUE);

CDialog::OnOK();
}

void?CBianHuanDlg::OnBili()?
{
//?TODO:?Add?your?control?notification?handler?code?here
UpdateData(TRUE);
if(IsDlgButtonChecked(IDC_BILI))?{
m_sort?=?0;
}
UpdateData(FALSE);
}

void?CBianHuanDlg::OnDuichen1()?
{
//?TODO:?Add?your?control?notification?handler?code?here
UpdateData(TRUE);
if(IsDlgButtonChecked(IDC_DUICHEN1))?{
m_sort?=?4;
}
UpdateData(FALSE);
}

void?CBianHuanDlg::OnDuichen2()?
{
//?TODO:?Add?your?control?notification?handler?code?here
UpdateData(TRUE);
if(IsDlgButtonChecked(IDC_DUICHEN2))?{
m_sort?=?5;
}
UpdateData(FALSE);
}

void?CBianHuanDlg::OnOduichen()?
{
//?TODO:?Add?your?control?notification?handler?code?here
UpdateData(TRUE);
if(IsDlgButtonChecked(IDC_ODUICHEN))?{
m_sort?=?3;
}
UpdateData(FALSE);
}

void?CBianHuanDlg::OnXduichen()?
{
//?TODO:?Add?your?control?notification?handler?code?here
UpdateData(TRUE);
if(IsDlgButtonChecked(IDC_XDUICHEN))?{
m_sort?=?1;
}
UpdateData(FALSE);
}

void?CBianHuanDlg::OnYduichen()?
{
//?TODO:?Add?your?control?notification?handler?code?here
UpdateData(TRUE);
if(IsDlgButtonChecked(IDC_YDUICHEN))?{
m_sort?=?2;
}
UpdateData(FALSE);
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????2827??2010-06-17?18:34??jhy\BianHuanDlg.cpp

?????文件???????1389??2010-06-17?18:24??jhy\BianHuanDlg.h

?????文件????????134??2010-06-14?23:11??jhy\Define.h

?????文件???????1429??2010-06-16?11:42??jhy\DuoBianXing.cpp

?????文件???????1226??2010-06-16?11:40??jhy\DuoBianXing.h

?????文件??????11993??2010-06-14?23:11??jhy\Hyperlink.cpp

?????文件???????3265??2010-06-14?23:11??jhy\Hyperlink.h

?????文件???????7626??2010-06-18?10:46??jhy\jhy.clw

?????文件???????5896??2010-06-14?23:11??jhy\jhy.cpp

?????文件???????7839??2010-06-17?15:18??jhy\jhy.dsp

?????文件????????514??2010-06-17?15:11??jhy\jhy.dsw

?????文件???????1370??2010-06-14?23:11??jhy\jhy.h

?????文件?????254976??2010-06-18?11:08??jhy\jhy.ncb

?????文件???????1830??2010-06-18?10:50??jhy\jhy.plg

?????文件???????1718??2010-06-14?23:11??jhy\jhyDoc.cpp

?????文件???????1478??2010-06-14?23:11??jhy\jhyDoc.h

?????文件???????1413??2010-06-16?12:06??jhy\JinGangShi.cpp

?????文件???????1216??2010-06-16?12:00??jhy\JinGangShi.h

?????文件???????1698??2010-06-16?11:20??jhy\LengZhuiDialog.cpp

?????文件???????1316??2010-06-15?18:29??jhy\LengZhuiDialog.h

?????文件???????4239??2010-06-14?23:11??jhy\ReadMe.txt

?????文件???????4867??2010-06-17?14:38??jhy\resource.h

?????文件???????2908??2010-06-14?23:11??jhy\SetDlg.cpp

?????文件???????1750??2010-06-14?23:11??jhy\SetDlg.h

?????文件???????1159??2010-06-14?23:11??jhy\Splash.h

?????文件????????243??2010-06-14?23:11??jhy\StdAfx.cpp

?????文件???????1092??2010-06-14?23:11??jhy\StdAfx.h

?????文件???????3242??2010-06-18?10:00??jhy\Splash.cpp

?????文件??????23046??2010-06-18?10:22??jhy\jhy.rc

?????文件????3554924??2010-06-18?10:22??jhy\jhy.aps

............此處省略84個文件信息

評論

共有 條評論

相關資源