📄 genpadslibdlg.h
字号:
// GenPadsLibDlg.h : header file
//
#if !defined(AFX_GENPADSLIBDLG_H__82074C5E_4CA9_4522_9725_02BAEE401B1F__INCLUDED_)
#define AFX_GENPADSLIBDLG_H__82074C5E_4CA9_4522_9725_02BAEE401B1F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CGenPadsLibDlg dialog
class CGenPadsLibDlg : public CDialog
{
// Construction
public:
CGenPadsLibDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CGenPadsLibDlg)
enum { IDD = IDD_GENPADSLIB_DIALOG };
CButton m_C_remove;
CButton m_C_insert;
CButton m_C_EDIT;
CListBox m_C_listGate;
CEdit m_C_alphaNumeric;
CString m_partName;
CString m_pcbDecal;
UINT m_numPins;
CString m_alphaNumeric;
CString m_gateName;
UINT m_numSignals;
CString m_unit;
CString m_fileName;
UINT m_gatePins;
CString m_log;
UINT m_numGatePins;
int m_flag;
CString m_logicType;
BOOL m_chkAlpha;
//}}AFX_DATA
void CGenPadsLibDlg::GateOperation(char flag); //flag=a or A:Add ; e/E:Edit ;
LRESULT CGenPadsLibDlg::WriteFile(struct _PARTDEF* pPart,CString fileName);
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGenPadsLibDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CGenPadsLibDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnGen();
afx_msg void OnOpenfile();
afx_msg void OnCheckAlph();
afx_msg void OnButtonAdd();
afx_msg void OnAdd();
afx_msg void OnSelchangeListGate();
afx_msg void OnRemove();
afx_msg void OnInsert();
afx_msg void OnEdit();
afx_msg void OnChangeENumpins();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GENPADSLIBDLG_H__82074C5E_4CA9_4522_9725_02BAEE401B1F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -