Ver código fonte

Сделал 5е задание

Igor 2 anos atrás
pai
commit
f978bdd2b7
43 arquivos alterados com 691 adições e 0 exclusões
  1. BIN
      Prakt1/WindowsFormsApp4/.vs/WindowsFormsApp4/FileContentIndex/2e6868ad-dece-4bc2-bd2e-e914f10be3c3.vsidx
  2. BIN
      Prakt1/WindowsFormsApp4/.vs/WindowsFormsApp4/FileContentIndex/410395d3-47f6-4441-bc83-9391a6cde3f8.vsidx
  3. BIN
      Prakt1/WindowsFormsApp4/.vs/WindowsFormsApp4/FileContentIndex/c7d7d2d3-b8f4-4d04-b566-4c724a9b6acc.vsidx
  4. BIN
      Prakt1/WindowsFormsApp4/.vs/WindowsFormsApp4/v17/.suo
  5. BIN
      Prakt1/WindowsFormsApp4/WindowsFormsApp4/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  6. BIN
      Prakt5/WindowsFormsApp1/.vs/WindowsFormsApp1/FileContentIndex/9b948349-53e9-485f-9ed4-0c745ff48ea2.vsidx
  7. BIN
      Prakt5/WindowsFormsApp1/.vs/WindowsFormsApp1/FileContentIndex/9ea0f08a-d405-4d88-90d3-f0185df84264.vsidx
  8. BIN
      Prakt5/WindowsFormsApp1/.vs/WindowsFormsApp1/FileContentIndex/bf998dcd-93dc-4fe0-86a2-c8dc6a9bfa8f.vsidx
  9. 0 0
      Prakt5/WindowsFormsApp1/.vs/WindowsFormsApp1/FileContentIndex/read.lock
  10. BIN
      Prakt5/WindowsFormsApp1/.vs/WindowsFormsApp1/v17/.suo
  11. 25 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1.sln
  12. 6 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/App.config
  13. 94 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/Lines.Designer.cs
  14. 46 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/Lines.cs
  15. 120 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/Lines.resx
  16. 22 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/Program.cs
  17. 36 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/Properties/AssemblyInfo.cs
  18. 71 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.Designer.cs
  19. 117 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.resx
  20. 30 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/Properties/Settings.Designer.cs
  21. 7 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/Properties/Settings.settings
  22. 83 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/WindowsFormsAppLines.csproj
  23. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe
  24. 6 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe.config
  25. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb
  26. 4 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
  27. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  28. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  29. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Form1.resources
  30. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Lines.resources
  31. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Properties.Resources.resources
  32. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.AssemblyReference.cache
  33. 1 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache
  34. 11 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.FileListAbsolute.txt
  35. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache
  36. 0 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.SuggestedBindingRedirects.cache
  37. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe
  38. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb
  39. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsAppLines.csproj.AssemblyReference.cache
  40. 1 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsAppLines.csproj.CoreCompileInputs.cache
  41. 11 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsAppLines.csproj.FileListAbsolute.txt
  42. BIN
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsAppLines.csproj.GenerateResource.cache
  43. 0 0
      Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsAppLines.csproj.SuggestedBindingRedirects.cache

BIN
Prakt1/WindowsFormsApp4/.vs/WindowsFormsApp4/FileContentIndex/2e6868ad-dece-4bc2-bd2e-e914f10be3c3.vsidx


BIN
Prakt1/WindowsFormsApp4/.vs/WindowsFormsApp4/FileContentIndex/410395d3-47f6-4441-bc83-9391a6cde3f8.vsidx


BIN
Prakt1/WindowsFormsApp4/.vs/WindowsFormsApp4/FileContentIndex/c7d7d2d3-b8f4-4d04-b566-4c724a9b6acc.vsidx


BIN
Prakt1/WindowsFormsApp4/.vs/WindowsFormsApp4/v17/.suo


BIN
Prakt1/WindowsFormsApp4/WindowsFormsApp4/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


BIN
Prakt5/WindowsFormsApp1/.vs/WindowsFormsApp1/FileContentIndex/9b948349-53e9-485f-9ed4-0c745ff48ea2.vsidx


BIN
Prakt5/WindowsFormsApp1/.vs/WindowsFormsApp1/FileContentIndex/9ea0f08a-d405-4d88-90d3-f0185df84264.vsidx


BIN
Prakt1/WindowsFormsApp4/.vs/WindowsFormsApp4/FileContentIndex/2785212c-d8ef-478b-b1df-cb6bc7cade8e.vsidx → Prakt5/WindowsFormsApp1/.vs/WindowsFormsApp1/FileContentIndex/bf998dcd-93dc-4fe0-86a2-c8dc6a9bfa8f.vsidx


+ 0 - 0
Prakt5/WindowsFormsApp1/.vs/WindowsFormsApp1/FileContentIndex/read.lock


BIN
Prakt5/WindowsFormsApp1/.vs/WindowsFormsApp1/v17/.suo


+ 25 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.5.33516.290
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsAppLines", "WindowsFormsApp1\WindowsFormsAppLines.csproj", "{EDF61C68-BFB5-4168-A4A1-C0E92E65D2D1}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{EDF61C68-BFB5-4168-A4A1-C0E92E65D2D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{EDF61C68-BFB5-4168-A4A1-C0E92E65D2D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{EDF61C68-BFB5-4168-A4A1-C0E92E65D2D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{EDF61C68-BFB5-4168-A4A1-C0E92E65D2D1}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {E596BBA2-6961-4DD6-BEDB-F32351AA6189}
+	EndGlobalSection
+EndGlobal

+ 6 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/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>

+ 94 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/Lines.Designer.cs

@@ -0,0 +1,94 @@
+namespace WindowsFormsApp1
+{
+    partial class Lines
+    {
+        /// <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.lbInput = new System.Windows.Forms.ListBox();
+            this.btnExecute = new System.Windows.Forms.Button();
+            this.lblOutput = new System.Windows.Forms.Label();
+            this.SuspendLayout();
+            // 
+            // lbInput
+            // 
+            this.lbInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+            this.lbInput.FormattingEnabled = true;
+            this.lbInput.ItemHeight = 18;
+            this.lbInput.Items.AddRange(new object[] {
+            "Привет мир!",
+            "Мама мыла раму",
+            "Visual C#",
+            "Новый телефон"});
+            this.lbInput.Location = new System.Drawing.Point(12, 15);
+            this.lbInput.Name = "lbInput";
+            this.lbInput.Size = new System.Drawing.Size(377, 274);
+            this.lbInput.TabIndex = 0;
+            // 
+            // btnExecute
+            // 
+            this.btnExecute.Location = new System.Drawing.Point(12, 311);
+            this.btnExecute.Name = "btnExecute";
+            this.btnExecute.Size = new System.Drawing.Size(102, 23);
+            this.btnExecute.TabIndex = 1;
+            this.btnExecute.Text = "Пуск";
+            this.btnExecute.UseVisualStyleBackColor = true;
+            this.btnExecute.Click += new System.EventHandler(this.btnExecute_Click);
+            // 
+            // lblOutput
+            // 
+            this.lblOutput.AutoSize = true;
+            this.lblOutput.BackColor = System.Drawing.SystemColors.ButtonFace;
+            this.lblOutput.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+            this.lblOutput.Location = new System.Drawing.Point(130, 314);
+            this.lblOutput.Name = "lblOutput";
+            this.lblOutput.Size = new System.Drawing.Size(0, 18);
+            this.lblOutput.TabIndex = 2;
+            // 
+            // Lines
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(401, 348);
+            this.Controls.Add(this.lblOutput);
+            this.Controls.Add(this.btnExecute);
+            this.Controls.Add(this.lbInput);
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
+            this.Name = "Lines";
+            this.Text = "lines";
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.ListBox lbInput;
+        private System.Windows.Forms.Button btnExecute;
+        private System.Windows.Forms.Label lblOutput;
+    }
+}
+

+ 46 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/Lines.cs

@@ -0,0 +1,46 @@
+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 WindowsFormsApp1
+{
+    public partial class Lines : Form
+    {
+        public Lines()
+        {
+            InitializeComponent();
+        }
+        public void Exectute()
+        {
+            int index = lbInput.SelectedIndex;
+            string[] lines = new string[index];
+            lines = lbInput.Items.Cast<string>().ToArray();
+            string word = lines[index];
+            StringBuilder builder = new StringBuilder(word);
+            string[] newLine = new string[3];
+            newLine = word.Split(' ');
+            {
+            string temp = newLine[1];
+            newLine[1] = newLine[0];
+            newLine[0] = temp;
+            }
+            if (newLine.Length != 2)
+            {
+                lblOutput.Text = newLine[0] + " " + newLine[1].ToLower() + " " + newLine[2];
+            } else
+            {
+                lblOutput.Text = newLine[0] + " " + newLine[1].ToLower();
+            }
+        }
+        private void btnExecute_Click(object sender, EventArgs e)
+        {
+            Exectute();
+        }
+    }
+}

+ 120 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/Lines.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
Prakt5/WindowsFormsApp1/WindowsFormsApp1/Program.cs

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

+ 36 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/Properties/AssemblyInfo.cs

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

+ 71 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.Designer.cs

@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программным средством.
+//     Версия среды выполнения: 4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
+//     код создан повторно.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace WindowsFormsApp1.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("WindowsFormsApp1.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
Prakt5/WindowsFormsApp1/WindowsFormsApp1/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
Prakt5/WindowsFormsApp1/WindowsFormsApp1/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 WindowsFormsApp1.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
Prakt5/WindowsFormsApp1/WindowsFormsApp1/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
Prakt5/WindowsFormsApp1/WindowsFormsApp1/WindowsFormsAppLines.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>{EDF61C68-BFB5-4168-A4A1-C0E92E65D2D1}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>WindowsFormsApp1</RootNamespace>
+    <AssemblyName>WindowsFormsApp1</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="Lines.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Lines.Designer.cs">
+      <DependentUpon>Lines.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <EmbeddedResource Include="Lines.resx">
+      <DependentUpon>Lines.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
Prakt5/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe


+ 6 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.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
Prakt5/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb


+ 4 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/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
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache


BIN
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


BIN
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Form1.resources


BIN
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Lines.resources


BIN
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Properties.Resources.resources


BIN
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.AssemblyReference.cache


+ 1 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+8069502011d0681850e57a53d5a1673222f430a6

+ 11 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.FileListAbsolute.txt

@@ -0,0 +1,11 @@
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe.config
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.pdb
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.AssemblyReference.cache
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.SuggestedBindingRedirects.cache
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Form1.resources
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Properties.Resources.resources
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.GenerateResource.cache
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.CoreCompileInputs.cache
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.exe
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.pdb

BIN
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache


+ 0 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.SuggestedBindingRedirects.cache


BIN
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe


BIN
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb


BIN
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsAppLines.csproj.AssemblyReference.cache


+ 1 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsAppLines.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+b75737e1313361ecfa620a7cfd219354ae3d91f6

+ 11 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsAppLines.csproj.FileListAbsolute.txt

@@ -0,0 +1,11 @@
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe.config
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.pdb
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsAppLines.csproj.AssemblyReference.cache
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsAppLines.csproj.SuggestedBindingRedirects.cache
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Lines.resources
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Properties.Resources.resources
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsAppLines.csproj.GenerateResource.cache
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsAppLines.csproj.CoreCompileInputs.cache
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.exe
+C:\Users\user\Desktop\Гит Практика\Prakt5\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.pdb

BIN
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsAppLines.csproj.GenerateResource.cache


+ 0 - 0
Prakt5/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsAppLines.csproj.SuggestedBindingRedirects.cache