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

  • 大小: 349KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-19
  • 語言: 其他
  • 標簽: 加油站??

資源簡介

實現加油站管理,可以方便管理加油站相關的一些簡單事件,能快速處理業務。

資源截圖

代碼片段和文件信息

??//?AccountMgrDlg.cpp?:?implementation?file
//

#include?“stdafx.h“
#include?“gasstation.h“
#include?“AccountMgrDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CAccountMgrDlg?dialog


CAccountMgrDlg::CAccountMgrDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(CAccountMgrDlg::IDD?pParent)
{
//{{AFX_DATA_INIT(CAccountMgrDlg)
m_strDayEnd?=?_T(““);
m_strDayStart?=?_T(““);
m_strMonthEnd?=?_T(““);
m_strMonthStart?=?_T(““);
m_strYearEnd?=?_T(““);
m_strYearStart?=?_T(““);
//}}AFX_DATA_INIT
}


void?CAccountMgrDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAccountMgrDlg)
DDX_Control(pDX?IDC_LIST_STOCK?m_listStock);
DDX_Control(pDX?IDC_LIST_SELL?m_listSell);
DDX_CBString(pDX?IDC_COMBO_DAY_END?m_strDayEnd);
DDX_CBString(pDX?IDC_COMBO_DAY_START?m_strDayStart);
DDX_CBString(pDX?IDC_COMBO_MONTH_END?m_strMonthEnd);
DDX_CBString(pDX?IDC_COMBO_MONTH_START?m_strMonthStart);
DDX_CBString(pDX?IDC_COMBO_YEAR_END?m_strYearEnd);
DDX_CBString(pDX?IDC_COMBO_YEAR_START?m_strYearStart);
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAccountMgrDlg?CDialog)
//{{AFX_MSG_MAP(CAccountMgrDlg)
ON_WM_SHOWWINDOW()
ON_BN_CLICKED(IDC_BUTTON_QUERY?OnButtonQuery)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CAccountMgrDlg?message?handlers

BOOL?CAccountMgrDlg::OnInitDialog()?
{
CDialog::OnInitDialog();

//?TODO:?Add?extra?initialization?here
CComboBox?*pComboBoxStart?*pComboBoxEnd;

pComboBoxStart?=?(CComboBox?*)GetDlgItem(IDC_COMBO_YEAR_START);
pComboBoxEnd?=?(CComboBox?*)GetDlgItem(IDC_COMBO_YEAR_END);
for?(int?i=2010;i>1980;i?--)?{
CString?strYear;
strYear.Format(“%d“?i);
pComboBoxStart->AddString(strYear);
pComboBoxEnd->AddString(strYear);
}

pComboBoxStart?=?(CComboBox?*)GetDlgItem(IDC_COMBO_MONTH_START);
pComboBoxEnd?=?(CComboBox?*)GetDlgItem(IDC_COMBO_MONTH_END);
for?(i=1;i<=12;i?++)?{
CString?strMonth;
strMonth.Format(“%d“?i);
pComboBoxStart->AddString(strMonth);
pComboBoxEnd->AddString(strMonth);
}

pComboBoxStart?=?(CComboBox?*)GetDlgItem(IDC_COMBO_DAY_START);
pComboBoxEnd?=?(CComboBox?*)GetDlgItem(IDC_COMBO_DAY_END);
for?(i=1;i<=31;i?++)?{
CString?strDay;
strDay.Format(“%d“?i);
pComboBoxStart->AddString(strDay);
pComboBoxEnd->AddString(strDay);
}

//設置列表框控件
const?char?*stock_list_column[]?=?
{
“時間“
“油品“
“油庫“
“總量“
“進貨價格“
“進貨員“
““
};
i=0;
while?(*stock_list_column[i]?!=?0x00)?{
int?nWidth?=?(i==0)?120:50;
m_listStock.InsertColumn(i?stock_list_column[i++]?LVCFMT_LEFT?nWidth);
}
m_listStock.SetExtendedstyle(LVS_EX_FULLROWSELECT);

//設置列表框控件
const?char?*sell_list_column[]?=?
{
“時間“
“油品“
“油庫“
“總量“

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

?????文件???????6073??2004-01-14?13:15??Src\AccountMgrDlg.cpp

?????文件???????1584??2004-01-14?13:15??Src\AccountMgrDlg.h

?????文件??????10923??2004-01-30?16:17??Src\ADODatabase.cpp

?????文件???????2652??2004-01-30?16:17??Src\ADODatabase.h

?????文件??????21390??2004-02-04?16:24??Src\ADODatabase_SQLServer.cpp

?????文件???????4010??2004-02-04?13:46??Src\ADODatabase_SQLServer.h

?????文件???????1370??2004-01-12?19:41??Src\DepotInfoDlg.cpp

?????文件???????1283??2004-01-12?19:24??Src\DepotInfoDlg.h

?????文件???????4286??2004-01-12?22:44??Src\DepotMgrDlg.cpp

?????文件???????1442??2004-01-12?19:39??Src\DepotMgrDlg.h

?????文件??????59580??2013-11-19?22:14??Src\GasStation.aps

?????文件??????13816??2013-11-19?22:18??Src\GasStation.clw

?????文件???????1577??2004-01-30?16:19??Src\GasStation.cpp

?????文件???????7235??2004-01-30?16:21??Src\GasStation.dsp

?????文件????????543??2004-01-12?21:49??Src\GasStation.dsw

?????文件???????1335??2004-01-30?16:17??Src\GasStation.h

?????文件?????361472??2013-11-19?22:57??Src\GasStation.ncb

?????文件??????57856??2013-11-19?22:57??Src\GasStation.opt

?????文件???????8183??2004-04-20?15:48??Src\GasStation.plg

?????文件??????30104??2004-02-06?20:20??Src\GasStation.rc

?????文件??????11771??2004-02-04?13:48??Src\GasStationDlg.cpp

?????文件???????2430??2004-02-04?12:29??Src\GasStationDlg.h

?????文件???????1318??2004-01-12?22:57??Src\GasTypeInfoDlg.cpp

?????文件???????1278??2004-01-12?22:40??Src\GasTypeInfoDlg.h

?????文件???????4198??2004-01-12?23:07??Src\GasTypeMgrDlg.cpp

?????文件???????1469??2004-01-12?22:50??Src\GasTypeMgrDlg.h

?????文件???????5467??2004-01-08?15:00??Src\Global.cpp

?????文件???????1557??2004-01-12?19:19??Src\Global.h

?????文件???????1606??2004-01-12?15:50??Src\InputDlg.cpp

?????文件???????1267??2004-01-09?02:34??Src\InputDlg.h

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

評論

共有 條評論