Преглед на файлове

Отправляем проект

sultikkh преди 2 години
ревизия
945423bcb4
променени са 33 файла, в които са добавени 722 реда и са изтрити 0 реда
  1. BIN
      .vs/Practic_rab_1/FileContentIndex/37521718-0fd3-4a29-b141-0d61aa0a04e9.vsidx
  2. BIN
      .vs/Practic_rab_1/FileContentIndex/4df42305-5b75-4d6b-9277-4580c388d8a9.vsidx
  3. 0 0
      .vs/Practic_rab_1/FileContentIndex/read.lock
  4. BIN
      .vs/Practic_rab_1/v17/.suo
  5. BIN
      .vs/Practic_rab_1/v17/TestStore/0/000.testlog
  6. BIN
      .vs/Practic_rab_1/v17/TestStore/0/testlog.manifest
  7. 25 0
      Practic_rab_1.sln
  8. 6 0
      Practic_rab_1/App.config
  9. 121 0
      Practic_rab_1/Form1.Designer.cs
  10. 62 0
      Practic_rab_1/Form1.cs
  11. 120 0
      Practic_rab_1/Form1.resx
  12. 83 0
      Practic_rab_1/Practic_rab_1.csproj
  13. 22 0
      Practic_rab_1/Program.cs
  14. 36 0
      Practic_rab_1/Properties/AssemblyInfo.cs
  15. 71 0
      Practic_rab_1/Properties/Resources.Designer.cs
  16. 117 0
      Practic_rab_1/Properties/Resources.resx
  17. 30 0
      Practic_rab_1/Properties/Settings.Designer.cs
  18. 7 0
      Practic_rab_1/Properties/Settings.settings
  19. BIN
      Practic_rab_1/bin/Debug/Practic_rab_1.exe
  20. 6 0
      Practic_rab_1/bin/Debug/Practic_rab_1.exe.config
  21. BIN
      Practic_rab_1/bin/Debug/Practic_rab_1.pdb
  22. 4 0
      Practic_rab_1/obj/Debug/.NETFramework,Version=v4.7.1.AssemblyAttributes.cs
  23. BIN
      Practic_rab_1/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  24. BIN
      Practic_rab_1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  25. BIN
      Practic_rab_1/obj/Debug/Practic_rab_1.FormForButtonClick.resources
  26. BIN
      Practic_rab_1/obj/Debug/Practic_rab_1.Properties.Resources.resources
  27. BIN
      Practic_rab_1/obj/Debug/Practic_rab_1.csproj.AssemblyReference.cache
  28. 1 0
      Practic_rab_1/obj/Debug/Practic_rab_1.csproj.CoreCompileInputs.cache
  29. 11 0
      Practic_rab_1/obj/Debug/Practic_rab_1.csproj.FileListAbsolute.txt
  30. BIN
      Practic_rab_1/obj/Debug/Practic_rab_1.csproj.GenerateResource.cache
  31. 0 0
      Practic_rab_1/obj/Debug/Practic_rab_1.csproj.SuggestedBindingRedirects.cache
  32. BIN
      Practic_rab_1/obj/Debug/Practic_rab_1.exe
  33. BIN
      Practic_rab_1/obj/Debug/Practic_rab_1.pdb

BIN
.vs/Practic_rab_1/FileContentIndex/37521718-0fd3-4a29-b141-0d61aa0a04e9.vsidx


BIN
.vs/Practic_rab_1/FileContentIndex/4df42305-5b75-4d6b-9277-4580c388d8a9.vsidx


+ 0 - 0
.vs/Practic_rab_1/FileContentIndex/read.lock


BIN
.vs/Practic_rab_1/v17/.suo


BIN
.vs/Practic_rab_1/v17/TestStore/0/000.testlog


BIN
.vs/Practic_rab_1/v17/TestStore/0/testlog.manifest


+ 25 - 0
Practic_rab_1.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.4.33205.214
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Practic_rab_1", "Practic_rab_1\Practic_rab_1.csproj", "{700E2275-AEB9-42ED-8F02-E1BAA1CB3904}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{700E2275-AEB9-42ED-8F02-E1BAA1CB3904}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{700E2275-AEB9-42ED-8F02-E1BAA1CB3904}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{700E2275-AEB9-42ED-8F02-E1BAA1CB3904}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{700E2275-AEB9-42ED-8F02-E1BAA1CB3904}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {E3541656-DAEC-489B-AED8-58BB28148C48}
+	EndGlobalSection
+EndGlobal

+ 6 - 0
Practic_rab_1/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
+    </startup>
+</configuration>

+ 121 - 0
Practic_rab_1/Form1.Designer.cs

@@ -0,0 +1,121 @@
+namespace Practic_rab_1
+{
+    partial class FormForButtonClick
+    {
+        /// <summary>
+        /// Обязательная переменная конструктора.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Освободить все используемые ресурсы.
+        /// </summary>
+        /// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Код, автоматически созданный конструктором форм Windows
+
+        /// <summary>
+        /// Требуемый метод для поддержки конструктора — не изменяйте 
+        /// содержимое этого метода с помощью редактора кода.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.RedBtn = new System.Windows.Forms.Button();
+            this.YellowBtn = new System.Windows.Forms.Button();
+            this.BlueBtn = new System.Windows.Forms.Button();
+            this.PurpleBtn = new System.Windows.Forms.Button();
+            this.Metkalbl = new System.Windows.Forms.Label();
+            this.SuspendLayout();
+            // 
+            // RedBtn
+            // 
+            this.RedBtn.Font = new System.Drawing.Font("Neue Machina", 14.0979F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+            this.RedBtn.Location = new System.Drawing.Point(59, 333);
+            this.RedBtn.Name = "RedBtn";
+            this.RedBtn.Size = new System.Drawing.Size(204, 72);
+            this.RedBtn.TabIndex = 0;
+            this.RedBtn.Text = "Красный";
+            this.RedBtn.UseVisualStyleBackColor = true;
+            this.RedBtn.Click += new System.EventHandler(this.RedBtn_Click);
+            // 
+            // YellowBtn
+            // 
+            this.YellowBtn.Font = new System.Drawing.Font("Neue Machina", 14.0979F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+            this.YellowBtn.Location = new System.Drawing.Point(225, 231);
+            this.YellowBtn.Name = "YellowBtn";
+            this.YellowBtn.Size = new System.Drawing.Size(204, 72);
+            this.YellowBtn.TabIndex = 0;
+            this.YellowBtn.Text = "Желтый";
+            this.YellowBtn.UseVisualStyleBackColor = true;
+            this.YellowBtn.Click += new System.EventHandler(this.YellowBtn_Click);
+            // 
+            // BlueBtn
+            // 
+            this.BlueBtn.Font = new System.Drawing.Font("Neue Machina", 14.0979F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+            this.BlueBtn.Location = new System.Drawing.Point(412, 347);
+            this.BlueBtn.Name = "BlueBtn";
+            this.BlueBtn.Size = new System.Drawing.Size(204, 72);
+            this.BlueBtn.TabIndex = 0;
+            this.BlueBtn.Text = "Синий";
+            this.BlueBtn.UseVisualStyleBackColor = true;
+            this.BlueBtn.Click += new System.EventHandler(this.BlueBtn_Click);
+            // 
+            // PurpleBtn
+            // 
+            this.PurpleBtn.Font = new System.Drawing.Font("Neue Machina", 14.0979F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+            this.PurpleBtn.Location = new System.Drawing.Point(519, 231);
+            this.PurpleBtn.Name = "PurpleBtn";
+            this.PurpleBtn.Size = new System.Drawing.Size(204, 72);
+            this.PurpleBtn.TabIndex = 0;
+            this.PurpleBtn.Text = "Фиолетовый";
+            this.PurpleBtn.UseVisualStyleBackColor = true;
+            this.PurpleBtn.Click += new System.EventHandler(this.PurpleBtn_Click);
+            // 
+            // Metkalbl
+            // 
+            this.Metkalbl.AutoSize = true;
+            this.Metkalbl.Font = new System.Drawing.Font("Neue Machina", 22.15384F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+            this.Metkalbl.ForeColor = System.Drawing.SystemColors.ButtonFace;
+            this.Metkalbl.Location = new System.Drawing.Point(168, 71);
+            this.Metkalbl.Name = "Metkalbl";
+            this.Metkalbl.Size = new System.Drawing.Size(463, 58);
+            this.Metkalbl.TabIndex = 1;
+            this.Metkalbl.Text = "Нажимай на кнопки";
+            // 
+            // FormForButtonClick
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
+            this.ClientSize = new System.Drawing.Size(800, 450);
+            this.Controls.Add(this.Metkalbl);
+            this.Controls.Add(this.PurpleBtn);
+            this.Controls.Add(this.BlueBtn);
+            this.Controls.Add(this.YellowBtn);
+            this.Controls.Add(this.RedBtn);
+            this.Name = "FormForButtonClick";
+            this.Text = "Khasanov_sr";
+            this.Load += new System.EventHandler(this.FormForButtonClick_Load);
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Button RedBtn;
+        private System.Windows.Forms.Button YellowBtn;
+        private System.Windows.Forms.Button BlueBtn;
+        private System.Windows.Forms.Button PurpleBtn;
+        private System.Windows.Forms.Label Metkalbl;
+    }
+}
+

+ 62 - 0
Practic_rab_1/Form1.cs

@@ -0,0 +1,62 @@
+using System;
+using System.Drawing;
+
+
+namespace Practic_rab_1
+{
+    /// <summary>
+    /// Класс формы для работы с кнопками
+    /// </summary>
+    public partial class FormForButtonClick : System.Windows.Forms.Form
+    {
+        public FormForButtonClick()
+        {
+            InitializeComponent();
+        }
+
+        /// <summary>
+        /// Обработчик нажатия на кнопку RedBtn, изменяет цвет метки на красный
+        /// </summary>
+        private void RedBtn_Click(object sender, EventArgs e)
+        {
+            Metkalbl.ForeColor = Color.Red;
+        }
+
+        /// <summary>
+        /// Обработчик нажатия на кнопку YellowBtn, изменяет цвет метки на желтый
+        /// </summary>
+        private void YellowBtn_Click(object sender, EventArgs e)
+        {
+            Metkalbl.ForeColor = Color.Yellow;
+
+        }
+
+        /// <summary>
+        /// Обработчик нажатия на кнопку BlueBtn, изменяет цвет метки на синий
+        /// </summary>
+        private void BlueBtn_Click(object sender, EventArgs e)
+        {
+            Metkalbl.ForeColor = Color.Blue;
+
+        }
+
+        /// <summary>
+        /// Обработчик нажатия на кнопку PurpleBtn, изменяет цвет метки на фиолетовый
+        /// </summary>
+        private void PurpleBtn_Click(object sender, EventArgs e)
+        {
+            Metkalbl.ForeColor = Color.Purple;
+        }
+
+
+        /// <summary>
+        /// Обработчик события загрузки формы, устанавливает цвет фона формы - фиолетовый
+        /// </summary>
+        /// <param name="sender">Объект, который вызвал событие</param>
+        /// <param name="e">Аргументы события</param>
+        private void FormForButtonClick_Load(object sender, EventArgs e)
+        {
+            BackColor = Color.Purple;
+        }
+    }
+}

+ 120 - 0
Practic_rab_1/Form1.resx

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 83 - 0
Practic_rab_1/Practic_rab_1.csproj

@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{700E2275-AEB9-42ED-8F02-E1BAA1CB3904}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>Practic_rab_1</RootNamespace>
+    <AssemblyName>Practic_rab_1</AssemblyName>
+    <TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+    <Deterministic>true</Deterministic>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Deployment" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Form1.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Form1.Designer.cs">
+      <DependentUpon>Form1.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <EmbeddedResource Include="Form1.resx">
+      <DependentUpon>Form1.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <Compile Include="Properties\Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+    </None>
+    <Compile Include="Properties\Settings.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>

+ 22 - 0
Practic_rab_1/Program.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Practic_rab_1
+{
+    internal static class Program
+    {
+        /// <summary>
+        /// Главная точка входа для приложения.
+        /// </summary>
+        [STAThread]
+        static void Main()
+        {
+            Application.EnableVisualStyles();
+            Application.SetCompatibleTextRenderingDefault(false);
+            Application.Run(new FormForButtonClick());
+        }
+    }
+}

+ 36 - 0
Practic_rab_1/Properties/AssemblyInfo.cs

@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// Общие сведения об этой сборке предоставляются следующим набором
+// набора атрибутов. Измените значения этих атрибутов для изменения сведений,
+// связанных со сборкой.
+[assembly: AssemblyTitle("Practic_rab_1")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("HP Inc.")]
+[assembly: AssemblyProduct("Practic_rab_1")]
+[assembly: AssemblyCopyright("Copyright © HP Inc. 2023")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
+// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
+// COM, следует установить атрибут ComVisible в TRUE для этого типа.
+[assembly: ComVisible(false)]
+
+// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM
+[assembly: Guid("700e2275-aeb9-42ed-8f02-e1baa1cb3904")]
+
+// Сведения о версии сборки состоят из указанных ниже четырех значений:
+//
+//      Основной номер версии
+//      Дополнительный номер версии
+//      Номер сборки
+//      Редакция
+//
+// Можно задать все значения или принять номера сборки и редакции по умолчанию 
+// используя "*", как показано ниже:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 71 - 0
Practic_rab_1/Properties/Resources.Designer.cs

@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программным средством.
+//     Версия среды выполнения: 4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
+//     код создан повторно.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace Practic_rab_1.Properties
+{
+
+
+    /// <summary>
+    ///   Класс ресурсов со строгим типом для поиска локализованных строк и пр.
+    /// </summary>
+    // Этот класс был автоматически создан при помощи 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()
+        {
+        }
+
+        /// <summary>
+        ///   Возврат кэшированного экземпляра ResourceManager, используемого этим классом.
+        /// </summary>
+        [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("Practic_rab_1.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+
+        /// <summary>
+        ///   Переопределяет свойство CurrentUICulture текущего потока для всех
+        ///   подстановки ресурсов с помощью этого класса ресурсов со строгим типом.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture
+        {
+            get
+            {
+                return resourceCulture;
+            }
+            set
+            {
+                resourceCulture = value;
+            }
+        }
+    }
+}

+ 117 - 0
Practic_rab_1/Properties/Resources.resx

@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 30 - 0
Practic_rab_1/Properties/Settings.Designer.cs

@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     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.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace Practic_rab_1.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;
+            }
+        }
+    }
+}

+ 7 - 0
Practic_rab_1/Properties/Settings.settings

@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>

BIN
Practic_rab_1/bin/Debug/Practic_rab_1.exe


+ 6 - 0
Practic_rab_1/bin/Debug/Practic_rab_1.exe.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
+    </startup>
+</configuration>

BIN
Practic_rab_1/bin/Debug/Practic_rab_1.pdb


+ 4 - 0
Practic_rab_1/obj/Debug/.NETFramework,Version=v4.7.1.AssemblyAttributes.cs

@@ -0,0 +1,4 @@
+// <autogenerated />
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.1", FrameworkDisplayName = ".NET Framework 4.7.1")]

BIN
Practic_rab_1/obj/Debug/DesignTimeResolveAssemblyReferences.cache


BIN
Practic_rab_1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


BIN
Practic_rab_1/obj/Debug/Practic_rab_1.FormForButtonClick.resources


BIN
Practic_rab_1/obj/Debug/Practic_rab_1.Properties.Resources.resources


BIN
Practic_rab_1/obj/Debug/Practic_rab_1.csproj.AssemblyReference.cache


+ 1 - 0
Practic_rab_1/obj/Debug/Practic_rab_1.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+2db522712b8d188a2f30ebbd164a16dae450c0ae

+ 11 - 0
Practic_rab_1/obj/Debug/Practic_rab_1.csproj.FileListAbsolute.txt

@@ -0,0 +1,11 @@
+C:\Users\sulti\source\repos\Practic_rab_1\Practic_rab_1\bin\Debug\Practic_rab_1.exe.config
+C:\Users\sulti\source\repos\Practic_rab_1\Practic_rab_1\bin\Debug\Practic_rab_1.exe
+C:\Users\sulti\source\repos\Practic_rab_1\Practic_rab_1\bin\Debug\Practic_rab_1.pdb
+C:\Users\sulti\source\repos\Practic_rab_1\Practic_rab_1\obj\Debug\Practic_rab_1.csproj.AssemblyReference.cache
+C:\Users\sulti\source\repos\Practic_rab_1\Practic_rab_1\obj\Debug\Practic_rab_1.csproj.SuggestedBindingRedirects.cache
+C:\Users\sulti\source\repos\Practic_rab_1\Practic_rab_1\obj\Debug\Practic_rab_1.FormForButtonClick.resources
+C:\Users\sulti\source\repos\Practic_rab_1\Practic_rab_1\obj\Debug\Practic_rab_1.Properties.Resources.resources
+C:\Users\sulti\source\repos\Practic_rab_1\Practic_rab_1\obj\Debug\Practic_rab_1.csproj.GenerateResource.cache
+C:\Users\sulti\source\repos\Practic_rab_1\Practic_rab_1\obj\Debug\Practic_rab_1.csproj.CoreCompileInputs.cache
+C:\Users\sulti\source\repos\Practic_rab_1\Practic_rab_1\obj\Debug\Practic_rab_1.exe
+C:\Users\sulti\source\repos\Practic_rab_1\Practic_rab_1\obj\Debug\Practic_rab_1.pdb

BIN
Practic_rab_1/obj/Debug/Practic_rab_1.csproj.GenerateResource.cache


+ 0 - 0
Practic_rab_1/obj/Debug/Practic_rab_1.csproj.SuggestedBindingRedirects.cache


BIN
Practic_rab_1/obj/Debug/Practic_rab_1.exe


BIN
Practic_rab_1/obj/Debug/Practic_rab_1.pdb