ServiceManageEditDlg.cpp
资源名称:Visualhk.rar [点击查看]
上传用户:cjw5120
上传日期:2022-05-11
资源大小:5032k
文件大小:2k
源码类别:
网络截获/分析
开发平台:
Visual C++
- // ServiceManageEditDlg.cpp : implementation file
- //
- #include "stdafx.h"
- #include "MyClient.h"
- #include "ServiceManageEditDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /*
- 作者:海啸 lyyer English Name: Jack
- blog:http://lyyer.blog.sohu.com
- website:http://www.cnGSG.com
- 海啸网络安全组织
- */
- /////////////////////////////////////////////////////////////////////////////
- // CServiceManageEditDlg dialog
- CServiceManageEditDlg::CServiceManageEditDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CServiceManageEditDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CServiceManageEditDlg)
- //}}AFX_DATA_INIT
- }
- void CServiceManageEditDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CServiceManageEditDlg)
- DDX_Control(pDX, IDC_COMBO2, m_combox_autoload);
- DDX_Control(pDX, IDC_COMBO1, m_combox_state);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CServiceManageEditDlg, CDialog)
- //{{AFX_MSG_MAP(CServiceManageEditDlg)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CServiceManageEditDlg message handlers
- BOOL CServiceManageEditDlg::OnInitDialog()
- {
- CDialog::OnInitDialog();
- SetDlgItemText(IDC_STATIC_NAME,ServiceName);
- SetDlgItemText(IDC_STATIC_STATE,ServiceState);
- SetDlgItemText(IDC_STATIC_STARTTYPE,ServiceStartType);
- /*
- m_combox_state.AddString("启动");
- m_combox_state.AddString("停用");
- m_combox_autoload.AddString("自动");
- m_combox_autoload.AddString("手动");
- m_combox_autoload.AddString("停用");
- */
- return TRUE;
- }
- //DEL void CServiceManageEditDlg::OnDblclkCombo1()
- //DEL {
- //DEL // TODO: Add your control notification handler code here
- //DEL CString m_state;
- //DEL m_combox_state.GetLBText(m_combox_state.GetCurSel(),m_state);
- //DEL
- //DEL }