?? dlgsksinfo.h
字號:
#if !defined(AFX_DLGSKSINFO_H__A2643D83_3467_493D_9597_74D18F318044__INCLUDED_)
#define AFX_DLGSKSINFO_H__A2643D83_3467_493D_9597_74D18F318044__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgSKSinfo.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgSKSinfo dialog
class CDlgSKSinfo : public CDialog
{
// Construction
public:
CDlgSKSinfo(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgSKSinfo)
enum { IDD = IDD_DIALOG_SKSINFO };
CString m_Delay;
CString m_Direction;
//}}AFX_DATA
void SetDelay(double delay) {
char cc[256];
memset(cc,0,256);
sprintf(cc, "%f",delay);
SetDlgItemText( IDC_STATICdelay, cc );
}
void SetDelay_err(double delay_err) {
char cc[256];
memset(cc,0,256);
sprintf(cc, "%f",delay_err);
SetDlgItemText( IDC_STATICdelay_err, cc );
}
void SetDirection( double direction ) {
char cc[256];
memset(cc,0,256);
sprintf(cc, "%f",direction);
SetDlgItemText( IDC_STATICdirection, cc );
}
void SetDir_err( double dir_err ) {
char cc[256];
memset(cc,0,256);
sprintf(cc, "%f",dir_err);
SetDlgItemText( IDC_STATICdir_err, cc );
}
void SetCorrelation( double correlation ) {
char cc[256];
memset(cc,0,256);
sprintf(cc, "%f",correlation);
SetDlgItemText( IDC_STATICcorrelation, cc );
}
void SetAzimuth( double azimuth ) {
char cc[256];
memset(cc,0,256);
sprintf(cc, "%f",azimuth);
SetDlgItemText( IDC_STATICazimuth, cc );
}
void SetStationLoc( double lat, double lon ) {
char cc[256];
memset(cc,0,256);
sprintf(cc, "%5.2f,%6.2f", lat, lon);
SetDlgItemText( IDC_STATICstationcoor, cc );
}
void SetEventLoc( double lat, double lon ) {
char cc[256];
memset(cc,0,256);
sprintf(cc, "%5.2f,%6.2f", lat, lon);
SetDlgItemText( IDC_STATICeventcoor, cc );
}
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgSKSinfo)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgSKSinfo)
// NOTE: the ClassWizard will add member functions here
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGSKSINFO_H__A2643D83_3467_493D_9597_74D18F318044__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -