void CWareHouse::ShowImagePaint()
{
CRect rectPic;
GetDlgItem(IDC_STATIC1)->GetClientRect(&rectPic);
for(int n=0;n<(WAREHOUSE_SIZE/2);n++)
{
if(!this->iDrawWareHouse[n].IsNull())
{
int x=rectPic.left+(n%8)*30;
int y=rectPic.top+(n/8)*30
this->iDrawWareHouse[n].Draw(::GetDC(m_hWnd),x,y,this->iDrawWareHouse[n].GetWidth(), this->iDrawWareHouse[n].GetHeight());//显示图
}
}
}