#if !defined(AFX_DLGACCESSPATTERNPROP_H__F814E662_DB34_4A5A_90D7_5DA4917C36B2__INCLUDED_)
#define AFX_DLGACCESSPATTERNPROP_H__F814E662_DB34_4A5A_90D7_5DA4917C36B2__INCLUDED_

#include <apl_gui.h>
#include "aplNetStepData.h"
#include "afxwin.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgAccessPatternProp.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgAccessPatternProp dialog

class CDlgAccessPatternProp : public CaplResizableDialog
{
// Construction
public:
	CDlgAccessPatternProp(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgAccessPatternProp)
	enum { IDD = IDD_DLG_ACCESS_PATTERN_PROP };
	CEdit	m_EdtName;
	CButton	m_ButCreatePattern;
	CString	m_Name;
	CString	m_Definition;
	CaplButton	m_BtnCancel;
	CaplButton	m_BtnOk;
	//}}AFX_DATA

	CaplNetStepData *m_data;
	CString m_pattern;
	CaplInstance* m_inst;

	bool m_ro;
	bool m_is_temp_users;
	bool m_show_base_patterns;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgAccessPatternProp)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// предотвращаем потерю модальности после диалога с бочками из aplSocketTransport
	CaplParentWndProcesser m_pwp;

	// Generated message map functions
	//{{AFX_MSG(CDlgAccessPatternProp)
	afx_msg void OnCreatePattern();
	afx_msg void OnShowPatternUsed();
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	CButton m_BtnPatternUsed;
	CEdit m_EditPatternDef;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGACCESSPATTERNPROP_H__F814E662_DB34_4A5A_90D7_5DA4917C36B2__INCLUDED_)
