ВУЗ: Не указан

Категория: Курсовая работа

Дисциплина: Не указана

Добавлен: 02.04.2023

Просмотров: 462

Скачиваний: 1

ВНИМАНИЕ! Если данный файл нарушает Ваши авторские права, то обязательно сообщите нам.

Приложение

Программный код

#pragma once

#include <stdlib.h>

#include <time.h>

#include "About.h"

namespace UMK {

using namespace System;

using namespace System::ComponentModel;

using namespace System::Collections;

using namespace System::Windows::Forms;

using namespace System::Data;

using namespace System::Drawing;

</summary>

public ref class Form1 : public System::Windows::Forms::Form

{

public:

int o,i,k, num;

private: System::Windows::Forms::ToolStripMenuItem^ оПрограммеToolStripMenuItem;

private: System::Windows::Forms::RichTextBox^ richTextBox1;

private: System::Windows::Forms::ToolStripMenuItem^ тест2ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ тест3ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem1;

private: System::Windows::Forms::RichTextBox^ richTextBox2;

private: System::Windows::Forms::Button^ button1;

private: System::Windows::Forms::RadioButton^ radioButton4;

private: System::Windows::Forms::RadioButton^ radioButton3;

private: System::Windows::Forms::RadioButton^ radioButton2;

private: System::Windows::Forms::RadioButton^ radioButton1;

private: System::Windows::Forms::Label^ label1;

private: System::Windows::Forms::Button^ button2;

private: System::Windows::Forms::Button^ button3;

private: System::Windows::Forms::Button^ button4;

private: System::Windows::Forms::Button^ button5;

private: System::Windows::Forms::Button^ button6;

private: System::Windows::Forms::Button^ button7;

private: System::Windows::Forms::Button^ button8;

private: System::Windows::Forms::Button^ button9;

private: System::Windows::Forms::Button^ button10;

private: System::Windows::Forms::GroupBox^ groupBox1;

private: System::Windows::Forms::Button^ button19;

private: System::Windows::Forms::Button^ button18;

private: System::Windows::Forms::Button^ button17;

private: System::Windows::Forms::Button^ button16;

private: System::Windows::Forms::Button^ button25;

private: System::Windows::Forms::Button^ button15;

private: System::Windows::Forms::Button^ button24;

private: System::Windows::Forms::Button^ button14;

private: System::Windows::Forms::Button^ button23;

private: System::Windows::Forms::Button^ button13;

private: System::Windows::Forms::Button^ button22;

private: System::Windows::Forms::Button^ button12;

private: System::Windows::Forms::Button^ button21;

private: System::Windows::Forms::Button^ button11;

private: System::Windows::Forms::Button^ button20;

private: System::Windows::Forms::GroupBox^ groupBox2;

private: System::Windows::Forms::Button^ button28;

private: System::Windows::Forms::Button^ button27;

private: System::Windows::Forms::Button^ button26;

private: System::Windows::Forms::GroupBox^ groupBox3;

public:

private: System::Windows::Forms::ToolStripMenuItem^ выходToolStripMenuItem;

public:

Form1(void)

{

InitializeComponent();

}

protected:

~Form1()

{

if (components)

{

delete components;

}

}

private: System::Windows::Forms::MenuStrip^ menuStrip1;

protected:

private: System::Windows::Forms::ToolStripMenuItem^ теорияToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ основыЯзыкаHtmlToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ структураHtnlToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ контрольToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лекToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лекцияПоJavaScript2ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лекцияПоJavaScript3ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лекцияПоJavaScript4ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лекцияПоJavaScript5ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лекцияПоJavaScript6ToolStripMenuItem;


private: System::Windows::Forms::ToolStripMenuItem^ лекцияПоJavaScript7ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторныеToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота1ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота2ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота3ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота4ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота5ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота6ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота7ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота8ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота9ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота10ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота11ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота12ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота13ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота14ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ лабораторнаяРабота15ToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ тест1ToolStripMenuItem;

private:

System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code

void InitializeComponent(void)

{

this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());

this->toolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->теорияToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->основыЯзыкаHtmlToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->структураHtnlToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лекToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лекцияПоJavaScript2ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лекцияПоJavaScript3ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лекцияПоJavaScript4ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лекцияПоJavaScript5ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лекцияПоJavaScript6ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лекцияПоJavaScript7ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторныеToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота1ToolStripMenuItem=(gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота2ToolStripMenuItem=(gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота3ToolStripMenuItem= (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота4ToolStripMenuItem= (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота5ToolStripMenuItem= (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота6ToolStripMenuItem= (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота7ToolStripMenuItem= (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота8ToolStripMenuItem= (gcnew System::Windows::Forms::ToolStripMenuItem());


this->лабораторнаяРабота9ToolStripMenuItem= (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота10ToolStripMenuIte = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота11ToolStripMenuItem=(gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота12ToolStripMenuItem=(gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота13ToolStripMenuItem=(gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота14ToolStripMenuItem=(gcnew System::Windows::Forms::ToolStripMenuItem());

this->лабораторнаяРабота15ToolStripMenuItem=(gcnew System::Windows::Forms::ToolStripMenuItem());

this->контрольToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->тест1ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->тест2ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->тест3ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->оПрограммеToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->выходToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->richTextBox1 = (gcnew System::Windows::Forms::RichTextBox());

this->richTextBox2 = (gcnew System::Windows::Forms::RichTextBox());

this->button1 = (gcnew System::Windows::Forms::Button());

this->radioButton4 = (gcnew System::Windows::Forms::RadioButton());

this->radioButton3 = (gcnew System::Windows::Forms::RadioButton());

this->radioButton2 = (gcnew System::Windows::Forms::RadioButton());

this->radioButton1 = (gcnew System::Windows::Forms::RadioButton());

this->label1 = (gcnew System::Windows::Forms::Label());

this->button2 = (gcnew System::Windows::Forms::Button());

this->button3 = (gcnew System::Windows::Forms::Button());

this->button4 = (gcnew System::Windows::Forms::Button());

this->button5 = (gcnew System::Windows::Forms::Button());

this->button6 = (gcnew System::Windows::Forms::Button());

this->button7 = (gcnew System::Windows::Forms::Button());

this->button8 = (gcnew System::Windows::Forms::Button());

this->button9 = (gcnew System::Windows::Forms::Button());

this->button10 = (gcnew System::Windows::Forms::Button());

this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());

this->button19 = (gcnew System::Windows::Forms::Button());

this->button18 = (gcnew System::Windows::Forms::Button());

this->button17 = (gcnew System::Windows::Forms::Button());

this->button16 = (gcnew System::Windows::Forms::Button());

this->button25 = (gcnew System::Windows::Forms::Button());

this->button15 = (gcnew System::Windows::Forms::Button());

this->button24 = (gcnew System::Windows::Forms::Button());

this->button14 = (gcnew System::Windows::Forms::Button());

this->button23 = (gcnew System::Windows::Forms::Button());

this->button13 = (gcnew System::Windows::Forms::Button());

this->button22 = (gcnew System::Windows::Forms::Button());

this->button12 = (gcnew System::Windows::Forms::Button());

this->button21 = (gcnew System::Windows::Forms::Button());

this->button11 = (gcnew System::Windows::Forms::Button());

this->button20 = (gcnew System::Windows::Forms::Button());

this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());

this->button28 = (gcnew System::Windows::Forms::Button());

this->button27 = (gcnew System::Windows::Forms::Button());

this->button26 = (gcnew System::Windows::Forms::Button());

this->groupBox3 = (gcnew System::Windows::Forms::GroupBox());

this->menuStrip1->SuspendLayout();

this->groupBox1->SuspendLayout();

this->groupBox2->SuspendLayout();

this->groupBox3->SuspendLayout();

this->SuspendLayout();

this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(6) {this->toolStripMenuItem1,


this->теорияToolStripMenuItem, this->лабораторныеToolStripMenuItem, this->контрольToolStripMenuItem, this->оПрограммеToolStripMenuItem,

this->выходToolStripMenuItem});

this->menuStrip1->Location = System::Drawing::Point(0, 0);

this->menuStrip1->Name = L"menuStrip1";

this->menuStrip1->Size = System::Drawing::Size(775, 24);

this->menuStrip1->TabIndex = 0;

this->menuStrip1->Text = L"menuStrip1";

this->toolStripMenuItem1->Name = L"toolStripMenuItem1";

this->toolStripMenuItem1->Size = System::Drawing::Size(80, 20);

this->toolStripMenuItem1->Text = L"Оглавление";

this->toolStripMenuItem1->Click += gcnew System::EventHandler(this, &Form1::toolStripMenuItem1_Click);

this->теорияToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(9) {this->основыЯзыкаHtmlToolStripMenuItem,

this->структураHtnlToolStripMenuItem, this->лекToolStripMenuItem, this->лекцияПоJavaScript2ToolStripMenuItem, this->лекцияПоJavaScript3ToolStripMenuItem,

this->лекцияПоJavaScript4ToolStripMenuItem, this->лекцияПоJavaScript5ToolStripMenuItem, this->лекцияПоJavaScript6ToolStripMenuItem,

this->лекцияПоJavaScript7ToolStripMenuItem});

this->теорияToolStripMenuItem->Name = L"теорияToolStripMenuItem";

this->теорияToolStripMenuItem->Size = System::Drawing::Size(55, 20);

this->теорияToolStripMenuItem->Text = L"Теория";

this->основыЯзыкаHtmlToolStripMenuItem->Name = L"основыЯзыкаHtmlToolStripMenuItem";

this->основыЯзыкаHtmlToolStripMenuItem->Size = System::Drawing::Size(215, 22);

this->основыЯзыкаHtmlToolStripMenuItem->Text = L"Лекция по JavaScript № 1";

this->основыЯзыкаHtmlToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::основыЯзыкаHtmlToolStripMenuItem_Click);

this->структураHtnlToolStripMenuItem->Name = L"структураHtnlToolStripMenuItem";

this->структураHtnlToolStripMenuItem->Size = System::Drawing::Size(215, 22);

this->структураHtnlToolStripMenuItem->Text = L"Лекция по JavaScript № 2";

this->структураHtnlToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::структураHtnlToolStripMenuItem_Click);

this->лекToolStripMenuItem->Name = L"лекToolStripMenuItem";

this->лекToolStripMenuItem->Size = System::Drawing::Size(215, 22);

this->лекToolStripMenuItem->Text = L"Лекция по JavaScript № 3";

this->лекToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::лекToolStripMenuItem_Click);

this->лекцияПоJavaScript2ToolStripMenuItem->Name = L"лекцияПоJavaScript2ToolStripMenuItem";

this->лекцияПоJavaScript2ToolStripMenuItem->Size = System::Drawing::Size(215, 22);

this->лекцияПоJavaScript2ToolStripMenuItem->Text = L"Лекция по JavaScript № 4";

this->лекцияПоJavaScript2ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::лекцияПоJavaScript2ToolStripMenuItem_Click);

this->лекцияПоJavaScript3ToolStripMenuItem->Name = L"лекцияПоJavaScript3ToolStripMenuItem";

this->лекцияПоJavaScript3ToolStripMenuItem->Size = System::Drawing::Size(215, 22);

this->лекцияПоJavaScript3ToolStripMenuItem->Text = L"Лекция по JavaScript № 5";

this->лекцияПоJavaScript3ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::лекцияПоJavaScript3ToolStripMenuItem_Click);

this->лекцияПоJavaScript4ToolStripMenuItem->Name = L"лекцияПоJavaScript4ToolStripMenuItem";

this->лекцияПоJavaScript4ToolStripMenuItem->Size = System::Drawing::Size(215, 22);

this->лекцияПоJavaScript4ToolStripMenuItem->Text = L"Лекция по JavaScript № 6";

this->лекцияПоJavaScript4ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::лекцияПоJavaScript4ToolStripMenuItem_Click);


this->лекцияПоJavaScript5ToolStripMenuItem->Name = L"лекцияПоJavaScript5ToolStripMenuItem";

this->лекцияПоJavaScript5ToolStripMenuItem->Size = System::Drawing::Size(215, 22);

this->лекцияПоJavaScript5ToolStripMenuItem->Text = L"Лекция по JavaScript № 7";

this->лекцияПоJavaScript5ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::лекцияПоJavaScript5ToolStripMenuItem_Click);

this->лекцияПоJavaScript6ToolStripMenuItem->Name = L"лекцияПоJavaScript6ToolStripMenuItem";

this->лекцияПоJavaScript6ToolStripMenuItem->Size = System::Drawing::Size(215, 22);

this->лекцияПоJavaScript6ToolStripMenuItem->Text = L"Лекция по JavaScript № 8";

this->лекцияПоJavaScript6ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::лекцияПоJavaScript6ToolStripMenuItem_Click);

this->лекцияПоJavaScript7ToolStripMenuItem->Name = L"лекцияПоJavaScript7ToolStripMenuItem";

this->лекцияПоJavaScript7ToolStripMenuItem->Size = System::Drawing::Size(215, 22);

this->лекцияПоJavaScript7ToolStripMenuItem->Text = L"Лекция по JavaScript № 9";

this->лекцияПоJavaScript7ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::лекцияПоJavaScript7ToolStripMenuItem_Click);

this->лабораторныеToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(15) {this->лабораторнаяРабота1ToolStripMenuItem,

this->лабораторнаяРабота2ToolStripMenuItem, this->лабораторнаяРабота3ToolStripMenuItem, this->лабораторнаяРабота4ToolStripMenuItem,

this->лабораторнаяРабота5ToolStripMenuItem, this->лабораторнаяРабота6ToolStripMenuItem, this->лабораторнаяРабота7ToolStripMenuItem,

this->лабораторнаяРабота8ToolStripMenuItem, this->лабораторнаяРабота9ToolStripMenuItem, this->лабораторнаяРабота10ToolStripMenuItem,

this->лабораторнаяРабота11ToolStripMenuItem, this->лабораторнаяРабота12ToolStripMenuItem, this->лабораторнаяРабота13ToolStripMenuItem,

this->лабораторнаяРабота14ToolStripMenuItem, this->лабораторнаяРабота15ToolStripMenuItem});

this->лабораторныеToolStripMenuItem->Name = L"лабораторныеToolStripMenuItem";

this->лабораторныеToolStripMenuItem->Size = System::Drawing::Size(68, 20);

this->лабораторныеToolStripMenuItem->Text = L"Практика";

this->лабораторнаяРабота1ToolStripMenuItem->Name = L"лабораторнаяРабота1ToolStripMenuItem";

this->лабораторнаяРабота1ToolStripMenuItem->Size = System::Drawing::Size(162, 22);

this->лабораторнаяРабота1ToolStripMenuItem->Text = L"Задание № 1";

this->лабораторнаяРабота1ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::лабораторнаяРабота1ToolStripMenuItem_Click);

this->лабораторнаяРабота2ToolStripMenuItem->Name = L"лабораторнаяРабота2ToolStripMenuItem";

this->лабораторнаяРабота2ToolStripMenuItem->Size = System::Drawing::Size(162, 22);

this->лабораторнаяРабота2ToolStripMenuItem->Text = L"Задание № 2";

this->лабораторнаяРабота2ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::лабораторнаяРабота2ToolStripMenuItem_Click);

this->лабораторнаяРабота3ToolStripMenuItem->Name = L"лабораторнаяРабота3ToolStripMenuItem";

this->лабораторнаяРабота3ToolStripMenuItem->Size = System::Drawing::Size(162, 22);

this->лабораторнаяРабота3ToolStripMenuItem->Text = L"Задание № 3";

this->лабораторнаяРабота3ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::лабораторнаяРабота3ToolStripMenuItem_Click);