📄 viewschedlg.h
字号:
#if !defined(AFX_VIEWSCHEDLG_H__01060706_243B_43AA_BCF2_198AE97C8BA5__INCLUDED_)
#define AFX_VIEWSCHEDLG_H__01060706_243B_43AA_BCF2_198AE97C8BA5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ViewScheDlg.h : header file
//
#include "DBInterface.h"
#include "Schedule.h"
#include "NI_StreamServer.h"
/////////////////////////////////////////////////////////////////////////////
// CViewScheDlg dialog
class CViewScheDlg : public CDialog
{
// Construction
public:
CViewScheDlg(CWnd* pParent = NULL); // standard constructor
BOOL SetWorkingSche( CSchedule *pSche );
void RefreshPlayList( DWORD nScheID );
void RefreshScheState( DWORD nScheID );
void SetNI_StreamServer( NI_StreamServer *pStreamServer ) {
m_pStreamServer = pStreamServer;
}
CSchedule* GetWorkingSche() { return m_pWorkingSche; }
CDBInterface m_DBInterface;
// Dialog Data
//{{AFX_DATA(CViewScheDlg)
enum { IDD = IDD_SCHE_VIEW_DLG };
CListCtrl m_ctrPlayList;
CString m_strChannel;
CString m_strDesc;
CString m_strStopTime;
CString m_strName;
CString m_strStartTime;
CString m_strPlayState;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CViewScheDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CImageList m_PlayImage;
CSchedule *m_pWorkingSche;
NI_StreamServer *m_pStreamServer;
// Generated message map functions
//{{AFX_MSG(CViewScheDlg)
afx_msg void OnBtnAuto();
afx_msg void OnBtnSwitch();
afx_msg void OnBtnInsert();
afx_msg void OnClickPlayList(NMHDR* pNMHDR, LRESULT* pResult);
virtual BOOL OnInitDialog();
afx_msg void OnBNNameListShow();
afx_msg void OnBNWordListShow();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VIEWSCHEDLG_H__01060706_243B_43AA_BCF2_198AE97C8BA5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -