?? program2dlg.h
字號(hào):
#include "msflexgrid.h"
#include "WBButton.h"
#include "Matrix.h"
#include "AFXDB.H"
#include "ODBCINST.H"
#include "float.h"//運(yùn)用atof
#include "Afxdlgs.h"//控制打開(kāi)保存對(duì)話(huà)框
//#include "CSpreadSheet.h"//控制Excel數(shù)據(jù)讀寫(xiě)
#include "ResultDlg.h"
#include "Factor.h"
#include "MainFactor.h"
#include "QR_analysis.h"
// Added by ClassView// ProGram2Dlg.h : header file
//
//{{AFX_INCLUDES()
//}}AFX_INCLUDES
#if !defined(AFX_PROGRAM2DLG_H__542051E2_687F_4393_8665_4CCE04724282__INCLUDED_)
#define AFX_PROGRAM2DLG_H__542051E2_687F_4393_8665_4CCE04724282__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CProGram2Dlg dialog
class CProGram2Dlg : public CDialog
{
// Construction
public:
bool IsNumber(CString str);
CProGram2Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CProGram2Dlg)
enum { IDD = IDD_PROGRAM2_DIALOG };
CEdit m_Change;
CMSFlexGrid m_FlexGrid;
int m_MeanRows;///有效列數(shù)
int m_MeanCols;///有效的數(shù)據(jù)行數(shù)
CString m_sChange;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CProGram2Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CProGram2Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnMenu1Exit();
afx_msg void OnClickMsflexgrid1();
afx_msg void OnMenu3About();
afx_msg void OnMenu1Clearn();
afx_msg void OnMenu1New();
afx_msg void OnBuntonRowDown();
afx_msg void OnButtonColDown();
afx_msg void OnButtonColUp();
afx_msg void OnButtonRowUp();
afx_msg void OnMenu3Help();
afx_msg void OnMenu2Main();
afx_msg void OnMENU2ONorIN();
afx_msg void OnMenu2Factors();
afx_msg void OnKillfocusEditChange();
afx_msg void OnMENU1GetIn();
afx_msg void OnMENU1PutOut();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CMatrix ReadDataToMatrix(int Rows,int Cols);
void showMatrix(CMatrix a);
bool m_IsDataHasTabelOnCol;//標(biāo)記數(shù)據(jù)是否有標(biāo)題列
bool m_IsDataHasTabel;//標(biāo)記數(shù)據(jù)是否有標(biāo)題行
int m_lCol;//記錄FlexGrid中最后點(diǎn)擊的列
int m_lRow;//記錄FlexGrid中最后點(diǎn)擊的行
int m_NumCols;//指定FlexGrid控件的行列數(shù)
int m_NumRows;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROGRAM2DLG_H__542051E2_687F_4393_8665_4CCE04724282__INCLUDED_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -