// AppendOverwriteCancel.cpp : implementation file
//

#include "stdafx.h"
#include "DAS.h"
#include "AppendOverwriteCancel.h"
#include "afxdialogex.h"



// CAppendOverwriteCancel dialog

IMPLEMENT_DYNAMIC(CAppendOverwriteCancel, CDialogEx)

CAppendOverwriteCancel::CAppendOverwriteCancel(CWnd* pParent /*=NULL*/)
	: CDialogEx(CAppendOverwriteCancel::IDD, pParent)
{

}

CAppendOverwriteCancel::~CAppendOverwriteCancel()
{
}

void CAppendOverwriteCancel::DoDataExchange(CDataExchange* pDX)
{
	CDialogEx::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(CAppendOverwriteCancel, CDialogEx)
	ON_BN_CLICKED(IDC_APPEND, &CAppendOverwriteCancel::OnBnClickedAppend)
	ON_BN_CLICKED(IDC_OVERWRITE, &CAppendOverwriteCancel::OnBnClickedOverwrite)
END_MESSAGE_MAP()


// CAppendOverwriteCancel message handlers


#include "VarDefinitions_SIG.h"
void CAppendOverwriteCancel::OnBnClickedAppend()
{
	m_Choice=APPEND_FILE;
	CDialog::OnOK();
}


void CAppendOverwriteCancel::OnBnClickedOverwrite()
{
	m_Choice=OVERWRITE_FILE;
	CDialog::OnOK();
}
