_str ());. m_ch_answer2. SetWindowTextA (readStringFromFile (file). C_str ());. m_ch_answer3. SetWindowTextA (readStringFromFile (file). C_str ());. m_ch_answer4. SetWindowTextA (readStringFromFile (file). C_str ());. UpdateData (false);; 3: (! Test. M_ch_answer2. GetCheck () | |! Test. M_ch_answer3. GetCheck ())
{= false;
} + +;. m_question = readStringFromFile (file). c_str ();. m_ch_answer1. SetWindowTextA (readStringFromFile (file). C_str ());. m_ch_answer2. SetWindowTextA (readStringFromFile (file). C_str ());. m_ch_answer3. SetWindowTextA (readStringFromFile (file). C_str ());. m_ch_answer4. SetWindowTextA (readStringFromFile (file). C_str ());. UpdateData (false);; 4: (! Test. M_ch_answer2. GetCheck () | |! Test. M_ch_answer4. GetCheck ())
{= false;
} + +;. m_ch_answer1. ShowWindow (SW_HIDE);. m_ch_answer2. ShowWindow (SW_HIDE);. m_ch_answer3. ShowWindow (SW_HIDE);. m_ch_answer4. ShowWindow (SW_HIDE);. m_edit1. ShowWindow (SW_SHOW);. m_edit2. ShowWindow (SW_SHOW);. m_edit3. ShowWindow (SW_SHOW);. m_stat1. ShowWindow (SW_SHOW);. m_stat2. ShowWindow (SW_SHOW);. m_stat3. ShowWindow (SW_SHOW);. m_stat4. ShowWindow (SW_SHOW);. m_stat5. ShowWindow (SW_SHOW);. m_stat6. ShowWindow (SW_SHOW);. m_question = readStringFromFile (file). c_str ();. m_stat1. SetWindowTextA (readStringFromFile (file). C_str ());. m_stat2. SetWindowTextA (readStringFromFile (file). C_str ());. m_stat3. SetWindowTextA (readStringFromFile (file). C_str ());. m_stat4. SetWindowTextA (readStringFromFile (file). C_str ());. m_stat5. SetWindowTextA (readStringFromFile (file). C_str ());. m_stat6. SetWindowTextA (readStringFromFile (file). C_str ());. UpdateData (false);; 5: (test. m_edit1_value! = 3 | | test. M_edit2_value! = 1 | | test. M_edit3_value! = 2)
{= false;
} (flag == true)
{. ShowWindow (SW_HIDE); _button2. ShowWindow (SW_HIDE); rect; _browser. GetWindowRect (& rect); _browser. Navigate (_T ("file:// localhost/D:/Studio/project/Course/Course/2.html"), 0,0,0,0); _browser. SetWindowPos (0,10,10,857,470, SWP_SHOWWINDOW);
:: ShowWindow (m_browser. GetSafeHwnd (), SW_SHOW); _button3. ShowWindow (SW_SHOW); _edit. ShowWindow (SW_SHOW); _static. ShowWindow (SW_SHOW);
}
{("Ви не пройшли тест!"); ();
};
}. close ();
} CCourseDlg :: OnBnClickedButton3 ()
{(true); (m_edit_value == "25")
{("Відповідь правильний!"); ();
} ("Неправильно!");
}