触发器dlg.h

来自「数字电路学习:触发器原理演示」· C头文件 代码 · 共 53 行

H
53
字号
// 触发器Dlg.h : 头文件
//

#pragma once


// CMyDlg 对话框
class CMyDlg : public CDialog
{
// 构造
public:
	int intJ, intK, intCP, intQN, int intQN_1;
	int intGates[10];//门的输出信号,可以计算出

	bool trigging;
	bool pause;
	int step;
	
	UINT_PTR m_nTimer;

	CBitmap res[3];

	void DrawJRect( CDC * );
	void DrawKRect(  CDC *);
	void DrawCPRect(  CDC * );
	void DrawQRect(  CDC *);
	void DrawOthersRect( CDC * );


	CMyDlg(CWnd* pParent = NULL);	// 标准构造函数

// 对话框数据
	enum { IDD = IDD_MY_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV 支持


// 实现
protected:
	HICON m_hIcon;

	// 生成的消息映射函数
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnTimer( UINT );
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?