Курсовая работа: Многоголовочная машина Тьюринга
m_text = _T(«»);
otvet = _T(«»);
q = 0;
// }} AFX_DATA_INIT
// Note that LoadIcon does not require a subsequent DestroyIcon in Win32
m_hIcon = AfxGetApp()->LoadIcon (IDR_MAINFRAME);
}
void CMy17_TuringDlg: DoDataExchange (CDataExchange* pDX)
{
CDialog: DoDataExchange(pDX);
// {{AFX_DATA_MAP (CMy17_TuringDlg)
DDX_Control (pDX, IDC_EDIT3, q1);
DDX_Control (pDX, IDC_RADIO1, mor);
DDX_Text (pDX, IDC_EDIT1, m_text);
DDX_Text (pDX, IDC_EDIT2, otvet);
DDX_Text (pDX, IDC_EDIT3, q);
// }} AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP (CMy17_TuringDlg, CDialog)
// {{AFX_MSG_MAP (CMy17_TuringDlg)
ON_WM_SYSCOMMAND()
ON_WM_PAINT()
ON_WM_QUERYDRAGICON()
ON_BN_CLICKED (IDC_BUTTON1, OnButton1)
ON_BN_CLICKED (IDC_RADIO1, OnRadio1)
ON_BN_CLICKED (IDC_RADIO2, OnRadio2)
ON_BN_CLICKED (IDC_RADIO3, OnRadio3)
ON_BN_CLICKED (IDC_BUTTON3, OnFileClose)
//ON_BN_CLICKED (IDC_BUTTON4, OnButton4)