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

  • 大小: 12.91MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-01
  • 語言: C/C++
  • 標簽: RTL8019AS??

資源簡介

本人在開發板上調試通過,可以實際使用,包括C++,VB配置源代碼,51單片機TCP/IP源代碼

資源截圖

代碼片段和文件信息

//?Bar.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“Com.h“
#include?“Bar.h“
#include?“Sheet.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

extern?CComApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CBar

IMPLEMENT_DYNCREATE(CBar?CFormView)

CBar::CBar()
:?CFormView(CBar::IDD)
{
bAdd=FALSE;
m_pSet=NULL;
m_psheet=NULL;
bAdd1=TRUE;
bAdd2=FALSE;
bAdd3=FALSE;
}

CBar::~CBar()
{
}

void?CBar::DoDataExchange(CDataExchange*?pDX)
{
CFormView::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CBar)
DDX_Control(pDX?IDC_CTLISTBARCTRL1?m_Bar);
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CBar?CFormView)
//{{AFX_MSG_MAP(CBar)
ON_WM_SIZE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CBar?diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
//?CBar?message?handlers

void?CBar::OnSize(UINT?nType?int?cx?int?cy)?
{
CFormView::OnSize(nType?cx?cy);
if(GetSafeHwnd())
{
if(m_Bar.GetSafeHwnd())
{

CRect?rect(00cxcy);
m_Bar.MoveWindow(&rect);
if(!bAdd)
{
m_Bar.Set_Caption(“系統設置“);
m_Bar.AddImageItem(1“設置“1);
bAdd=TRUE;
}
}
}

}

BEGIN_EVENTSINK_MAP(CBar?CFormView)
????//{{AFX_EVENTSINK_MAP(CBar)
ON_EVENT(CBar?IDC_CTLISTBARCTRL1?3?/*?ItemClick?*/?OnItemClickCtlistbarctrl1?VTS_I2?VTS_I2)
//}}AFX_EVENTSINK_MAP
END_EVENTSINK_MAP()

void?CBar::OnItemClickCtlistbarctrl1(short?nList?short?nItem)?
{
CString???????strTagstrBarstrItem; //?新加tab頁的名稱
m_psheet =?theApp.m_pTab->m_sheet;
strBar =?m_Bar.GetBarText(nList); //?得到標題的字符串
strItem =?m_Bar.GetItemText(nListnItem); //?得到選中項的字符串
switch(nList)
{
case?1:
switch(nItem)
{
case?1:
{
strTag?=?“設置“;
if(!bAdd1)
{
bAdd1=TRUE;
m_pSet=new?CSet;
m_psheet->AddPage(m_pSet);
m_psheet->SetActivePage(m_pSet);
}
else
{
if(m_pSet==NULL)
m_psheet->SetActivePage(theApp.m_pTab->m_sheet->firstpage);
else
m_psheet->SetActivePage(m_pSet);
}
break;
}

case?2:
{/*
strTag?=?“通信設置“;
if(!bAdd2)
{
bAdd2=TRUE;
m_pCom=new?CComSet;
m_psheet->AddPage(m_pCom);
m_psheet->SetActivePage(m_pCom);
}
else
{
m_psheet->SetActivePage(m_pCom);
}*/
break;
}
case?3:
{/*
strTag?=?“PID設置“;
if(!bAdd3)
{
bAdd3=TRUE;
m_pPidSet=new?CPidSet;
m_psheet->AddPage(m_pPidSet);
m_psheet->SetActivePage(m_pPidSet);
}
else
{
m_psheet->SetActivePage(m_pPidSet);
}*/
break;

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

?????文件???????3294??2005-01-14?10:35??代碼\code\Com\Bar.cpp

?????文件???????1795??2005-01-12?10:53??代碼\code\Com\Bar.h

?????文件??????54148??2005-11-10?12:24??代碼\code\Com\Com.aps

?????文件???????4630??2005-11-10?12:25??代碼\code\Com\Com.clw

?????文件???????4388??2005-01-22?20:59??代碼\code\Com\Com.cpp

?????文件???????6628??2005-01-20?17:34??代碼\code\Com\Com.dsp

?????文件????????617??2005-01-14?09:24??代碼\code\Com\Com.dsw

?????文件???????1594??2005-01-14?09:20??代碼\code\Com\Com.h

?????文件?????189440??2005-11-10?12:28??代碼\code\Com\Com.ncb

?????文件??????51712??2005-11-10?12:28??代碼\code\Com\Com.opt

?????文件???????2303??2005-11-10?12:25??代碼\code\Com\Com.plg

?????文件??????40623??2005-11-10?12:24??代碼\code\Com\Com.rc

?????文件???????1682??2005-01-14?09:06??代碼\code\Com\ComDoc.cpp

?????文件???????1442??2005-01-14?09:06??代碼\code\Com\ComDoc.h

?????文件???????2866??2005-01-14?09:06??代碼\code\Com\ComView.cpp

?????文件???????2114??2005-01-14?09:06??代碼\code\Com\ComView.h

?????文件??????25204??2005-01-14?09:21??代碼\code\Com\ctlistbar.cpp

?????文件???????8021??2005-01-14?09:21??代碼\code\Com\ctlistbar.h

?????文件??????30910??2005-11-10?12:24??代碼\code\Com\Debug\Bar.obj

?????文件??????????0??2005-11-10?12:24??代碼\code\Com\Debug\Bar.sbr

?????文件????3810304??2005-11-10?12:25??代碼\code\Com\Debug\Com.bsc

?????文件?????192568??2005-11-10?12:25??代碼\code\Com\Debug\Com.exe

?????文件?????568876??2005-11-10?12:25??代碼\code\Com\Debug\Com.ilk

?????文件??????23349??2005-11-10?12:24??代碼\code\Com\Debug\Com.obj

?????文件????6875700??2005-10-26?09:12??代碼\code\Com\Debug\Com.pch

?????文件?????680960??2005-11-10?12:25??代碼\code\Com\Debug\Com.pdb

?????文件??????15248??2005-11-10?12:24??代碼\code\Com\Debug\Com.res

?????文件??????????0??2005-11-10?12:24??代碼\code\Com\Debug\Com.sbr

?????文件??????14399??2005-11-10?12:24??代碼\code\Com\Debug\ComDoc.obj

?????文件??????????0??2005-11-10?12:24??代碼\code\Com\Debug\ComDoc.sbr

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

評論

共有 條評論

相關資源