-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from xiaoweihan/master
合并代码
- Loading branch information
Showing
12 changed files
with
238 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
// DlgAddColumn.cpp : 实现文件 | ||
// | ||
|
||
#include "stdafx.h" | ||
#include "Edislab Pro.h" | ||
#include "DlgAddColumn.h" | ||
// CDlgAddColumn 对话框 | ||
|
||
IMPLEMENT_DYNAMIC(CDlgAddColumn, CBaseDialog) | ||
|
||
CDlgAddColumn::CDlgAddColumn(CWnd* pParent /*=NULL*/) | ||
: CBaseDialog(CDlgAddColumn::IDD, pParent) | ||
{ | ||
|
||
} | ||
|
||
CDlgAddColumn::~CDlgAddColumn() | ||
{ | ||
} | ||
|
||
void CDlgAddColumn::DoDataExchange(CDataExchange* pDX) | ||
{ | ||
CBaseDialog::DoDataExchange(pDX); | ||
} | ||
|
||
|
||
BEGIN_MESSAGE_MAP(CDlgAddColumn, CBaseDialog) | ||
END_MESSAGE_MAP() | ||
|
||
|
||
// CDlgAddColumn 消息处理程序 | ||
|
||
|
||
BOOL CDlgAddColumn::OnInitDialog() | ||
{ | ||
CBaseDialog::OnInitDialog(); | ||
|
||
// TODO: 在此添加额外的初始化 | ||
|
||
InitDisplay(); | ||
|
||
return TRUE; // return TRUE unless you set the focus to a control | ||
// 异常: OCX 属性页应返回 FALSE | ||
} | ||
|
||
void CDlgAddColumn::InitDisplay( void ) | ||
{ | ||
CWnd* pWnd = GetDlgItem(IDC_TAB_POS); | ||
if (nullptr != pWnd && NULL != pWnd->GetSafeHwnd()) | ||
{ | ||
pWnd->ShowWindow(SW_HIDE); | ||
//获取位置 | ||
CRect rc; | ||
pWnd->GetWindowRect(&rc); | ||
ScreenToClient(&rc); | ||
if (NULL == m_TabWnd) | ||
{ | ||
if (FALSE == m_TabWnd.Create(CBCGPTabWnd::STYLE_3D,rc,this,CBaseTabWnd::s_nTabBaseID++ | ||
,CBCGPBaseTabWnd::LOCATION_TOP)) | ||
{ | ||
return; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#pragma once | ||
|
||
|
||
// CDlgAddColumn 对话框 | ||
#include "BaseDialog.h" | ||
#include "ConcreteTabWnd.h" | ||
class CDlgAddColumn : public CBaseDialog | ||
{ | ||
DECLARE_DYNAMIC(CDlgAddColumn) | ||
|
||
public: | ||
CDlgAddColumn(CWnd* pParent = NULL); // 标准构造函数 | ||
virtual ~CDlgAddColumn(); | ||
|
||
// 对话框数据 | ||
enum { IDD = IDD_DLG_ADD_COLUMN }; | ||
|
||
protected: | ||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 | ||
|
||
DECLARE_MESSAGE_MAP() | ||
public: | ||
virtual BOOL OnInitDialog(); | ||
|
||
|
||
private: | ||
void InitDisplay(void); | ||
|
||
private: | ||
//Tab空间 | ||
CConcreteTabWnd m_TabWnd; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// DlgColumnCommon.cpp : 实现文件 | ||
// | ||
|
||
#include "stdafx.h" | ||
#include "Edislab Pro.h" | ||
#include "DlgColumnCommon.h" | ||
|
||
|
||
|
||
// CDlgColumnCommon 对话框 | ||
|
||
IMPLEMENT_DYNAMIC(CDlgColumnCommon, CBaseDialog) | ||
|
||
CDlgColumnCommon::CDlgColumnCommon(CWnd* pParent /*=NULL*/) | ||
: CBaseDialog(CDlgColumnCommon::IDD, pParent) | ||
{ | ||
|
||
} | ||
|
||
CDlgColumnCommon::~CDlgColumnCommon() | ||
{ | ||
} | ||
|
||
void CDlgColumnCommon::DoDataExchange(CDataExchange* pDX) | ||
{ | ||
CBaseDialog::DoDataExchange(pDX); | ||
} | ||
|
||
|
||
BEGIN_MESSAGE_MAP(CDlgColumnCommon, CDialog) | ||
END_MESSAGE_MAP() | ||
|
||
|
||
// CDlgColumnCommon 消息处理程序 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#pragma once | ||
|
||
|
||
// CDlgColumnCommon 对话框 | ||
#include "BaseDialog.h" | ||
class CDlgColumnCommon : public CBaseDialog | ||
{ | ||
DECLARE_DYNAMIC(CDlgColumnCommon) | ||
|
||
public: | ||
CDlgColumnCommon(CWnd* pParent = NULL); // 标准构造函数 | ||
virtual ~CDlgColumnCommon(); | ||
|
||
// 对话框数据 | ||
enum { IDD = IDD_DLG_COLUMN_COMMON }; | ||
|
||
protected: | ||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 | ||
|
||
DECLARE_MESSAGE_MAP() | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// DlgColumnDisplay.cpp : 实现文件 | ||
// | ||
|
||
#include "stdafx.h" | ||
#include "Edislab Pro.h" | ||
#include "DlgColumnDisplay.h" | ||
|
||
|
||
|
||
// CDlgColumnDisplay 对话框 | ||
|
||
IMPLEMENT_DYNAMIC(CDlgColumnDisplay, CBaseDialog) | ||
|
||
CDlgColumnDisplay::CDlgColumnDisplay(CWnd* pParent /*=NULL*/) | ||
: CBaseDialog(CDlgColumnDisplay::IDD, pParent) | ||
{ | ||
|
||
} | ||
|
||
CDlgColumnDisplay::~CDlgColumnDisplay() | ||
{ | ||
} | ||
|
||
void CDlgColumnDisplay::DoDataExchange(CDataExchange* pDX) | ||
{ | ||
CBaseDialog::DoDataExchange(pDX); | ||
} | ||
|
||
|
||
BEGIN_MESSAGE_MAP(CDlgColumnDisplay, CDialog) | ||
END_MESSAGE_MAP() | ||
|
||
|
||
// CDlgColumnDisplay 消息处理程序 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#pragma once | ||
|
||
|
||
// CDlgColumnDisplay 对话框 | ||
#include "BaseDialog.h" | ||
class CDlgColumnDisplay : public CBaseDialog | ||
{ | ||
DECLARE_DYNAMIC(CDlgColumnDisplay) | ||
|
||
public: | ||
CDlgColumnDisplay(CWnd* pParent = NULL); // 标准构造函数 | ||
virtual ~CDlgColumnDisplay(); | ||
|
||
// 对话框数据 | ||
enum { IDD = IDD_DLG_COLUMN_DISPLAY }; | ||
|
||
protected: | ||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 | ||
|
||
DECLARE_MESSAGE_MAP() | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.