📄 random_variable_generationdlg.h
字号:
// Random_Variable_GenerationDlg.h : header file
//2003.11.7
//修改于2003.11.9
#define MAX_NUMBER 10000
#define DRAW_DOT_NUMBER 100
#if !defined(AFX_RANDOM_VARIABLE_GENERATIONDLG_H__D6BCF348_83FA_420B_AB7C_D52DE6ABEBE4__INCLUDED_)
#define AFX_RANDOM_VARIABLE_GENERATIONDLG_H__D6BCF348_83FA_420B_AB7C_D52DE6ABEBE4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CRandom_Variable_GenerationDlg dialog
class CRandom_Variable_GenerationDlg : public CDialog
{
// Construction
public:
CRandom_Variable_GenerationDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRandom_Variable_GenerationDlg)
enum { IDD = IDD_RANDOM_VARIABLE_GENERATION_DIALOG };
CComboBox m_comboBox;
int m_Number;
//}}AFX_DATA
//**********************************
public:
int Cursel_type; //添加于11.9,2003
float pf[MAX_NUMBER]; //随机变量存储数组
float draw_array[DRAW_DOT_NUMBER]; //画线数组
float the_mean; //随机变量的均值
float the_variance; //随机变量的方差
int draw_interval; //绘图间隔
//***********************************
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRandom_Variable_GenerationDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CRandom_Variable_GenerationDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnExport();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RANDOM_VARIABLE_GENERATIONDLG_H__D6BCF348_83FA_420B_AB7C_D52DE6ABEBE4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -