#if !defined(AFX_SHOWOPTDLG_H__022D1E2F_06E9_4B16_AFBF_52B1C4A539C3__INCLUDED_)
#define AFX_SHOWOPTDLG_H__022D1E2F_06E9_4B16_AFBF_52B1C4A539C3__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CShowOptDlg dialog
#include "Resource.h"
#include "apl_gui.h"
#include "afxwin.h"

class CShowOptDlg : public CaplTranslateDialog
{
// Construction
public:
	DWORD cur_data;
	void HideAll();
	CShowOptDlg(CWnd* pParent = NULL);   // standard constructor

	BOOL	m_show_bpinst_id;
	BOOL	m_show_bpinst_name;
	BOOL	m_show_bpinst_date;

	BOOL	m_show_bpres_id;
	BOOL	m_show_bpres_type;
	BOOL	m_show_bpres_object;
	BOOL	m_show_bpres_amount;
	BOOL	m_show_org_struct;

	BOOL	m_show_classificators;

	BOOL	m_prd_id;
	BOOL	m_prd_name;
	BOOL	m_prd_count;
	BOOL	m_prd_position;
	BOOL	m_prd_code;
	BOOL	m_pdf_code;
	BOOL	m_pdf_code1;
	BOOL	m_pdf_code2;
	
	BOOL	m_appr_pers;
	BOOL	m_appr_status;
	BOOL	m_appr_date;
	BOOL	m_appr_time;
	BOOL	m_appr_pers_role;
	
	BOOL	m_charact_value;
	BOOL	m_charact_name;
	BOOL	m_charact_id;
	BOOL	m_charact_unit;
	BOOL	m_charact_scope;

	BOOL	m_show_charactId_or_name;

	BOOL	m_doc_id;
	BOOL	m_doc_show_add_code_document_type;
	BOOL	m_doc_name;
	BOOL	m_doc_ver;

	BOOL	m_org_id;
	BOOL	m_org_name;

	BOOL	m_categ_id;
	BOOL	m_categ_name;

	BOOL	m_doc_type;
	BOOL	m_doc_editing_user;
	BOOL	m_doc_show_addional_code;
	BOOL	m_doc_show_date;
	BOOL	m_doc_show_inv_num;
	BOOL	m_doc_show_recipient;

	BOOL	m_task_cancel;
	BOOL	m_task_complete;
	BOOL	m_task_suspend;

	BOOL	m_BPType;
	BOOL	m_BPId;
	BOOL	m_BPName;
	BOOL	m_BPDescr;
	BOOL	m_BPNum;

	BOOL	m_show_project_id;
	BOOL	m_show_project_num_zak;
	BOOL	m_show_project_name;
	BOOL	m_show_project_type;
	BOOL	m_show_project_state;
	BOOL	m_show_project_number;

	BOOL	m_show_refusal_doc_type;
	BOOL	m_show_refusal_doc_id;
	BOOL	m_show_refusal_doc_date;
	BOOL	m_show_refusal_state;
	BOOL	m_show_refusal_type;
	BOOL	m_show_refusal_descr;
	BOOL	m_show_refusal_stage;
	BOOL	m_show_refusal_planer;
	BOOL	m_show_refusal_item;

	BOOL	m_PrdInstId;
	BOOL	m_PrdInstSN;
	BOOL	m_PrdInstPrd;

	BOOL	m_PersonFullInitials;
	BOOL	m_PersonId;

	//Classifier
	BOOL	m_show_classifier_system_id;
	BOOL	m_show_classifier_system_name;
	
	BOOL	m_show_classifier_level_id;
	BOOL	m_show_classifier_level_name;
	BOOL	m_show_classifier_level_level;

	BOOL	m_show_task_id;
	BOOL	m_show_task_name;
	BOOL	m_show_task_process_id;
	BOOL	m_show_task_process_name;

	BOOL	m_show_process_id;
	BOOL	m_show_process_name;

// Dialog Data
	//{{AFX_DATA(CShowOptDlg)
	enum { IDD = IDD_SETUP_SHOW };
	CListBox	List;
	CButton	m_Check8;
	CButton	m_Check7;
	CButton	m_Check6;
	CButton	m_Check5;
	CButton	m_Check4;
	CButton	m_Check3;
	CButton	m_Check2;
	CButton	m_Check1;
	CaplButton	m_ok_btn;
	CaplButton	m_cancel_btn;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CShowOptDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnSelchangeList();
	afx_msg void OnCheck1();
	afx_msg void OnCheck2();
	afx_msg void OnCheck3();
	afx_msg void OnCheck4();
	afx_msg void OnCheck5();
	afx_msg void OnCheck6();
	afx_msg void OnCheck7();
	afx_msg void OnCheck8();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	CButton m_Check9;
	CButton m_Check10;
};

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

#endif // !defined(AFX_SHOWOPTDLG_H__022D1E2F_06E9_4B16_AFBF_52B1C4A539C3__INCLUDED_)
