-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed commit: [a94a7f8] Update readme.md [77aaf0d] no message (+1 squashed commits) Squashed commits: [14331d2] no message (+1 squashed commits) Squashed commits: [77640d7] no message (+6 squashed commit)
- Loading branch information
Showing
17 changed files
with
168 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// mount.cpp : implementation file | ||
// | ||
|
||
#include "stdafx.h" | ||
#include "tool3.h" | ||
#include "mount.h" | ||
#include "afxdialogex.h" | ||
|
||
|
||
// mount dialog | ||
|
||
IMPLEMENT_DYNAMIC(mount, CDialogEx) | ||
|
||
mount::mount(CWnd* pParent /*=NULL*/) | ||
: CDialogEx(mount::IDD, pParent) | ||
{ | ||
m_nonce = 0; | ||
m_ut = 0; | ||
m_nb = 0; | ||
m_timestamp = _T(""); | ||
m_pubkey = _T(""); | ||
} | ||
|
||
mount::~mount() | ||
{ | ||
} | ||
|
||
void mount::OnFinalRelease() | ||
{ | ||
// When the last reference for an automation object is released | ||
// OnFinalRelease is called. The base class will automatically | ||
// deletes the object. Add additional cleanup required for your | ||
// object before calling the base class. | ||
|
||
CDialogEx::OnFinalRelease(); | ||
} | ||
|
||
void mount::DoDataExchange(CDataExchange* pDX) | ||
{ | ||
CDialogEx::DoDataExchange(pDX); | ||
DDX_Text(pDX, IDC_EDIT5, m_nonce); | ||
DDX_Text(pDX, IDC_EDIT4, m_ut); | ||
DDX_Text(pDX, IDC_EDIT3, m_nb); | ||
DDX_Text(pDX, IDC_EDIT2, m_timestamp); | ||
DDV_MaxChars(pDX, m_timestamp, 254); | ||
DDX_Text(pDX, IDC_EDIT1, m_pubkey); | ||
DDV_MaxChars(pDX, m_pubkey, 130); | ||
} | ||
|
||
BEGIN_MESSAGE_MAP(mount, CDialogEx) | ||
ON_BN_CLICKED(IDC_BUTTON1, &mount::OnBnClickedButton1) | ||
END_MESSAGE_MAP() | ||
|
||
// mount message handlers | ||
|
||
void mount::OnBnClickedButton1() | ||
{ | ||
this->OnOK(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#pragma once | ||
|
||
|
||
// mount dialog | ||
|
||
class mount : public CDialogEx | ||
{ | ||
DECLARE_DYNAMIC(mount) | ||
|
||
public: | ||
mount(CWnd* pParent = NULL); // standard constructor | ||
virtual ~mount(); | ||
|
||
virtual void OnFinalRelease(); | ||
|
||
// Dialog Data | ||
enum { IDD = IDD_DIALOGBAR }; | ||
|
||
protected: | ||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support | ||
|
||
DECLARE_MESSAGE_MAP() | ||
public: | ||
UINT m_nonce; | ||
afx_msg void OnBnClickedButton1(); | ||
UINT m_ut; | ||
UINT m_nb; | ||
CString m_timestamp; | ||
CString m_pubkey; | ||
}; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.