outsourcing.cpp 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638
  1. // outsourcing.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "LYFZIPManage.h"
  5. #include "outsourcing.h"
  6. #include "MyMdi.H"
  7. #include "ModifyDinDan.h"
  8. #include "InputPsw.h"
  9. #include "ClientDlg.h"
  10. #include "ImportPhoto.h"
  11. #include "ImportPhoto.h"
  12. #include "outsourcingDlg.h"
  13. #include "outsourcingDlg2.h"
  14. #include "NeroDlg.h"
  15. #ifdef _DEBUG
  16. #define new DEBUG_NEW
  17. #undef THIS_FILE
  18. static char THIS_FILE[] = __FILE__;
  19. #endif
  20. #pragma comment(lib, "Shlwapi.lib")
  21. /////////////////////////////////////////////////////////////////////////////
  22. // outsourcing
  23. IMPLEMENT_DYNCREATE(outsourcing, CFormView)
  24. outsourcing::outsourcing()
  25. : CFormView(outsourcing::IDD)
  26. {
  27. //{{AFX_DATA_INIT(outsourcing)
  28. m_filter = _T("");
  29. //}}AFX_DATA_INIT
  30. }
  31. outsourcing::~outsourcing()
  32. {
  33. }
  34. void outsourcing::DoDataExchange(CDataExchange* pDX)
  35. {
  36. CFormView::DoDataExchange(pDX);
  37. //{{AFX_DATA_MAP(outsourcing)
  38. DDX_Control(pDX, IDC_COMBO1, m_combo1);
  39. DDX_Control(pDX, IDC_LIST2, m_List1);
  40. DDX_Control(pDX, IDC_STATIC1, m_static1);
  41. DDX_CBString(pDX, IDC_COMBO1, m_filter);
  42. //}}AFX_DATA_MAP
  43. }
  44. BEGIN_MESSAGE_MAP(outsourcing, CFormView)
  45. //{{AFX_MSG_MAP(outsourcing)
  46. ON_BN_CLICKED(IDC_BUTclose, OnBUTclose)
  47. ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
  48. ON_CBN_SELCHANGE(IDC_COMBO1, OnSelchangeCombo1)
  49. ON_WM_TIMER()
  50. ON_BN_CLICKED(IDC_BUTmodify, OnBUTmodify)
  51. ON_NOTIFY(NM_DBLCLK, IDC_LIST2, OnDblclkList2)
  52. ON_BN_CLICKED(IDC_BUTexport, OnBUTexport)
  53. ON_BN_CLICKED(IDC_BUTmodify2, OnBUTmodify2)
  54. ON_NOTIFY(NM_RDBLCLK, IDC_LIST2, OnRdblclkList2)
  55. ON_BN_CLICKED(IDC_BUTToPhotoPrint, OnBUTToPhotoPrint)
  56. ON_BN_CLICKED(IDC_BUTburncd, OnBUTburncd)
  57. //}}AFX_MSG_MAP
  58. END_MESSAGE_MAP()
  59. /////////////////////////////////////////////////////////////////////////////
  60. // outsourcing diagnostics
  61. #ifdef _DEBUG
  62. void outsourcing::AssertValid() const
  63. {
  64. CFormView::AssertValid();
  65. }
  66. void outsourcing::Dump(CDumpContext& dc) const
  67. {
  68. CFormView::Dump(dc);
  69. }
  70. #endif //_DEBUG
  71. /////////////////////////////////////////////////////////////////////////////
  72. // outsourcing message handlers
  73. void outsourcing::OnInitialUpdate()
  74. {
  75. CFormView::OnInitialUpdate();
  76. // TODO: Add your specialized code here and/or call the base class
  77. CMyMdi Mdi;
  78. Mdi.SetSubView((CWnd*)GetParent(), (CWnd*)this);
  79. // Here we create the outbar control using the splitter as its parent
  80. // and setting its id to the first pane.
  81. CRect rc2;
  82. GetWindowRect(rc2);
  83. ::MoveWindow(m_hWnd,g_rc.left,g_rc.top,g_rc.Width(),g_rc.Height(),TRUE);
  84. EnumChildWindows(m_hWnd,(WNDENUMPROC)EnumChildProc,0);
  85. m_static1.SetFont (&g_titlefont);
  86. m_List1.SetHeadings("订单号,100;男宾姓名,100;女宾姓名,100;设计,100;加急,100;取件日期,100;接单人,100;商品名称,100;是否发出,100;是否回来,100;是否完成,100;是否取走,100;男宾电话,100;女宾电话,100" );
  87. m_List1.LoadColumnInfo (121);
  88. m_List1.m_bSortSupport=0;
  89. // DWORD begin=::GetTickCount ();
  90. if(g_bShowOK==0)
  91. {
  92. CString filter="qjstatus='未取' and kind<>'5'";
  93. g_sendhead.bsql=0;
  94. g_sendhead.code[0]=33;
  95. g_sendhead.tabcount=1;
  96. g_pMainWnd->ProcessChatMessageRequest2(filter);if(g_bSendOK==0)return;
  97. }
  98. else
  99. {
  100. CString filter="kind<>'5'";
  101. g_sendhead.bsql=0;
  102. g_sendhead.code[0]=33;
  103. g_sendhead.tabcount=1;
  104. g_pMainWnd->ProcessChatMessageRequest2(filter);if(g_bSendOK==0)return;
  105. }
  106. // DWORD end=::GetTickCount ()-begin;
  107. // CString timestamp;
  108. // timestamp.Format ("%d s", end);
  109. // AfxMessageBox(timestamp);
  110. DataToArray(&m_List1array);
  111. for(int i=0; i<g_userarray.GetSize (); i++)
  112. {
  113. m_combo1.AddString (g_userarray.ElementAt (i).ElementAt (1) );
  114. }
  115. FillGrid();
  116. m_combo1.GetWindowRect (rc2);
  117. ScreenToClient(rc2);
  118. rc2.bottom +=200;
  119. m_combo1.MoveWindow (rc2);
  120. GetDlgItem(IDC_BUTexport)->EnableWindow(IsHasRights2new(12));
  121. GetDlgItem(IDC_BUTmodify2)->EnableWindow(IsHasRights2new(14));
  122. }
  123. void outsourcing::FillGrid()
  124. {
  125. m_List1.DeleteAllItems2 ();
  126. int ii=0;
  127. m_List1.m_arLabels.SetSize( m_List1array.GetSize (), 1 );
  128. int count=0;
  129. if(m_filter.IsEmpty ())
  130. {
  131. for(ii=0; ii<m_List1.m_arLabels.GetSize (); ii++)
  132. {
  133. m_List1.m_arLabels.ElementAt (count++).Copy (m_List1array.ElementAt (ii));
  134. }
  135. }
  136. else
  137. {
  138. int type=GetType(m_filter);
  139. if(type==1)//电话
  140. {BOOL bFinded=0;
  141. for(ii=0; ii<m_List1.m_arLabels.GetSize (); ii++)
  142. {
  143. if(bFinded && m_List1array.ElementAt (ii).ElementAt (0).IsEmpty ())
  144. {
  145. m_List1.m_arLabels.ElementAt (count++).Copy (m_List1array.ElementAt (ii));
  146. continue;
  147. }
  148. if(m_List1array.ElementAt (ii).ElementAt (12).Find (m_filter)!=-1\
  149. || m_List1array.ElementAt (ii).ElementAt (13).Find (m_filter)!=-1 )
  150. {
  151. bFinded=1;
  152. m_List1.m_arLabels.ElementAt (count++).Copy (m_List1array.ElementAt (ii));
  153. }
  154. else
  155. {
  156. bFinded=0;
  157. }
  158. }
  159. }
  160. else if(type==2)//拼音
  161. {BOOL bFinded=0;
  162. m_filter.MakeUpper ();
  163. for(ii=0; ii<m_List1.m_arLabels.GetSize (); ii++)
  164. {
  165. if(bFinded && m_List1array.ElementAt (ii).ElementAt (0).IsEmpty ())
  166. {
  167. m_List1.m_arLabels.ElementAt (count++).Copy (m_List1array.ElementAt (ii));
  168. continue;
  169. }
  170. if(m_List1array.ElementAt (ii).ElementAt (14).Find (m_filter)!=-1\
  171. || m_List1array.ElementAt (ii).ElementAt (15).Find (m_filter)!=-1 )
  172. {
  173. bFinded=1;
  174. m_List1.m_arLabels.ElementAt (count++).Copy (m_List1array.ElementAt (ii));
  175. }
  176. else
  177. {
  178. bFinded=0;
  179. }
  180. }
  181. }
  182. else
  183. {
  184. BOOL bFinded=0;
  185. for(ii=0; ii<m_List1.m_arLabels.GetSize (); ii++)
  186. {
  187. if(bFinded && m_List1array.ElementAt (ii).ElementAt (0).IsEmpty ())
  188. {
  189. m_List1.m_arLabels.ElementAt (count++).Copy (m_List1array.ElementAt (ii));
  190. continue;
  191. }
  192. if(m_List1array.ElementAt (ii).ElementAt (0).Find (m_filter)!=-1 ||m_List1array.ElementAt (ii).ElementAt (1).Find (m_filter)!=-1 || m_List1array.ElementAt (ii).ElementAt (2).Find (m_filter)!=-1 || m_List1array.ElementAt (ii).ElementAt (6).Find (m_filter)!=-1\
  193. || m_List1array.ElementAt (ii).ElementAt (12).Find (m_filter)!=-1\
  194. || m_List1array.ElementAt (ii).ElementAt (13).Find (m_filter)!=-1 )
  195. {
  196. bFinded=1;
  197. m_List1.m_arLabels.ElementAt (count++).Copy (m_List1array.ElementAt (ii));
  198. }
  199. else
  200. {
  201. bFinded=0;
  202. }
  203. }
  204. }
  205. }
  206. m_List1.m_arLabels.SetSize(count, 1);
  207. ii=count;
  208. m_List1.m_LabelCount=ii;
  209. m_List1.SetItemCountEx (ii);
  210. CString str;
  211. str.Format ("单数:%d", ii);
  212. SetDlgItemText(IDC_STATIC2, str);
  213. }
  214. void outsourcing::OnBUTclose()
  215. {
  216. // TODO: Add your control notification handler code here
  217. GetParent()->SendMessage(WM_CLOSE);
  218. }
  219. void outsourcing::OnButton1()
  220. {
  221. // TODO: Add your control notification handler code here
  222. /* CString oldid="";
  223. BOOL bOK=1;
  224. CString str;
  225. for(int i=0; i<m_List1.GetItemCount (); i++)
  226. {
  227. if(!m_List1.GetItemText (i, 0).IsEmpty ())
  228. {
  229. if(oldid!=m_List1.GetItemText (i, 0))
  230. {
  231. if(bOK && i>0)
  232. {
  233. CString sql;
  234. sql= "update dindan set status3='OK' where id='"+oldid+"'";
  235. g_sendhead.bsql=1;
  236. g_pMainWnd->ProcessChatMessageRequest2(sql);
  237. str+=oldid;
  238. }
  239. bOK=1;
  240. oldid=m_List1.GetItemText (i, 0);
  241. }
  242. }
  243. if(m_List1.GetItemText (i, 11)!="OK")
  244. bOK=0;
  245. }
  246. MessageBox(str);*/
  247. UpdateData();
  248. m_filter.TrimLeft ();
  249. m_filter.TrimRight ();
  250. FillGrid();
  251. }
  252. void outsourcing::OnSelchangeCombo1()
  253. {
  254. // TODO: Add your control notification handler code here
  255. SetTimer(1, 100, NULL);
  256. }
  257. void outsourcing::OnTimer(UINT nIDEvent)
  258. {
  259. // TODO: Add your message handler code here and/or call default
  260. KillTimer(nIDEvent);
  261. OnButton1();
  262. }
  263. BOOL outsourcing::PreTranslateMessage(MSG* pMsg)
  264. {
  265. // TODO: Add your specialized code here and/or call the base class
  266. try
  267. {
  268. if(pMsg->message==WM_KEYDOWN)
  269. {
  270. switch (pMsg->wParam)
  271. {
  272. case VK_RETURN:
  273. OnButton1();
  274. return 1;
  275. case 0x43: // copy
  276. if ( ( GetKeyState( VK_CONTROL ) & 0x80 ) )
  277. {
  278. GetFocus()->SendMessage(WM_COPY);
  279. return TRUE;
  280. }
  281. break;
  282. case 0x56: //Ctrl + V:
  283. if ( ( GetKeyState( VK_CONTROL ) & 0x80 ) )
  284. {
  285. GetFocus()->SendMessage(WM_PASTE);
  286. return TRUE;
  287. }
  288. break;
  289. case 0x58: // cut
  290. if ( ( GetKeyState( VK_CONTROL ) & 0x80 ) )
  291. {
  292. GetFocus()->SendMessage(WM_CUT);
  293. return TRUE;
  294. }
  295. break;
  296. case 0x5A: //undo
  297. case 0x59: //redo
  298. if ( ( GetKeyState( VK_CONTROL ) & 0x80 ) )
  299. {
  300. GetFocus()->SendMessage(WM_UNDO);
  301. return TRUE;
  302. }
  303. break;
  304. }
  305. }
  306. /* else if(pMsg->message==WM_LBUTTONDOWN)
  307. {
  308. CPoint pt;
  309. CRect rc,rc2;
  310. ::GetCursorPos (&pt);
  311. m_List1.GetWindowRect (rc2);
  312. pt.x-=rc2.left ;
  313. pt.y-=rc2.top ;
  314. m_List1.GetHeaderCtrl()->GetItemRect (0, rc);
  315. rc.right =rc.left +rc2.Width ();
  316. if(rc.PtInRect (pt))
  317. return 1;
  318. }*/
  319. return CFormView::PreTranslateMessage(pMsg);
  320. }
  321. catch(...)
  322. {
  323. }
  324. }
  325. void outsourcing::GetNo(CString str, CStringArray &array)
  326. {
  327. if(!str.IsEmpty ())
  328. {
  329. int pos=str.Find (",");
  330. while(pos!=-1)
  331. {
  332. array.Add (str.Left (pos));
  333. str=str.Right (str.GetLength ()-pos-1);
  334. pos=str.Find (",");
  335. }
  336. array.Add(str);
  337. }
  338. }
  339. extern int CALLBACK BrowseProc(HWND hwnd, UINT msg, LPARAM lParam, LPARAM lpData);
  340. /*{
  341. switch(msg)
  342. {
  343. case BFFM_INITIALIZED:
  344. SendMessage(hwnd, BFFM_SETSELECTION, TRUE, NULL);
  345. break;
  346. case BFFM_SELCHANGED:
  347. {
  348. char szFileName[MAX_PATH];
  349. LPITEMIDLIST pidlCurrent = (LPITEMIDLIST)lParam;
  350. SHGetPathFromIDList(pidlCurrent, szFileName);
  351. SendMessage(hwnd, BFFM_SETSTATUSTEXT, 0, (LPARAM)szFileName);
  352. }
  353. break;
  354. }
  355. return 0;
  356. }*/
  357. void outsourcing::GetSavePath(CString &path)
  358. {
  359. char lpszDisplayName[MAX_PATH], szFileName[MAX_PATH];
  360. LPITEMIDLIST pidlDesktop, pidlCurrent;
  361. if(SHGetSpecialFolderLocation(NULL, CSIDL_DESKTOP, &pidlDesktop)
  362. == NOERROR)
  363. {
  364. BROWSEINFO bi;
  365. bi.hwndOwner = this->m_hWnd;
  366. bi.pidlRoot = pidlDesktop;
  367. bi.pszDisplayName = lpszDisplayName;
  368. bi.lpszTitle = "\n文档保存的目录:";
  369. bi.ulFlags = BIF_STATUSTEXT&BIF_RETURNONLYFSDIRS ;
  370. bi.lpfn = BrowseProc;
  371. bi.lParam = 0;
  372. bi.iImage = 0;
  373. pidlCurrent = SHBrowseForFolder(&bi);
  374. SHGetPathFromIDList(pidlCurrent, szFileName);
  375. path = szFileName;
  376. }
  377. }
  378. int outsourcing::FindArray(CStringArray *pArray, CString *pStr)
  379. {
  380. for(int i=0; i<pArray->GetSize (); i++)
  381. {
  382. if(pArray->ElementAt (i)==*pStr)
  383. return i;
  384. }
  385. return -1;
  386. }
  387. void outsourcing::OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult)
  388. {
  389. // TODO: Add your control notification handler code here
  390. OnBUTmodify();
  391. *pResult = 0;
  392. }
  393. void outsourcing::OnBUTexport()
  394. {
  395. if(IsHasRights2new(12)==0)return;
  396. // TODO: Add your control notification handler code here
  397. POSITION pos;
  398. pos=m_List1.GetFirstSelectedItemPosition();
  399. if(pos==NULL)
  400. {
  401. AfxMessageBox("请先选中您要导出片的定单!", MB_ICONINFORMATION);
  402. return;
  403. }
  404. int iItem=m_List1.GetNextSelectedItem(pos);
  405. CString id=m_List1.GetItemText (iItem, 0);
  406. CString path;
  407. path=g_path3+"\\";
  408. path+=id;
  409. path +="\\";
  410. CStringArray array;
  411. CString dir;
  412. GetSavePath(dir);
  413. if(dir.IsEmpty())
  414. {
  415. return;
  416. }
  417. CString name1=m_List1.GetItemText (iItem, 1);
  418. CString name2=m_List1.GetItemText (iItem, 2);
  419. dir.TrimRight ('\\');
  420. dir+="\\";
  421. dir+=id;
  422. dir+=name1;
  423. dir+=name2;
  424. dir+="设计好的片";
  425. dir+="\\";
  426. ::CreateDirectory (dir, NULL);
  427. CStringArray desarray;
  428. CStringArray dirarray;
  429. CString savepath=dir;
  430. CString str;
  431. if(1)
  432. {
  433. using namespace helper_coffs;
  434. ffsco o;
  435. o.dirs(1);
  436. o.find(LPCSTR(path), LPCSTR("*.*"));
  437. ffsco::typeT coo;
  438. ffsco::typeT::iterator it;
  439. coo = o.co_dir();
  440. for (it = coo.begin();
  441. coo.end() != it;
  442. it ++)
  443. {
  444. str=(*it).c_str();
  445. if(FindArray(&dirarray, &str)==-1)
  446. {
  447. dirarray.Add (str);
  448. if(str!=dirarray.ElementAt (0))
  449. {
  450. str=savepath+str.Right (str.GetLength ()-dirarray.ElementAt (0).GetLength ());
  451. if(::PathFileExists (str)==0)
  452. ::CreateDirectory (str, NULL);
  453. }
  454. }
  455. }
  456. }
  457. if(1)
  458. {
  459. for(int i=0; i<dirarray.GetSize (); i++)
  460. {
  461. using namespace helper_coffs;
  462. ffsco o;
  463. o.dirs(0);
  464. o.find(LPCSTR(dirarray.ElementAt (i)), LPCSTR("*.jpg"));
  465. ffsco::typeT coo;
  466. ffsco::typeT::iterator it;
  467. coo = o.co_file();
  468. for (it = coo.begin();
  469. coo.end() != it;
  470. it ++)
  471. {
  472. str=(*it).c_str();
  473. if(str.GetAt (str.ReverseFind ('\\')+1)=='s')continue;
  474. array.Add (str);
  475. desarray.Add (savepath+dirarray.ElementAt (i).Right (dirarray.ElementAt (i).GetLength ()-dirarray.ElementAt (0).GetLength ())+str.Right (str.GetLength ()-str.ReverseFind ('\\')-1));
  476. }
  477. }
  478. }
  479. if(array.GetSize ()==0)
  480. {
  481. AfxMessageBox("此单未导片!", MB_ICONINFORMATION);
  482. return;
  483. }
  484. ImportPhoto dlg;
  485. dlg.m_mode =1;
  486. dlg.m_pArray=&array;
  487. dlg.m_pDesArray=&desarray;
  488. dlg.m_savepath =dir;
  489. dlg.DoModal (); AfxMessageBox("导片成功!", MB_ICONINFORMATION);
  490. }
  491. void outsourcing::OnBUTmodify()
  492. {
  493. // TODO: Add your control notification handler code here
  494. POSITION pos;
  495. pos=m_List1.GetFirstSelectedItemPosition();
  496. if(pos==NULL)
  497. {
  498. return;
  499. }
  500. int iItem=m_List1.GetNextSelectedItem(pos);
  501. CString id=m_List1.GetItemText (iItem, 0);
  502. while(id=="")
  503. {
  504. iItem--;
  505. id=m_List1.GetItemText (iItem, 0);
  506. }
  507. outsourcingDlg dlg;
  508. dlg.m_id =id;
  509. dlg.m_name1 =m_List1.GetItemText (iItem, 1);
  510. dlg.m_name2 =m_List1.GetItemText (iItem, 2);
  511. if(dlg.DoModal ()!=IDOK)return;
  512. for(int i=0; i<m_List1array.GetSize (); i++)
  513. {
  514. if(id==m_List1array.ElementAt (i).ElementAt (0))
  515. {
  516. iItem=i;
  517. break;
  518. }
  519. }
  520. int pos2;
  521. CString name;
  522. while(id==m_List1array.ElementAt (iItem).ElementAt (0) || m_List1array.ElementAt (iItem).ElementAt (0).IsEmpty ())
  523. {
  524. name=m_List1array.ElementAt (iItem).ElementAt (7);
  525. for(int i=0; i<dlg.m_sparray.GetSize (); i++)
  526. {
  527. if(name==dlg.m_sparray.ElementAt (i).ElementAt (0))
  528. {
  529. pos2=i;
  530. break;
  531. }
  532. }
  533. m_List1array.ElementAt (iItem).SetAt (8, dlg.m_sparray .ElementAt (pos2).ElementAt(2));
  534. m_List1array.ElementAt (iItem).SetAt (9, dlg.m_sparray .ElementAt (pos2).ElementAt(3));
  535. m_List1array.ElementAt (iItem).SetAt (10, dlg.m_sparray .ElementAt (pos2).ElementAt(4));
  536. m_List1array.ElementAt (iItem).SetAt (11, dlg.m_sparray .ElementAt (pos2).ElementAt(5));
  537. iItem++;
  538. if(iItem>=m_List1array.GetSize ())break;
  539. }
  540. FillGrid();
  541. }
  542. void outsourcing::OnBUTmodify2()
  543. {
  544. // TODO: Add your control notification handler code here
  545. if(IsHasRights2new(14)==0)return;
  546. // TODO: Add your control notification handler code here
  547. POSITION pos;
  548. pos=m_List1.GetFirstSelectedItemPosition();
  549. if(pos==NULL)
  550. {
  551. return;
  552. }
  553. int iItem=m_List1.GetNextSelectedItem(pos);
  554. CString id=m_List1.GetItemText (iItem, 0);
  555. while(id=="")
  556. {
  557. iItem--;
  558. id=m_List1.GetItemText (iItem, 0);
  559. }
  560. outsourcingDlg2 dlg;
  561. dlg.m_id =id;
  562. dlg.m_name1 =m_List1.GetItemText (iItem, 1);
  563. dlg.m_name2 =m_List1.GetItemText (iItem, 2);
  564. if(dlg.DoModal ()!=IDOK)return;
  565. }
  566. void outsourcing::OnRdblclkList2(NMHDR* pNMHDR, LRESULT* pResult)
  567. {
  568. // TODO: Add your control notification handler code here
  569. OnBUTmodify2();
  570. *pResult = 0;
  571. }
  572. void outsourcing::OnBUTToPhotoPrint()
  573. {
  574. // TODO: Add your control notification handler code here
  575. g_pMainWnd->ToPhotoPrint() ;
  576. }
  577. void outsourcing::OnBUTburncd()
  578. {
  579. // TODO: Add your control notification handler code here
  580. }