CreateConferenceDlg.cpp
资源名称:视频会议系统.rar [点击查看]
上传用户:popouu88
上传日期:2013-02-11
资源大小:2894k
文件大小:1k
源码类别:
IP电话/视频会议
开发平台:
Visual C++
- // CreateConferenceDlg.cpp : implementation file
- //
- #include "stdafx.h"
- #include "conference.h"
- #include "CreateConferenceDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- extern CConferenceApp theApp;
- /////////////////////////////////////////////////////////////////////////////
- // CCreateConferenceDlg dialog
- CCreateConferenceDlg::CCreateConferenceDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CCreateConferenceDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CCreateConferenceDlg)
- m_name = _T("");
- //}}AFX_DATA_INIT
- }
- void CCreateConferenceDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CCreateConferenceDlg)
- DDX_Text(pDX, IDC_CONFERENCE_EDIT, m_name);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CCreateConferenceDlg, CDialog)
- //{{AFX_MSG_MAP(CCreateConferenceDlg)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CCreateConferenceDlg message handlers
- void CCreateConferenceDlg::OnOK()
- {
- this->UpdateData( );
- if( this->m_name.IsEmpty( ) )
- {
- MessageBox( "清除输入会议名称" , "创建会议" , MB_ICONSTOP | MB_OK ); return ;
- }
- CDialog::OnOK( );
- }