1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #include "stdafx.h"
- #include "LYFZIPManage.h"
- #include "SelProvider.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- SelProvider::SelProvider(CWnd* pParent )
- : CDialog(SelProvider::IDD, pParent)
- {
-
-
-
- }
- void SelProvider::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
-
- DDX_Control(pDX, IDC_COMBOprovider, m_comboprovider);
-
- }
- BEGIN_MESSAGE_MAP(SelProvider, CDialog)
-
-
- END_MESSAGE_MAP()
- BOOL SelProvider::OnInitDialog()
- {
- CDialog::OnInitDialog();
-
-
- for(int i=0; i<g_List1array.GetSize (); i++)
- m_comboprovider.AddString ("ÒÑ·¢"+g_List1array.ElementAt (i).ElementAt (1));
- return TRUE;
-
- }
- void SelProvider::OnOK()
- {
-
- int pos=m_comboprovider.GetCurSel ();
- if(pos==-1)return;
- m_comboprovider.GetLBText (pos, m_provider);
- CDialog::OnOK();
- }
|