Дипломная работа: Автоматизация процесса контроля знаний учащихся ГОУ СОШ №17

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам
140
if (radioButton1->Name == "radioButton" + ОтветВТаблице)
{
radioButton1->Checked = true;
}
if (radioButton2->Name == "radioButton" + ОтветВТаблице)
{
radioButton2->Checked = true;
}
if (radioButton3->Name == "radioButton" + ОтветВТаблице)
{
radioButton3->Checked = true;
}
if (radioButton4->Name == "radioButton" + ОтветВТаблице)
{
radioButton4->Checked = true;
}
if (radioButton5->Name == "radioButton" + ОтветВТаблице)
{
radioButton5->Checked = true;
}
if (radioButton6->Name == "radioButton" + ОтветВТаблице)
{
radioButton6->Checked = true;
}
141
if (radioButton7->Name == "radioButton" + ОтветВТаблице)
{
radioButton7->Checked = true;
}
if (radioButton8->Name == "radioButton" + ОтветВТаблице)
{
radioButton8->Checked = true;
}
Порядок();
Смеситель();
if (String::Format("{0}", Таблица->Rows[2]->ItemArray[ЛистБоксИндекс])
== "") { return; }
else
{
radioButton1->Visible = true;
radioButton1->Text = String::Format("{0}", Таблица->Rows[2]-
>ItemArray[ЛистБоксИндекс]);
//2
if (String::Format("{0}", Таблица->Rows[3]-
>ItemArray[ЛистБоксИндекс]) == "")
{
return;
}
else
{
142
radioButton2->Visible = true;
radioButton2->Text = String::Format("{0}", Таблица->Rows[3]-
>ItemArray[ЛистБоксИндекс]);
//3
if (String::Format("{0}", Таблица->Rows[4]-
>ItemArray[ЛистБоксИндекс]) == "") { return; }
else
{
radioButton3->Visible = true;
radioButton3->Text = String::Format("{0}", Таблица-
>Rows[4]->ItemArray[ЛистБоксИндекс]);
//4
if (String::Format("{0}", Таблица->Rows[5]-
>ItemArray[ЛистБоксИндекс]) == "")
{
return;
}
else
{
radioButton4->Visible = true;
radioButton4->Text = String::Format("{0}",
Таблица->Rows[5]->ItemArray[ЛистБоксИндекс]);
//5
if (String::Format("{0}", Таблица->Rows[6]-
>ItemArray[ЛистБоксИндекс]) == "") { return; }
143
else
{
radioButton5->Visible = true;
radioButton5->Text = String::Format("{0}",
Таблица->Rows[6]->ItemArray[ЛистБоксИндекс]);
//6
if (String::Format("{0}", Таблица->Rows[7]-
>ItemArray[ЛистБоксИндекс]) == "") {
return;
}
else
{
radioButton6->Visible = true;
radioButton6->Text =
String::Format("{0}", Таблица->Rows[7]->ItemArray[ЛистБоксИндекс]);
//7
if (String::Format("{0}", Таблица-
>Rows[8]->ItemArray[ЛистБоксИндекс]) == "") {
return;
}
else
{
radioButton7->Visible = true;
radioButton7->Text =
String::Format("{0}", Таблица->Rows[8]->ItemArray[ЛистБоксИндекс]);
144
//8
if (String::Format("{0}",
Таблица->Rows[9]->ItemArray[ЛистБоксИндекс]) == "") {
return;
}
else
{
radioButton8->Visible =
true;
radioButton8->Text =
String::Format("{0}", Таблица->Rows[9]->ItemArray[ЛистБоксИндекс]);
}
}
}
}
}
}
}
}
}
public: System::Void timer1_Tick(System::Object^ sender, System::EventArgs^ e)
{
Секунды = Секунды - 1;
//минуты = Секунды / 60;
Источник: https://baza.diplomsite.ru/previewfile/2096