commit 097ec6b617cdd305ce2baac4d266686ae4d5b22b Author: You Date: Mon May 25 17:50:00 2026 +0400 first commit diff --git a/polina2/.vs/polina2/FileContentIndex/c7601b59-1daf-4815-b506-5c5acb2ac1a8.vsidx b/polina2/.vs/polina2/FileContentIndex/c7601b59-1daf-4815-b506-5c5acb2ac1a8.vsidx new file mode 100644 index 0000000..6d5e025 Binary files /dev/null and b/polina2/.vs/polina2/FileContentIndex/c7601b59-1daf-4815-b506-5c5acb2ac1a8.vsidx differ diff --git a/polina2/.vs/polina2/v17/.suo b/polina2/.vs/polina2/v17/.suo new file mode 100644 index 0000000..88cf351 Binary files /dev/null and b/polina2/.vs/polina2/v17/.suo differ diff --git a/polina2/.vs/polina2/v17/DocumentLayout.backup.json b/polina2/.vs/polina2/v17/DocumentLayout.backup.json new file mode 100644 index 0000000..a79f2ec --- /dev/null +++ b/polina2/.vs/polina2/v17/DocumentLayout.backup.json @@ -0,0 +1,40 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\Student\\Desktop\\polina2\\polina2\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{3A96B2D4-3072-4AF5-ADCC-A197A56C5175}|polina2\\polina2.csproj|c:\\users\\student\\desktop\\polina2\\polina2\\polina2\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form", + "RelativeMoniker": "D:0:0:{3A96B2D4-3072-4AF5-ADCC-A197A56C5175}|polina2\\polina2.csproj|solutionrelative:polina2\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Form1.cs [\u041A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440]", + "DocumentMoniker": "C:\\Users\\Student\\Desktop\\polina2\\polina2\\polina2\\Form1.cs", + "RelativeDocumentMoniker": "polina2\\Form1.cs", + "ToolTip": "C:\\Users\\Student\\Desktop\\polina2\\polina2\\polina2\\Form1.cs [\u041A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440]", + "RelativeToolTip": "polina2\\Form1.cs [\u041A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440]", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2026-05-25T13:46:43.881Z", + "EditorCaption": " [\u041A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440]" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/polina2/.vs/polina2/v17/DocumentLayout.json b/polina2/.vs/polina2/v17/DocumentLayout.json new file mode 100644 index 0000000..a79f2ec --- /dev/null +++ b/polina2/.vs/polina2/v17/DocumentLayout.json @@ -0,0 +1,40 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\Student\\Desktop\\polina2\\polina2\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{3A96B2D4-3072-4AF5-ADCC-A197A56C5175}|polina2\\polina2.csproj|c:\\users\\student\\desktop\\polina2\\polina2\\polina2\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form", + "RelativeMoniker": "D:0:0:{3A96B2D4-3072-4AF5-ADCC-A197A56C5175}|polina2\\polina2.csproj|solutionrelative:polina2\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Form1.cs [\u041A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440]", + "DocumentMoniker": "C:\\Users\\Student\\Desktop\\polina2\\polina2\\polina2\\Form1.cs", + "RelativeDocumentMoniker": "polina2\\Form1.cs", + "ToolTip": "C:\\Users\\Student\\Desktop\\polina2\\polina2\\polina2\\Form1.cs [\u041A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440]", + "RelativeToolTip": "polina2\\Form1.cs [\u041A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440]", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2026-05-25T13:46:43.881Z", + "EditorCaption": " [\u041A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440]" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/polina2/polina2.sln b/polina2/polina2.sln new file mode 100644 index 0000000..93a55e1 --- /dev/null +++ b/polina2/polina2.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.14.37216.2 d17.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "polina2", "polina2\polina2.csproj", "{3A96B2D4-3072-4AF5-ADCC-A197A56C5175}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3A96B2D4-3072-4AF5-ADCC-A197A56C5175}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3A96B2D4-3072-4AF5-ADCC-A197A56C5175}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3A96B2D4-3072-4AF5-ADCC-A197A56C5175}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3A96B2D4-3072-4AF5-ADCC-A197A56C5175}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {6F0B25FF-4C89-4EC0-AFA8-8CBB9586441A} + EndGlobalSection +EndGlobal diff --git a/polina2/polina2/App.config b/polina2/polina2/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/polina2/polina2/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/polina2/polina2/Form1.Designer.cs b/polina2/polina2/Form1.Designer.cs new file mode 100644 index 0000000..4b79bb5 --- /dev/null +++ b/polina2/polina2/Form1.Designer.cs @@ -0,0 +1,86 @@ +namespace polina2 +{ + 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.checkBox1 = new System.Windows.Forms.CheckBox(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(153, 156); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(35, 13); + this.label1.TabIndex = 0; + this.label1.Text = "label1"; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(156, 234); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(75, 23); + this.button1.TabIndex = 1; + this.button1.Text = "button1"; + this.button1.UseVisualStyleBackColor = true; + // + // checkBox1 + // + this.checkBox1.AutoSize = true; + this.checkBox1.Location = new System.Drawing.Point(300, 156); + this.checkBox1.Name = "checkBox1"; + this.checkBox1.Size = new System.Drawing.Size(80, 17); + this.checkBox1.TabIndex = 2; + this.checkBox1.Text = "checkBox1"; + this.checkBox1.UseVisualStyleBackColor = true; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.checkBox1); + this.Controls.Add(this.button1); + this.Controls.Add(this.label1); + this.Name = "Form1"; + this.Text = "Form1"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.CheckBox checkBox1; + } +} + diff --git a/polina2/polina2/Form1.cs b/polina2/polina2/Form1.cs new file mode 100644 index 0000000..247728e --- /dev/null +++ b/polina2/polina2/Form1.cs @@ -0,0 +1,20 @@ +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 polina2 +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/polina2/polina2/Form1.resx b/polina2/polina2/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/polina2/polina2/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/polina2/polina2/Program.cs b/polina2/polina2/Program.cs new file mode 100644 index 0000000..03ab6d8 --- /dev/null +++ b/polina2/polina2/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace polina2 +{ + internal static class Program + { + /// + /// Главная точка входа для приложения. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/polina2/polina2/Properties/AssemblyInfo.cs b/polina2/polina2/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..1315788 --- /dev/null +++ b/polina2/polina2/Properties/AssemblyInfo.cs @@ -0,0 +1,33 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Общие сведения об этой сборке предоставляются следующим набором +// набора атрибутов. Измените значения этих атрибутов для изменения сведений, +// связанных со сборкой. +[assembly: AssemblyTitle("polina2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("polina2")] +[assembly: AssemblyCopyright("Copyright © 2026")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми +// для компонентов COM. Если необходимо обратиться к типу в этой сборке через +// COM, следует установить атрибут ComVisible в TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("3a96b2d4-3072-4af5-adcc-a197a56c5175")] + +// Сведения о версии сборки состоят из указанных ниже четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер сборки +// Редакция +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/polina2/polina2/Properties/Resources.Designer.cs b/polina2/polina2/Properties/Resources.Designer.cs new file mode 100644 index 0000000..ba3b456 --- /dev/null +++ b/polina2/polina2/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программным средством. +// Версия среды выполнения: 4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если +// код создан повторно. +// +//------------------------------------------------------------------------------ + +namespace polina2.Properties +{ + + + /// + /// Класс ресурсов со строгим типом для поиска локализованных строк и пр. + /// + // Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder + // класс с помощью таких средств, как ResGen или Visual Studio. + // Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen + // с параметром /str или заново постройте свой VS-проект. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.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 ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("polina2.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; + } + } + } +} diff --git a/polina2/polina2/Properties/Resources.resx b/polina2/polina2/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/polina2/polina2/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/polina2/polina2/Properties/Settings.Designer.cs b/polina2/polina2/Properties/Settings.Designer.cs new file mode 100644 index 0000000..67e72eb --- /dev/null +++ b/polina2/polina2/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 polina2.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/polina2/polina2/Properties/Settings.settings b/polina2/polina2/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/polina2/polina2/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/polina2/polina2/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/polina2/polina2/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs new file mode 100644 index 0000000..3871b18 --- /dev/null +++ b/polina2/polina2/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/polina2/polina2/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/polina2/polina2/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..d5da7b9 Binary files /dev/null and b/polina2/polina2/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/polina2/polina2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/polina2/polina2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..1488a64 Binary files /dev/null and b/polina2/polina2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/polina2/polina2/obj/Debug/polina2.csproj.AssemblyReference.cache b/polina2/polina2/obj/Debug/polina2.csproj.AssemblyReference.cache new file mode 100644 index 0000000..9f80ff2 Binary files /dev/null and b/polina2/polina2/obj/Debug/polina2.csproj.AssemblyReference.cache differ diff --git a/polina2/polina2/polina2.csproj b/polina2/polina2/polina2.csproj new file mode 100644 index 0000000..347af06 --- /dev/null +++ b/polina2/polina2/polina2.csproj @@ -0,0 +1,83 @@ + + + + + Debug + AnyCPU + {3A96B2D4-3072-4AF5-ADCC-A197A56C5175} + WinExe + polina2 + polina2 + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file