Browse Source

Написал метод, для которого в дальнейшем будет произведено тестирование. Подготовил его к тесту

Егор 1 year ago
commit
49c24e0a5c
26 changed files with 707 additions and 0 deletions
  1. 6 0
      WindowsFormsAppUP02.02Alekseev2/App.config
  2. 110 0
      WindowsFormsAppUP02.02Alekseev2/FormMain.Designer.cs
  3. 73 0
      WindowsFormsAppUP02.02Alekseev2/FormMain.cs
  4. 120 0
      WindowsFormsAppUP02.02Alekseev2/FormMain.resx
  5. 22 0
      WindowsFormsAppUP02.02Alekseev2/Program.cs
  6. 36 0
      WindowsFormsAppUP02.02Alekseev2/Properties/AssemblyInfo.cs
  7. 71 0
      WindowsFormsAppUP02.02Alekseev2/Properties/Resources.Designer.cs
  8. 117 0
      WindowsFormsAppUP02.02Alekseev2/Properties/Resources.resx
  9. 30 0
      WindowsFormsAppUP02.02Alekseev2/Properties/Settings.Designer.cs
  10. 7 0
      WindowsFormsAppUP02.02Alekseev2/Properties/Settings.settings
  11. 83 0
      WindowsFormsAppUP02.02Alekseev2/WindowsFormsAppUP02.02Alekseev2.csproj
  12. BIN
      WindowsFormsAppUP02.02Alekseev2/bin/Debug/WindowsFormsAppUP02.02Alekseev2.exe
  13. 6 0
      WindowsFormsAppUP02.02Alekseev2/bin/Debug/WindowsFormsAppUP02.02Alekseev2.exe.config
  14. BIN
      WindowsFormsAppUP02.02Alekseev2/bin/Debug/WindowsFormsAppUP02.02Alekseev2.pdb
  15. 4 0
      WindowsFormsAppUP02.02Alekseev2/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
  16. BIN
      WindowsFormsAppUP02.02Alekseev2/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  17. BIN
      WindowsFormsAppUP02.02Alekseev2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  18. BIN
      WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.csproj.AssemblyReference.cache
  19. 1 0
      WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.csproj.CoreCompileInputs.cache
  20. 21 0
      WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.csproj.FileListAbsolute.txt
  21. BIN
      WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.csproj.GenerateResource.cache
  22. 0 0
      WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.csproj.SuggestedBindingRedirects.cache
  23. BIN
      WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.exe
  24. BIN
      WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.pdb
  25. BIN
      WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02._02Alekseev2.FormMain.resources
  26. BIN
      WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02._02Alekseev2.Properties.Resources.resources

+ 6 - 0
WindowsFormsAppUP02.02Alekseev2/App.config

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

+ 110 - 0
WindowsFormsAppUP02.02Alekseev2/FormMain.Designer.cs

@@ -0,0 +1,110 @@
+namespace WindowsFormsAppUP02._02Alekseev2
+{
+    partial class FormMain
+    {
+        /// <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.txtValueX = new System.Windows.Forms.TextBox();
+            this.txtValueY = new System.Windows.Forms.TextBox();
+            this.txtValueZ = new System.Windows.Forms.TextBox();
+            this.btnResultValue = new System.Windows.Forms.Button();
+            this.txtValueT = new System.Windows.Forms.TextBox();
+            this.SuspendLayout();
+            // 
+            // txtValueX
+            // 
+            this.txtValueX.Location = new System.Drawing.Point(160, 123);
+            this.txtValueX.Margin = new System.Windows.Forms.Padding(2);
+            this.txtValueX.Name = "txtValueX";
+            this.txtValueX.Size = new System.Drawing.Size(210, 20);
+            this.txtValueX.TabIndex = 0;
+            // 
+            // txtValueY
+            // 
+            this.txtValueY.Location = new System.Drawing.Point(160, 163);
+            this.txtValueY.Margin = new System.Windows.Forms.Padding(2);
+            this.txtValueY.Name = "txtValueY";
+            this.txtValueY.Size = new System.Drawing.Size(210, 20);
+            this.txtValueY.TabIndex = 1;
+            // 
+            // txtValueZ
+            // 
+            this.txtValueZ.Location = new System.Drawing.Point(160, 203);
+            this.txtValueZ.Margin = new System.Windows.Forms.Padding(2);
+            this.txtValueZ.Name = "txtValueZ";
+            this.txtValueZ.Size = new System.Drawing.Size(210, 20);
+            this.txtValueZ.TabIndex = 2;
+            // 
+            // btnResultValue
+            // 
+            this.btnResultValue.Location = new System.Drawing.Point(468, 162);
+            this.btnResultValue.Margin = new System.Windows.Forms.Padding(2);
+            this.btnResultValue.Name = "btnResultValue";
+            this.btnResultValue.Size = new System.Drawing.Size(208, 19);
+            this.btnResultValue.TabIndex = 3;
+            this.btnResultValue.Text = "Рассчитать значение t";
+            this.btnResultValue.UseVisualStyleBackColor = true;
+            this.btnResultValue.Click += new System.EventHandler(this.btnResultValueClick);
+            // 
+            // txtValueT
+            // 
+            this.txtValueT.Location = new System.Drawing.Point(160, 240);
+            this.txtValueT.Margin = new System.Windows.Forms.Padding(2);
+            this.txtValueT.Name = "txtValueT";
+            this.txtValueT.Size = new System.Drawing.Size(210, 20);
+            this.txtValueT.TabIndex = 4;
+            // 
+            // FormMain
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(993, 366);
+            this.Controls.Add(this.txtValueT);
+            this.Controls.Add(this.btnResultValue);
+            this.Controls.Add(this.txtValueZ);
+            this.Controls.Add(this.txtValueY);
+            this.Controls.Add(this.txtValueX);
+            this.Margin = new System.Windows.Forms.Padding(2);
+            this.Name = "FormMain";
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+            this.Text = "Главная форма программы";
+            this.Load += new System.EventHandler(this.Form1Load);
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.TextBox txtValueX;
+        private System.Windows.Forms.TextBox txtValueY;
+        private System.Windows.Forms.TextBox txtValueZ;
+        private System.Windows.Forms.Button btnResultValue;
+        private System.Windows.Forms.TextBox txtValueT;
+    }
+}
+

+ 73 - 0
WindowsFormsAppUP02.02Alekseev2/FormMain.cs

@@ -0,0 +1,73 @@
+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 WindowsFormsAppUP02._02Alekseev2
+{
+    /// <summary>
+    /// Класс FormMain, в котором реализована функция расчета ответа для переменной t, реализована кнопка, при нажатии на которую происходит расчет ответа
+    /// </summary>
+    public partial class FormMain : Form
+    {
+        /// <summary>
+        /// Метод, в котором происходит загрузка компонентов формы
+        /// </summary>
+        public FormMain()
+        {
+            InitializeComponent();
+        }
+
+        /// <summary>
+        /// Метод, в котором при загрузке формы меняется цвет фона, а также подставляются значения в TextBox
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void Form1Load(object sender, EventArgs e)
+        {
+            BackColor = Color.AntiqueWhite;
+            txtValueX.Text = "14,26";
+            txtValueY.Text = "-1,22";
+            txtValueZ.Text = "0,035";
+        }
+
+        /// <summary>
+        /// Метод кнопки, при нажатии на которую в TextBox подставляются записи и происходит расчет ответа 
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        public void btnResultValueClick(object sender, EventArgs e)
+        {
+            double X = double.Parse(txtValueX.Text);
+            txtValueX.Text += Environment.NewLine + " - Значение X";            
+            double Y = double.Parse(txtValueY.Text);
+            txtValueY.Text += Environment.NewLine + " - Значение Y";
+            double Z = double.Parse(txtValueZ.Text);
+            txtValueZ.Text += Environment.NewLine + " - Значение Z";
+
+            double t = 2 * Math.Cos(X - (Math.PI / 6)) / (0.5 + (Math.Pow(Math.Sin(Y), 2)) * 1 + (Math.Pow(Z, 2)) / (3 - (Math.Pow(Z, 2)) / 5));
+               
+            txtValueT.Text += Environment.NewLine + "Результат t = " + Math.Round(t, 6).ToString();
+        }
+
+        /// <summary>
+        /// Метод, предназначенный для unit-теста
+        /// </summary>
+        /// <param name="X">Переменная X, используемая в вычислениях примера. Ее значение - 14,26 </param>
+        /// <param name="Y">Переменная Y, используемая в вычислениях примера. Ее значение - -1,22 </param>
+        /// <param name="Z">Переменная Z, используемая в вычислениях примера. Ее значение - 0.035 </param>
+        /// <returns></returns>
+        public double btnResultValueClickTest(double X, double Y, double Z)
+        {
+            double t = 2 * Math.Cos(X - (Math.PI / 6)) / (0.5 + (Math.Pow(Math.Sin(Y), 2)) * 1 + (Math.Pow(Z, 2)) / (3 - (Math.Pow(Z, 2)) / 5));
+            t = Math.Round(t, 6);
+            txtValueT.Text += Environment.NewLine + "Результат t = " + t.ToString();
+            return t;
+        }
+    }
+}

+ 120 - 0
WindowsFormsAppUP02.02Alekseev2/FormMain.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>

+ 22 - 0
WindowsFormsAppUP02.02Alekseev2/Program.cs

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

+ 36 - 0
WindowsFormsAppUP02.02Alekseev2/Properties/AssemblyInfo.cs

@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// Общие сведения об этой сборке предоставляются следующим набором
+// набора атрибутов. Измените значения этих атрибутов для изменения сведений,
+// связанных со сборкой.
+[assembly: AssemblyTitle("WindowsFormsAppUP02.02Alekseev2")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("WindowsFormsAppUP02.02Alekseev2")]
+[assembly: AssemblyCopyright("Copyright ©  2024")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
+// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
+// COM, следует установить атрибут ComVisible в TRUE для этого типа.
+[assembly: ComVisible(false)]
+
+// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM
+[assembly: Guid("248973aa-8014-49aa-bc51-b0639bbfb489")]
+
+// Сведения о версии сборки состоят из указанных ниже четырех значений:
+//
+//      Основной номер версии
+//      Дополнительный номер версии
+//      Номер сборки
+//      Редакция
+//
+// Можно задать все значения или принять номера сборки и редакции по умолчанию 
+// используя "*", как показано ниже:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 71 - 0
WindowsFormsAppUP02.02Alekseev2/Properties/Resources.Designer.cs

@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программным средством.
+//     Версия среды выполнения: 4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
+//     код создан повторно.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace WindowsFormsAppUP02._02Alekseev2.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("WindowsFormsAppUP02._02Alekseev2.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
WindowsFormsAppUP02.02Alekseev2/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
WindowsFormsAppUP02.02Alekseev2/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 WindowsFormsAppUP02._02Alekseev2.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
WindowsFormsAppUP02.02Alekseev2/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>

+ 83 - 0
WindowsFormsAppUP02.02Alekseev2/WindowsFormsAppUP02.02Alekseev2.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>{248973AA-8014-49AA-BC51-B0639BBFB489}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>WindowsFormsAppUP02._02Alekseev2</RootNamespace>
+    <AssemblyName>WindowsFormsAppUP02.02Alekseev2</AssemblyName>
+    <TargetFrameworkVersion>v4.7.2</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="FormMain.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="FormMain.Designer.cs">
+      <DependentUpon>FormMain.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <EmbeddedResource Include="FormMain.resx">
+      <DependentUpon>FormMain.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>

BIN
WindowsFormsAppUP02.02Alekseev2/bin/Debug/WindowsFormsAppUP02.02Alekseev2.exe


+ 6 - 0
WindowsFormsAppUP02.02Alekseev2/bin/Debug/WindowsFormsAppUP02.02Alekseev2.exe.config

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

BIN
WindowsFormsAppUP02.02Alekseev2/bin/Debug/WindowsFormsAppUP02.02Alekseev2.pdb


+ 4 - 0
WindowsFormsAppUP02.02Alekseev2/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs

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

BIN
WindowsFormsAppUP02.02Alekseev2/obj/Debug/DesignTimeResolveAssemblyReferences.cache


BIN
WindowsFormsAppUP02.02Alekseev2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


BIN
WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.csproj.AssemblyReference.cache


+ 1 - 0
WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+df8daa71122233cede449c2f237cdc053c01c705

+ 21 - 0
WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.csproj.FileListAbsolute.txt

@@ -0,0 +1,21 @@
+G:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\bin\Debug\WindowsFormsAppUP02.02Alekseev2.exe.config
+G:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\bin\Debug\WindowsFormsAppUP02.02Alekseev2.exe
+G:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\bin\Debug\WindowsFormsAppUP02.02Alekseev2.pdb
+G:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02.02Alekseev2.csproj.AssemblyReference.cache
+G:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02._02Alekseev2.FormMain.resources
+G:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02._02Alekseev2.Properties.Resources.resources
+G:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02.02Alekseev2.csproj.GenerateResource.cache
+G:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02.02Alekseev2.csproj.CoreCompileInputs.cache
+G:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02.02Alekseev2.exe
+G:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02.02Alekseev2.pdb
+D:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\bin\Debug\WindowsFormsAppUP02.02Alekseev2.exe.config
+D:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\bin\Debug\WindowsFormsAppUP02.02Alekseev2.exe
+D:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\bin\Debug\WindowsFormsAppUP02.02Alekseev2.pdb
+D:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02.02Alekseev2.csproj.AssemblyReference.cache
+D:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02.02Alekseev2.csproj.SuggestedBindingRedirects.cache
+D:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02._02Alekseev2.FormMain.resources
+D:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02._02Alekseev2.Properties.Resources.resources
+D:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02.02Alekseev2.csproj.GenerateResource.cache
+D:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02.02Alekseev2.csproj.CoreCompileInputs.cache
+D:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02.02Alekseev2.exe
+D:\УП 02.02 С# 52\WindowsFormsAppUP02.02Alekseev\WindowsFormsAppUP02.02Alekseev2\obj\Debug\WindowsFormsAppUP02.02Alekseev2.pdb

BIN
WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.csproj.GenerateResource.cache


+ 0 - 0
WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.csproj.SuggestedBindingRedirects.cache


BIN
WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.exe


BIN
WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02.02Alekseev2.pdb


BIN
WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02._02Alekseev2.FormMain.resources


BIN
WindowsFormsAppUP02.02Alekseev2/obj/Debug/WindowsFormsAppUP02._02Alekseev2.Properties.Resources.resources