diff --git a/App.config b/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Form1.Designer.cs b/Form1.Designer.cs new file mode 100644 index 0000000..91a3e5c --- /dev/null +++ b/Form1.Designer.cs @@ -0,0 +1,155 @@ +namespace тест +{ + partial class Form1 + { + /// + /// Обязательная переменная конструктора. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Освободить все используемые ресурсы. + /// + /// истинно, если управляемый ресурс должен быть удален; иначе ложно. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Код, автоматически созданный конструктором форм Windows + + /// + /// Требуемый метод для поддержки конструктора — не изменяйте + /// содержимое этого метода с помощью редактора кода. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.button1 = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(13, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(56, 13); + this.label1.TabIndex = 0; + this.label1.Text = "Фамилия"; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(13, 103); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(253, 23); + this.button1.TabIndex = 1; + this.button1.Text = "Начать тестирование"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(13, 30); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(111, 20); + this.textBox1.TabIndex = 2; + // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(155, 30); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(111, 20); + this.textBox2.TabIndex = 4; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(155, 13); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(29, 13); + this.label2.TabIndex = 3; + this.label2.Text = "Имя"; + // + // textBox3 + // + this.textBox3.Location = new System.Drawing.Point(13, 77); + this.textBox3.Name = "textBox3"; + this.textBox3.Size = new System.Drawing.Size(111, 20); + this.textBox3.TabIndex = 6; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(13, 60); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(31, 13); + this.label3.TabIndex = 5; + this.label3.Text = "Курс"; + // + // textBox4 + // + this.textBox4.Location = new System.Drawing.Point(155, 77); + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(111, 20); + this.textBox4.TabIndex = 8; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(155, 60); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(42, 13); + this.label4.TabIndex = 7; + this.label4.Text = "Группа"; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(284, 139); + this.Controls.Add(this.textBox4); + this.Controls.Add(this.label4); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.label3); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.label2); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.button1); + this.Controls.Add(this.label1); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "Form1"; + this.ShowIcon = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Русские живописцы"; + this.Load += new System.EventHandler(this.Form1_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox textBox4; + private System.Windows.Forms.Label label4; + } +} + diff --git a/Form1.cs b/Form1.cs new file mode 100644 index 0000000..c18154f --- /dev/null +++ b/Form1.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace тест +{ + public partial class Form1 : Form + { + public string fname, lname, group, course; + public Form1() + { + InitializeComponent(); + } + + private void Form1_Load(object sender, EventArgs e) + { + + } + + private void button1_Click(object sender, EventArgs e) + { + lname = textBox1.Text; + fname = textBox2.Text; + course = textBox3.Text; + group = textBox4.Text; + + testirovanie testirovanie = new testirovanie(); + testirovanie.Show(); + this.Hide(); + + } + } +} diff --git a/Form1.resx b/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..f4076a3 --- /dev/null +++ b/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace тест +{ + internal static class Program + { + /// + /// Главная точка входа для приложения. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6ae7f50 --- /dev/null +++ b/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Общие сведения об этой сборке предоставляются следующим набором +// набора атрибутов. Измените значения этих атрибутов для изменения сведений, +// связанных со сборкой. +[assembly: AssemblyTitle("тест")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("тест")] +[assembly: AssemblyCopyright("Copyright © 2026")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми +// для компонентов COM. Если необходимо обратиться к типу в этой сборке через +// COM, следует установить атрибут ComVisible в TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("fa3ba85b-0adf-4bfb-954b-d5c12cee9377")] + +// Сведения о версии сборки состоят из указанных ниже четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер сборки +// Редакция +// +// Можно задать все значения или принять номера сборки и редакции по умолчанию +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs new file mode 100644 index 0000000..7fb83f2 --- /dev/null +++ b/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace тест.Properties { + using System; + + + /// + /// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д. + /// + // Этот класс создан автоматически классом StronglyTypedResourceBuilder + // с помощью такого средства, как ResGen или Visual Studio. + // Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen + // с параметром /str или перестройте свой проект VS. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("тест.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Перезаписывает свойство CurrentUICulture текущего потока для всех + /// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Снимок_экрана_2026_03_23_115753 { + get { + object obj = ResourceManager.GetObject("Снимок экрана 2026-03-23 115753", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Снимок_экрана_2026_03_23_121052 { + get { + object obj = ResourceManager.GetObject("Снимок экрана 2026-03-23 121052", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Снимок_экрана_2026_03_23_121511 { + get { + object obj = ResourceManager.GetObject("Снимок экрана 2026-03-23 121511", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Снимок_экрана_2026_03_23_121937 { + get { + object obj = ResourceManager.GetObject("Снимок экрана 2026-03-23 121937", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Properties/Resources.resx b/Properties/Resources.resx new file mode 100644 index 0000000..7ae1456 --- /dev/null +++ b/Properties/Resources.resx @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Снимок экрана 2026-03-23 121052.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Снимок экрана 2026-03-23 121511.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Снимок экрана 2026-03-23 115753.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Снимок экрана 2026-03-23 121937.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs new file mode 100644 index 0000000..219d6f4 --- /dev/null +++ b/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace тест.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Properties/Settings.settings b/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Resources/Снимок экрана 2026-03-23 115753.png b/Resources/Снимок экрана 2026-03-23 115753.png new file mode 100644 index 0000000..04b645e Binary files /dev/null and b/Resources/Снимок экрана 2026-03-23 115753.png differ diff --git a/Resources/Снимок экрана 2026-03-23 121052.png b/Resources/Снимок экрана 2026-03-23 121052.png new file mode 100644 index 0000000..3c8f440 Binary files /dev/null and b/Resources/Снимок экрана 2026-03-23 121052.png differ diff --git a/Resources/Снимок экрана 2026-03-23 121511.png b/Resources/Снимок экрана 2026-03-23 121511.png new file mode 100644 index 0000000..1a3e56a Binary files /dev/null and b/Resources/Снимок экрана 2026-03-23 121511.png differ diff --git a/Resources/Снимок экрана 2026-03-23 121937.png b/Resources/Снимок экрана 2026-03-23 121937.png new file mode 100644 index 0000000..b84af86 Binary files /dev/null and b/Resources/Снимок экрана 2026-03-23 121937.png differ diff --git a/testirovanie.Designer.cs b/testirovanie.Designer.cs new file mode 100644 index 0000000..2c698af --- /dev/null +++ b/testirovanie.Designer.cs @@ -0,0 +1,449 @@ +namespace тест +{ + partial class testirovanie + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(testirovanie)); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabPage1 = new System.Windows.Forms.TabPage(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.tabPage3 = new System.Windows.Forms.TabPage(); + this.tabPage4 = new System.Windows.Forms.TabPage(); + this.tabPage5 = new System.Windows.Forms.TabPage(); + this.button1 = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.button2 = new System.Windows.Forms.Button(); + this.radioButton1 = new System.Windows.Forms.RadioButton(); + this.radioButton2 = new System.Windows.Forms.RadioButton(); + this.radioButton3 = new System.Windows.Forms.RadioButton(); + this.label2 = new System.Windows.Forms.Label(); + this.radioButton4 = new System.Windows.Forms.RadioButton(); + this.radioButton5 = new System.Windows.Forms.RadioButton(); + this.radioButton6 = new System.Windows.Forms.RadioButton(); + this.radioButton7 = new System.Windows.Forms.RadioButton(); + this.radioButton8 = new System.Windows.Forms.RadioButton(); + this.radioButton9 = new System.Windows.Forms.RadioButton(); + this.label3 = new System.Windows.Forms.Label(); + this.radioButton10 = new System.Windows.Forms.RadioButton(); + this.radioButton11 = new System.Windows.Forms.RadioButton(); + this.radioButton12 = new System.Windows.Forms.RadioButton(); + this.label4 = new System.Windows.Forms.Label(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox3 = new System.Windows.Forms.PictureBox(); + this.pictureBox4 = new System.Windows.Forms.PictureBox(); + this.tabControl1.SuspendLayout(); + this.tabPage1.SuspendLayout(); + this.tabPage2.SuspendLayout(); + this.tabPage3.SuspendLayout(); + this.tabPage4.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); + this.SuspendLayout(); + // + // tabControl1 + // + this.tabControl1.Controls.Add(this.tabPage1); + this.tabControl1.Controls.Add(this.tabPage2); + this.tabControl1.Controls.Add(this.tabPage3); + this.tabControl1.Controls.Add(this.tabPage4); + this.tabControl1.Controls.Add(this.tabPage5); + this.tabControl1.Location = new System.Drawing.Point(13, 13); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(404, 396); + this.tabControl1.TabIndex = 0; + // + // tabPage1 + // + this.tabPage1.Controls.Add(this.radioButton3); + this.tabPage1.Controls.Add(this.radioButton2); + this.tabPage1.Controls.Add(this.radioButton1); + this.tabPage1.Controls.Add(this.pictureBox1); + this.tabPage1.Controls.Add(this.label1); + this.tabPage1.Location = new System.Drawing.Point(4, 22); + this.tabPage1.Name = "tabPage1"; + this.tabPage1.Padding = new System.Windows.Forms.Padding(3); + this.tabPage1.Size = new System.Drawing.Size(396, 370); + this.tabPage1.TabIndex = 0; + this.tabPage1.Text = "Вопрос 1"; + this.tabPage1.UseVisualStyleBackColor = true; + // + // tabPage2 + // + this.tabPage2.Controls.Add(this.radioButton4); + this.tabPage2.Controls.Add(this.radioButton5); + this.tabPage2.Controls.Add(this.radioButton6); + this.tabPage2.Controls.Add(this.label2); + this.tabPage2.Controls.Add(this.pictureBox2); + this.tabPage2.Location = new System.Drawing.Point(4, 22); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(396, 370); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "Вопрос 2"; + this.tabPage2.UseVisualStyleBackColor = true; + // + // tabPage3 + // + this.tabPage3.Controls.Add(this.radioButton7); + this.tabPage3.Controls.Add(this.radioButton8); + this.tabPage3.Controls.Add(this.radioButton9); + this.tabPage3.Controls.Add(this.label3); + this.tabPage3.Controls.Add(this.pictureBox3); + this.tabPage3.Location = new System.Drawing.Point(4, 22); + this.tabPage3.Name = "tabPage3"; + this.tabPage3.Padding = new System.Windows.Forms.Padding(3); + this.tabPage3.Size = new System.Drawing.Size(396, 370); + this.tabPage3.TabIndex = 2; + this.tabPage3.Text = "Вопрос 3"; + this.tabPage3.UseVisualStyleBackColor = true; + // + // tabPage4 + // + this.tabPage4.Controls.Add(this.radioButton10); + this.tabPage4.Controls.Add(this.radioButton11); + this.tabPage4.Controls.Add(this.radioButton12); + this.tabPage4.Controls.Add(this.pictureBox4); + this.tabPage4.Controls.Add(this.label4); + this.tabPage4.Location = new System.Drawing.Point(4, 22); + this.tabPage4.Name = "tabPage4"; + this.tabPage4.Padding = new System.Windows.Forms.Padding(3); + this.tabPage4.Size = new System.Drawing.Size(396, 370); + this.tabPage4.TabIndex = 3; + this.tabPage4.Text = "Вопрос 4"; + this.tabPage4.UseVisualStyleBackColor = true; + // + // tabPage5 + // + this.tabPage5.Location = new System.Drawing.Point(4, 22); + this.tabPage5.Name = "tabPage5"; + this.tabPage5.Padding = new System.Windows.Forms.Padding(3); + this.tabPage5.Size = new System.Drawing.Size(396, 370); + this.tabPage5.TabIndex = 4; + this.tabPage5.Text = "Вопрос 5"; + this.tabPage5.UseVisualStyleBackColor = true; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(252, 468); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(155, 23); + this.button1.TabIndex = 1; + this.button1.Text = "Завершить тестирование"; + this.button1.UseVisualStyleBackColor = true; + // + // label1 + // + this.label1.Location = new System.Drawing.Point(7, 7); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(383, 58); + this.label1.TabIndex = 0; + this.label1.Text = resources.GetString("label1.Text"); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(252, 411); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(155, 23); + this.button2.TabIndex = 2; + this.button2.Text = "Следующий вопрос"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // radioButton1 + // + this.radioButton1.AutoSize = true; + this.radioButton1.Location = new System.Drawing.Point(10, 278); + this.radioButton1.Name = "radioButton1"; + this.radioButton1.Size = new System.Drawing.Size(134, 17); + this.radioButton1.TabIndex = 2; + this.radioButton1.TabStop = true; + this.radioButton1.Text = "Волга и Айвазовский"; + this.radioButton1.UseVisualStyleBackColor = true; + this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); + // + // radioButton2 + // + this.radioButton2.AutoSize = true; + this.radioButton2.Location = new System.Drawing.Point(10, 301); + this.radioButton2.Name = "radioButton2"; + this.radioButton2.Size = new System.Drawing.Size(98, 17); + this.radioButton2.TabIndex = 3; + this.radioButton2.TabStop = true; + this.radioButton2.Text = "Волга и Репин"; + this.radioButton2.UseVisualStyleBackColor = true; + this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged); + // + // radioButton3 + // + this.radioButton3.AutoSize = true; + this.radioButton3.Location = new System.Drawing.Point(10, 324); + this.radioButton3.Name = "radioButton3"; + this.radioButton3.Size = new System.Drawing.Size(98, 17); + this.radioButton3.TabIndex = 4; + this.radioButton3.TabStop = true; + this.radioButton3.Text = "Волга и Серов"; + this.radioButton3.UseVisualStyleBackColor = true; + this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged); + // + // label2 + // + this.label2.Location = new System.Drawing.Point(7, 7); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(383, 59); + this.label2.TabIndex = 0; + this.label2.Text = "Илья Занковский в 1886 году изобразил восхитительный пик в закатном свете. Что эт" + + "о за гора? Немного подскажем: это стратовулкан на Кавказе высотой 5642 метра."; + // + // radioButton4 + // + this.radioButton4.AutoSize = true; + this.radioButton4.Location = new System.Drawing.Point(10, 323); + this.radioButton4.Name = "radioButton4"; + this.radioButton4.Size = new System.Drawing.Size(67, 17); + this.radioButton4.TabIndex = 7; + this.radioButton4.TabStop = true; + this.radioButton4.Text = "Эверест"; + this.radioButton4.UseVisualStyleBackColor = true; + this.radioButton4.CheckedChanged += new System.EventHandler(this.radioButton4_CheckedChanged); + // + // radioButton5 + // + this.radioButton5.AutoSize = true; + this.radioButton5.Location = new System.Drawing.Point(10, 300); + this.radioButton5.Name = "radioButton5"; + this.radioButton5.Size = new System.Drawing.Size(62, 17); + this.radioButton5.TabIndex = 6; + this.radioButton5.TabStop = true; + this.radioButton5.Text = "Кавказ"; + this.radioButton5.UseVisualStyleBackColor = true; + this.radioButton5.CheckedChanged += new System.EventHandler(this.radioButton5_CheckedChanged); + // + // radioButton6 + // + this.radioButton6.AutoSize = true; + this.radioButton6.Location = new System.Drawing.Point(10, 277); + this.radioButton6.Name = "radioButton6"; + this.radioButton6.Size = new System.Drawing.Size(67, 17); + this.radioButton6.TabIndex = 5; + this.radioButton6.TabStop = true; + this.radioButton6.Text = "Эльбрус"; + this.radioButton6.UseVisualStyleBackColor = true; + this.radioButton6.CheckedChanged += new System.EventHandler(this.radioButton6_CheckedChanged); + // + // radioButton7 + // + this.radioButton7.AutoSize = true; + this.radioButton7.Location = new System.Drawing.Point(7, 347); + this.radioButton7.Name = "radioButton7"; + this.radioButton7.Size = new System.Drawing.Size(102, 17); + this.radioButton7.TabIndex = 12; + this.radioButton7.Text = "Архип Куинджи"; + this.radioButton7.UseVisualStyleBackColor = true; + this.radioButton7.CheckedChanged += new System.EventHandler(this.radioButton7_CheckedChanged); + // + // radioButton8 + // + this.radioButton8.AutoSize = true; + this.radioButton8.Location = new System.Drawing.Point(7, 324); + this.radioButton8.Name = "radioButton8"; + this.radioButton8.Size = new System.Drawing.Size(128, 17); + this.radioButton8.TabIndex = 11; + this.radioButton8.Text = "Василий Верещагин"; + this.radioButton8.UseVisualStyleBackColor = true; + this.radioButton8.CheckedChanged += new System.EventHandler(this.radioButton8_CheckedChanged); + // + // radioButton9 + // + this.radioButton9.AutoSize = true; + this.radioButton9.Checked = true; + this.radioButton9.Location = new System.Drawing.Point(7, 301); + this.radioButton9.Name = "radioButton9"; + this.radioButton9.Size = new System.Drawing.Size(102, 17); + this.radioButton9.TabIndex = 10; + this.radioButton9.TabStop = true; + this.radioButton9.Text = "Николай Рерих"; + this.radioButton9.UseVisualStyleBackColor = true; + this.radioButton9.CheckedChanged += new System.EventHandler(this.radioButton9_CheckedChanged); + // + // label3 + // + this.label3.Location = new System.Drawing.Point(4, 5); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(383, 80); + this.label3.TabIndex = 8; + this.label3.Text = resources.GetString("label3.Text"); + this.label3.Click += new System.EventHandler(this.label3_Click); + // + // radioButton10 + // + this.radioButton10.AutoSize = true; + this.radioButton10.Location = new System.Drawing.Point(7, 348); + this.radioButton10.Name = "radioButton10"; + this.radioButton10.Size = new System.Drawing.Size(103, 17); + this.radioButton10.TabIndex = 17; + this.radioButton10.Text = "Эффект заката"; + this.radioButton10.UseVisualStyleBackColor = true; + // + // radioButton11 + // + this.radioButton11.AutoSize = true; + this.radioButton11.Location = new System.Drawing.Point(7, 325); + this.radioButton11.Name = "radioButton11"; + this.radioButton11.Size = new System.Drawing.Size(93, 17); + this.radioButton11.TabIndex = 16; + this.radioButton11.Text = "Эффект горы"; + this.radioButton11.UseVisualStyleBackColor = true; + // + // radioButton12 + // + this.radioButton12.AutoSize = true; + this.radioButton12.Checked = true; + this.radioButton12.Location = new System.Drawing.Point(7, 302); + this.radioButton12.Name = "radioButton12"; + this.radioButton12.Size = new System.Drawing.Size(109, 17); + this.radioButton12.TabIndex = 15; + this.radioButton12.TabStop = true; + this.radioButton12.Text = "Эффект бабочки"; + this.radioButton12.UseVisualStyleBackColor = true; + // + // label4 + // + this.label4.Location = new System.Drawing.Point(4, 6); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(383, 80); + this.label4.TabIndex = 13; + this.label4.Text = "А вот еще одна работа Архипа Куинджи. И тоже 1900–1910 года создания. Попробуйте " + + "по одному взгляду на нее угадать название. Это «Эффект…»"; + // + // pictureBox1 + // + this.pictureBox1.Image = global::тест.Properties.Resources.Снимок_экрана_2026_03_23_115753; + this.pictureBox1.Location = new System.Drawing.Point(55, 68); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(278, 198); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pictureBox1.TabIndex = 1; + this.pictureBox1.TabStop = false; + // + // pictureBox2 + // + this.pictureBox2.Image = global::тест.Properties.Resources.Снимок_экрана_2026_03_23_121052; + this.pictureBox2.Location = new System.Drawing.Point(10, 56); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(386, 212); + this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pictureBox2.TabIndex = 1; + this.pictureBox2.TabStop = false; + // + // pictureBox3 + // + this.pictureBox3.Image = global::тест.Properties.Resources.Снимок_экрана_2026_03_23_121511; + this.pictureBox3.Location = new System.Drawing.Point(7, 88); + this.pictureBox3.Name = "pictureBox3"; + this.pictureBox3.Size = new System.Drawing.Size(386, 212); + this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pictureBox3.TabIndex = 9; + this.pictureBox3.TabStop = false; + // + // pictureBox4 + // + this.pictureBox4.Image = global::тест.Properties.Resources.Снимок_экрана_2026_03_23_121937; + this.pictureBox4.Location = new System.Drawing.Point(7, 89); + this.pictureBox4.Name = "pictureBox4"; + this.pictureBox4.Size = new System.Drawing.Size(386, 212); + this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pictureBox4.TabIndex = 14; + this.pictureBox4.TabStop = false; + // + // testirovanie + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(423, 503); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Controls.Add(this.tabControl1); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "testirovanie"; + this.ShowIcon = false; + this.Text = "Окно тестирования"; + this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.testirovanie_FormClosed); + this.tabControl1.ResumeLayout(false); + this.tabPage1.ResumeLayout(false); + this.tabPage1.PerformLayout(); + this.tabPage2.ResumeLayout(false); + this.tabPage2.PerformLayout(); + this.tabPage3.ResumeLayout(false); + this.tabPage3.PerformLayout(); + this.tabPage4.ResumeLayout(false); + this.tabPage4.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.TabPage tabPage1; + private System.Windows.Forms.TabPage tabPage2; + private System.Windows.Forms.TabPage tabPage3; + private System.Windows.Forms.TabPage tabPage4; + private System.Windows.Forms.TabPage tabPage5; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.RadioButton radioButton3; + private System.Windows.Forms.RadioButton radioButton2; + private System.Windows.Forms.RadioButton radioButton1; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.RadioButton radioButton4; + private System.Windows.Forms.RadioButton radioButton5; + private System.Windows.Forms.RadioButton radioButton6; + private System.Windows.Forms.RadioButton radioButton7; + private System.Windows.Forms.RadioButton radioButton8; + private System.Windows.Forms.RadioButton radioButton9; + private System.Windows.Forms.PictureBox pictureBox3; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.RadioButton radioButton10; + private System.Windows.Forms.RadioButton radioButton11; + private System.Windows.Forms.RadioButton radioButton12; + private System.Windows.Forms.PictureBox pictureBox4; + private System.Windows.Forms.Label label4; + } +} \ No newline at end of file diff --git a/testirovanie.cs b/testirovanie.cs new file mode 100644 index 0000000..e8c7b25 --- /dev/null +++ b/testirovanie.cs @@ -0,0 +1,207 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace тест +{ + public partial class testirovanie : Form + { + int v1; + int v2; + int v3; + int v4; + int v5; + + Form1 form1; + public testirovanie() + { + InitializeComponent(); + } + + private void testirovanie_FormClosed(object sender, FormClosedEventArgs e) + { + Application.Exit(); + } + + private void radioButton1_CheckedChanged(object sender, EventArgs e) + { + if (radioButton1.Checked == false) + { + if (radioButton2.Checked == true) + { + if (radioButton3.Checked == false) + { + v1 = 1; + } + else { v1 = 0; } + } + else { v1 = 0; } + + } + else { v1 = 0; } + } + + private void radioButton2_CheckedChanged(object sender, EventArgs e) + { + if (radioButton1.Checked == false) + { + if (radioButton2.Checked == true) + { + if (radioButton3.Checked == false) + { + v1 = 1; + } + else { v1 = 0; } + } + else { v1 = 0; } + + } + else { v1 = 0; } + } + + private void radioButton3_CheckedChanged(object sender, EventArgs e) + { + if (radioButton1.Checked == false) + { + if (radioButton2.Checked == true) + { + if (radioButton3.Checked == false) + { + v1 = 1; + } + else { v1 = 0; } + } + else { v1 = 0; } + + } + else { v1 = 0; } + } + + private void button2_Click(object sender, EventArgs e) + { + + } + + private void radioButton4_CheckedChanged(object sender, EventArgs e) + { + if (radioButton4.Checked == false) + { + if (radioButton6.Checked == true) + { + if (radioButton5.Checked == false) + { + v2 = 1; + } + else { v2 = 0; } + } + else { v2 = 0; } + + } + else { v2 = 0; } + } + + + private void radioButton6_CheckedChanged(object sender, EventArgs e) + { + if (radioButton4.Checked == false) + { + if (radioButton6.Checked == true) + { + if (radioButton5.Checked == false) + { + v2 = 1; + } + else { v2 = 0; } + } + else { v2 = 0; } + + } + else { v2 = 0; } + } + + + private void radioButton5_CheckedChanged(object sender, EventArgs e) + { + if (radioButton4.Checked == false) + { + if (radioButton6.Checked == true) + { + if (radioButton5.Checked == false) + { + v2 = 1; + } + else { v2 = 0; } + } + else { v2 = 0; } + + } + else { v2 = 0; } + } + + private void label3_Click(object sender, EventArgs e) + { + + } + + private void radioButton7_CheckedChanged(object sender, EventArgs e) + { + if (radioButton8.Checked == false) + { + if (radioButton7.Checked == true) + { + if (radioButton9.Checked == false) + { + v3 = 1; + } + else { v3 = 0; } + } + else { v3 = 0; } + + } + else { v3 = 0; } + } + + private void radioButton9_CheckedChanged(object sender, EventArgs e) + { + if (radioButton8.Checked == false) + { + if (radioButton7.Checked == true) + { + if (radioButton9.Checked == false) + { + v3 = 1; + } + else { v3 = 0; } + } + else { v3 = 0; } + + } + else { v3 = 0; } + } + + private void radioButton8_CheckedChanged(object sender, EventArgs e) + { + if (radioButton8.Checked == false) + { + if (radioButton7.Checked == true) + { + if (radioButton9.Checked == false) + { + v3 = 1; + } + else { v3 = 0; } + } + else { v3 = 0; } + + } + else { v3 = 0; } + } + } + +} diff --git a/testirovanie.resx b/testirovanie.resx new file mode 100644 index 0000000..bcd0c98 --- /dev/null +++ b/testirovanie.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Начнем с простого. Этот художник ездил в целое исследовательское турне на эту реку, изучал быт людей, живущих и работающих на ней. Сюжет с картины он видел воочию и даже описывал в своих мемуарах. Картина называется «Шторм на…». Назовите реку и автора. + + + Это произведение 1900–1910 годов называется «Пятна лунного света в лесу. Зима». Художник — автор полотна много путешествовал, обожал Валаам, любил Крым, много писал в горах, но ездил не только по России. Например, неоднократно бывал во Франции. Назовите этого художника-путешественника, автора картины и лидера русской школы люминизма. + + \ No newline at end of file diff --git a/тест.csproj b/тест.csproj new file mode 100644 index 0000000..819e40c --- /dev/null +++ b/тест.csproj @@ -0,0 +1,111 @@ + + + + + Debug + AnyCPU + {FA3BA85B-0ADF-4BFB-954B-D5C12CEE9377} + WinExe + тест + тест + v4.8 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form + + + testirovanie.cs + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + testirovanie.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/тест.sln b/тест.sln new file mode 100644 index 0000000..e42c17a --- /dev/null +++ b/тест.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.4.33213.308 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "тест", "тест.csproj", "{FA3BA85B-0ADF-4BFB-954B-D5C12CEE9377}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FA3BA85B-0ADF-4BFB-954B-D5C12CEE9377}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FA3BA85B-0ADF-4BFB-954B-D5C12CEE9377}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FA3BA85B-0ADF-4BFB-954B-D5C12CEE9377}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FA3BA85B-0ADF-4BFB-954B-D5C12CEE9377}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {5617A60D-41EF-443A-8282-82ABB4715F2B} + EndGlobalSection +EndGlobal