diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json new file mode 100644 index 0000000..f8b4888 --- /dev/null +++ b/.vs/ProjectSettings.json @@ -0,0 +1,3 @@ +{ + "CurrentProjectSetting": null +} \ No newline at end of file diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..af8908e --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,7 @@ +{ + "ExpandedNodes": [ + "" + ], + "SelectedNode": "\\C:\\Users\\user\\Source\\Repos\\bbbb", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/bbbb/v17/.wsuo b/.vs/bbbb/v17/.wsuo new file mode 100644 index 0000000..b9a07d3 Binary files /dev/null and b/.vs/bbbb/v17/.wsuo differ diff --git a/.vs/bbbb/v17/DocumentLayout.json b/.vs/bbbb/v17/DocumentLayout.json new file mode 100644 index 0000000..830c1c4 --- /dev/null +++ b/.vs/bbbb/v17/DocumentLayout.json @@ -0,0 +1,12 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\user\\source\\repos\\bbbb\\", + "Documents": [], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [] + } + ] +} \ No newline at end of file diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..855adce Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/demo26052026/.vs/demo26052026/DesignTimeBuild/.dtbcache.v2 b/demo26052026/.vs/demo26052026/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..e4418d6 Binary files /dev/null and b/demo26052026/.vs/demo26052026/DesignTimeBuild/.dtbcache.v2 differ diff --git a/demo26052026/.vs/demo26052026/v16/.suo b/demo26052026/.vs/demo26052026/v16/.suo new file mode 100644 index 0000000..0ccca8f Binary files /dev/null and b/demo26052026/.vs/demo26052026/v16/.suo differ diff --git a/demo26052026/demo26052026.sln b/demo26052026/demo26052026.sln new file mode 100644 index 0000000..b982a78 --- /dev/null +++ b/demo26052026/demo26052026.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.37027.11 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "demo26052026", "demo26052026\demo26052026.csproj", "{9CB52BDA-94DE-45FD-BE1E-F4FEB1594E10}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9CB52BDA-94DE-45FD-BE1E-F4FEB1594E10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9CB52BDA-94DE-45FD-BE1E-F4FEB1594E10}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9CB52BDA-94DE-45FD-BE1E-F4FEB1594E10}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9CB52BDA-94DE-45FD-BE1E-F4FEB1594E10}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {87B8D565-AF6B-4133-ADFF-A918514F63E6} + EndGlobalSection +EndGlobal diff --git a/demo26052026/demo26052026/Form1.Designer.cs b/demo26052026/demo26052026/Form1.Designer.cs new file mode 100644 index 0000000..51af296 --- /dev/null +++ b/demo26052026/demo26052026/Form1.Designer.cs @@ -0,0 +1,129 @@ + +namespace demo26052026 +{ + partial class Form1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.comboBox2 = new System.Windows.Forms.ComboBox(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // flowLayoutPanel1 + // + this.flowLayoutPanel1.AutoScroll = true; + this.flowLayoutPanel1.Location = new System.Drawing.Point(9, 70); + this.flowLayoutPanel1.Name = "flowLayoutPanel1"; + this.flowLayoutPanel1.Size = new System.Drawing.Size(843, 359); + this.flowLayoutPanel1.TabIndex = 0; + // + // comboBox1 + // + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Items.AddRange(new object[] { + "По возрастанию", + "По убыванию"}); + this.comboBox1.Location = new System.Drawing.Point(23, 13); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(151, 28); + this.comboBox1.TabIndex = 1; + this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); + // + // comboBox2 + // + this.comboBox2.FormattingEnabled = true; + this.comboBox2.Items.AddRange(new object[] { + "Все поставщики", + "Kari", + "Обувь для вас"}); + this.comboBox2.Location = new System.Drawing.Point(192, 12); + this.comboBox2.Name = "comboBox2"; + this.comboBox2.Size = new System.Drawing.Size(151, 28); + this.comboBox2.TabIndex = 2; + this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged); + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(370, 13); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(251, 27); + this.textBox1.TabIndex = 3; + this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(653, 13); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(94, 29); + this.button1.TabIndex = 4; + this.button1.Text = "Добавить"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(754, 12); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(94, 29); + this.button2.TabIndex = 5; + this.button2.Text = "Заказы"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(861, 443); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.comboBox2); + this.Controls.Add(this.comboBox1); + this.Controls.Add(this.flowLayoutPanel1); + this.Name = "Form1"; + this.Text = "Form1"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.ComboBox comboBox2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + } +} + diff --git a/demo26052026/demo26052026/Form1.cs b/demo26052026/demo26052026/Form1.cs new file mode 100644 index 0000000..a80dbec --- /dev/null +++ b/demo26052026/demo26052026/Form1.cs @@ -0,0 +1,140 @@ +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; +using Npgsql; + +namespace demo26052026 +{ + public partial class Form1 : Form + { + static string ConnString = "Server=localhost;Port=5432;Database=newdemo262;Username=postgres;Password=Swa2sWA13;"; + public Form1() + { + InitializeComponent(); + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + NpgsqlCommand npgsqlCommand = new NpgsqlCommand(@$"SELECT ""Articul"", (SELECT ""Imia"" FROM public.""Naimenovanie"" WHERE ""ID_Naim"" = ""Naim_ID""), ""Ed_izm"", ""Cena"", (SELECT ""Imia"" FROM public.""Postavchik"" WHERE ""ID_Postavchik"" = ""Postav_ID""), (SELECT ""Imia"" FROM public.""Proizvoditel"" WHERE ""ID_Proizvoditel"" = ""Proizvod_ID"") , (SELECT ""Imia"" FROM public.""Kategory"" WHERE ""ID_Kategory"" = ""Kategory_ID""), ""Skidka"", ""Kolichestvo"", ""Opisanie"", ""Photo"", ""ID_Tovar"" FROM public.""Tovar"";", npgsqlConnection); + DataTable dataTable = new DataTable(); + dataTable.Load(npgsqlCommand.ExecuteReader()); + for (int i = 0; i < dataTable.Rows.Count; i++) + { + UserControl1 us = new UserControl1(this); + us.Name = dataTable.Rows[i].ItemArray[11].ToString(); + us.textBox1.Text = dataTable.Rows[i].ItemArray[1].ToString() + " | " + dataTable.Rows[i].ItemArray[6].ToString(); + us.textBox2.Text = dataTable.Rows[i].ItemArray[9].ToString(); + us.textBox3.Text = dataTable.Rows[i].ItemArray[5].ToString(); + us.textBox4.Text = dataTable.Rows[i].ItemArray[4].ToString(); + us.textBox5.Text = dataTable.Rows[i].ItemArray[3].ToString(); + us.textBox6.Text = dataTable.Rows[i].ItemArray[2].ToString(); + us.textBox7.Text = dataTable.Rows[i].ItemArray[8].ToString(); + us.textBox8.Text = dataTable.Rows[i].ItemArray[7].ToString(); + + if(dataTable.Rows[i].ItemArray[10].ToString() != "") + { + us.pictureBox1.Image = Image.FromFile(dataTable.Rows[i].ItemArray[10].ToString()); + } + else + { + us.pictureBox1.Image = Image.FromFile("picture.png"); + } + flowLayoutPanel1.Controls.Add(us); + } + npgsqlConnection.Close(); + + } + + private void textBox1_TextChanged(object sender, EventArgs e) + { + SearchAll(); + } + + private void comboBox2_SelectedIndexChanged(object sender, EventArgs e) + { + SearchAll(); + } + + private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) + { + SearchAll(); + } + + public void SearchAll() + { + flowLayoutPanel1.Controls.Clear(); + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + + string dob = ""; + if(comboBox1.SelectedIndex == 0) + { + dob = $@"ORDER BY ""Kolichestvo"" ASC"; + } + else if(comboBox1.SelectedIndex == 1) + { + dob = $@"ORDER BY ""Kolichestvo"" DESC"; + } + + + string dob2 = ""; + + if (comboBox2.SelectedIndex == 1) + { + dob2 = $@" AND ""Postav_ID"" = 1 "; + } + else if (comboBox2.SelectedIndex == 2) + { + dob2 = $@" AND ""Postav_ID"" = 2 "; + } + + + NpgsqlCommand npgsqlCommand = new NpgsqlCommand(@$"SELECT ""Articul"", (SELECT ""Imia"" FROM public.""Naimenovanie"" WHERE ""ID_Naim"" = ""Naim_ID""), ""Ed_izm"", ""Cena"", (SELECT ""Imia"" FROM public.""Postavchik"" WHERE ""ID_Postavchik"" = ""Postav_ID""), (SELECT ""Imia"" FROM public.""Proizvoditel"" WHERE ""ID_Proizvoditel"" = ""Proizvod_ID"") , (SELECT ""Imia"" FROM public.""Kategory"" WHERE ""ID_Kategory"" = ""Kategory_ID""), ""Skidka"", ""Kolichestvo"", ""Opisanie"", ""Photo"", ""ID_Tovar"" FROM public.""Tovar"" WHERE (SELECT ""Imia"" FROM public.""Naimenovanie"" WHERE ""ID_Naim"" = ""Naim_ID"") || ""Ed_izm"" || ""Cena"" || (SELECT ""Imia"" FROM public.""Postavchik"" WHERE ""ID_Postavchik"" = ""Postav_ID"") || (SELECT ""Imia"" FROM public.""Proizvoditel"" WHERE ""ID_Proizvoditel"" = ""Proizvod_ID"") || (SELECT ""Imia"" FROM public.""Kategory"" WHERE ""ID_Kategory"" = ""Kategory_ID"") || ""Skidka"" || ""Kolichestvo"" || ""Opisanie"" || ""Photo"" ILIKE '%{textBox1.Text}%'" + dob2 + dob, npgsqlConnection); + + DataTable dataTable = new DataTable(); + dataTable.Load(npgsqlCommand.ExecuteReader()); + for (int i = 0; i < dataTable.Rows.Count; i++) + { + UserControl1 us = new UserControl1(this); + us.Name = dataTable.Rows[i].ItemArray[11].ToString(); + us.textBox1.Text = dataTable.Rows[i].ItemArray[1].ToString() + " | " + dataTable.Rows[i].ItemArray[6].ToString(); + us.textBox2.Text = dataTable.Rows[i].ItemArray[9].ToString(); + us.textBox3.Text = dataTable.Rows[i].ItemArray[5].ToString(); + us.textBox4.Text = dataTable.Rows[i].ItemArray[4].ToString(); + us.textBox5.Text = dataTable.Rows[i].ItemArray[3].ToString(); + us.textBox6.Text = dataTable.Rows[i].ItemArray[2].ToString(); + us.textBox7.Text = dataTable.Rows[i].ItemArray[8].ToString(); + us.textBox8.Text = dataTable.Rows[i].ItemArray[7].ToString(); + + if (dataTable.Rows[i].ItemArray[10].ToString() != "") + { + us.pictureBox1.Image = Image.FromFile(dataTable.Rows[i].ItemArray[10].ToString()); + } + else + { + us.pictureBox1.Image = Image.FromFile("picture.png"); + } + flowLayoutPanel1.Controls.Add(us); + } + npgsqlConnection.Close(); + } + + private void button1_Click(object sender, EventArgs e) + { + this.Hide(); + Form2 fr = new Form2(0); + fr.ShowDialog(); + } + + private void button2_Click(object sender, EventArgs e) + { + this.Hide(); + Form3 form3 = new Form3(); + form3.ShowDialog(); + } + } +} diff --git a/demo26052026/demo26052026/Form1.resx b/demo26052026/demo26052026/Form1.resx new file mode 100644 index 0000000..f298a7b --- /dev/null +++ b/demo26052026/demo26052026/Form1.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/demo26052026/demo26052026/Form2.Designer.cs b/demo26052026/demo26052026/Form2.Designer.cs new file mode 100644 index 0000000..c7ec428 --- /dev/null +++ b/demo26052026/demo26052026/Form2.Designer.cs @@ -0,0 +1,233 @@ + +namespace demo26052026 +{ + partial class Form2 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.comboBox2 = new System.Windows.Forms.ComboBox(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.comboBox3 = new System.Windows.Forms.ComboBox(); + this.comboBox4 = new System.Windows.Forms.ComboBox(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.comboBox5 = new System.Windows.Forms.ComboBox(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.textBox5 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // pictureBox1 + // + this.pictureBox1.Location = new System.Drawing.Point(12, 54); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(165, 276); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); + // + // comboBox1 + // + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Items.AddRange(new object[] { + "Женская обувь", + "Мужская обувь"}); + this.comboBox1.Location = new System.Drawing.Point(209, 12); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(151, 28); + this.comboBox1.TabIndex = 1; + // + // comboBox2 + // + this.comboBox2.FormattingEnabled = true; + this.comboBox2.Items.AddRange(new object[] { + "\"Ботинки\"", + "\"Кеды\"", + "\"Кроссовки\"", + "\"Полуботинки\"", + "\"Сапоги\"", + "\"Тапочки\"", + "\"Туфли\""}); + this.comboBox2.Location = new System.Drawing.Point(385, 12); + this.comboBox2.Name = "comboBox2"; + this.comboBox2.Size = new System.Drawing.Size(151, 28); + this.comboBox2.TabIndex = 2; + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(209, 54); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(327, 27); + this.textBox1.TabIndex = 3; + // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(209, 99); + this.textBox2.Multiline = true; + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(327, 48); + this.textBox2.TabIndex = 4; + // + // comboBox3 + // + this.comboBox3.FormattingEnabled = true; + this.comboBox3.Items.AddRange(new object[] { + "\"Ботинки\"", + "\"Кеды\"", + "\"Кроссовки\"", + "\"Полуботинки\"", + "\"Сапоги\"", + "\"Тапочки\"", + "\"Туфли\""}); + this.comboBox3.Location = new System.Drawing.Point(209, 165); + this.comboBox3.Name = "comboBox3"; + this.comboBox3.Size = new System.Drawing.Size(327, 28); + this.comboBox3.TabIndex = 5; + // + // comboBox4 + // + this.comboBox4.FormattingEnabled = true; + this.comboBox4.Items.AddRange(new object[] { + "Kari", + "Обувь для вас"}); + this.comboBox4.Location = new System.Drawing.Point(209, 199); + this.comboBox4.Name = "comboBox4"; + this.comboBox4.Size = new System.Drawing.Size(327, 28); + this.comboBox4.TabIndex = 6; + // + // textBox3 + // + this.textBox3.Location = new System.Drawing.Point(209, 234); + this.textBox3.Name = "textBox3"; + this.textBox3.Size = new System.Drawing.Size(327, 27); + this.textBox3.TabIndex = 7; + // + // comboBox5 + // + this.comboBox5.FormattingEnabled = true; + this.comboBox5.Items.AddRange(new object[] { + "шт."}); + this.comboBox5.Location = new System.Drawing.Point(209, 268); + this.comboBox5.Name = "comboBox5"; + this.comboBox5.Size = new System.Drawing.Size(327, 28); + this.comboBox5.TabIndex = 8; + // + // textBox4 + // + this.textBox4.Location = new System.Drawing.Point(209, 303); + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(327, 27); + this.textBox4.TabIndex = 9; + // + // textBox5 + // + this.textBox5.Location = new System.Drawing.Point(675, 132); + this.textBox5.Name = "textBox5"; + this.textBox5.Size = new System.Drawing.Size(168, 27); + this.textBox5.TabIndex = 10; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(797, 409); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(94, 29); + this.button1.TabIndex = 11; + this.button1.Text = "Сохранить"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(689, 409); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(94, 29); + this.button2.TabIndex = 12; + this.button2.Text = "Удалить"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // button3 + // + this.button3.Location = new System.Drawing.Point(12, 409); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(94, 29); + this.button3.TabIndex = 13; + this.button3.Text = "Назад"; + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // Form2 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(918, 450); + this.Controls.Add(this.button3); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox5); + this.Controls.Add(this.textBox4); + this.Controls.Add(this.comboBox5); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.comboBox4); + this.Controls.Add(this.comboBox3); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.comboBox2); + this.Controls.Add(this.comboBox1); + this.Controls.Add(this.pictureBox1); + this.Name = "Form2"; + this.Text = "Form2"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.ComboBox comboBox2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.ComboBox comboBox3; + private System.Windows.Forms.ComboBox comboBox4; + private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.ComboBox comboBox5; + private System.Windows.Forms.TextBox textBox4; + private System.Windows.Forms.TextBox textBox5; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button3; + } +} \ No newline at end of file diff --git a/demo26052026/demo26052026/Form2.cs b/demo26052026/demo26052026/Form2.cs new file mode 100644 index 0000000..c2111eb --- /dev/null +++ b/demo26052026/demo26052026/Form2.cs @@ -0,0 +1,109 @@ +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; +using Npgsql; + +namespace demo26052026 +{ + public partial class Form2 : Form + { + int IDs { get; set; } + static string ConnString = "Server=localhost;Port=5432;Database=newdemo262;Username=postgres;Password=Swa2sWA13;"; + public Form2(int ID) + { + IDs = ID; + InitializeComponent(); + if (ID != 0) + { + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + NpgsqlCommand npgsqlCommand = new NpgsqlCommand(@$"SELECT ""Articul"", ""Naim_ID"", ""Ed_izm"", ""Cena"", ""Postav_ID"", ""Proizvod_ID"", ""Kategory_ID"", ""Skidka"", ""Kolichestvo"", ""Opisanie"", ""Photo"", ""ID_Tovar"" FROM public.""Tovar"" WHERE ""ID_Tovar"" = {ID};", npgsqlConnection); + DataTable dataTable = new DataTable(); + dataTable.Load(npgsqlCommand.ExecuteReader()); + + + comboBox1.SelectedIndex = int.Parse(dataTable.Rows[0].ItemArray[1].ToString()) - 1; + comboBox2.SelectedIndex = int.Parse(dataTable.Rows[0].ItemArray[6].ToString()) - 1; + textBox1.Text = dataTable.Rows[0].ItemArray[0].ToString(); + + textBox2.Text = dataTable.Rows[0].ItemArray[9].ToString(); + comboBox3.SelectedIndex = int.Parse(dataTable.Rows[0].ItemArray[5].ToString()) - 1; + comboBox4.SelectedIndex = int.Parse(dataTable.Rows[0].ItemArray[4].ToString()) - 1; + + textBox3.Text = dataTable.Rows[0].ItemArray[3].ToString(); + comboBox5.SelectedIndex = 0; + + textBox4.Text = dataTable.Rows[0].ItemArray[8].ToString(); + textBox5.Text = dataTable.Rows[0].ItemArray[7].ToString(); + + if (dataTable.Rows[0].ItemArray[10].ToString() != "") + { + pictureBox1.Image = Image.FromFile(dataTable.Rows[0].ItemArray[10].ToString()); + PhotoPath = dataTable.Rows[0].ItemArray[10].ToString(); + } + else + { + pictureBox1.Image = Image.FromFile("picture.png"); + } + + + npgsqlConnection.Close(); + } + } + + string PhotoPath = "picture.png"; + private void pictureBox1_Click(object sender, EventArgs e) + { + OpenFileDialog openFileDialog = new OpenFileDialog(); + if(openFileDialog.ShowDialog() == DialogResult.OK) + { + PhotoPath = openFileDialog.FileName; + } + + } + + private void button3_Click(object sender, EventArgs e) + { + this.Hide(); + Form1 form1 = new Form1(); + form1.ShowDialog(); + } + + private void button1_Click(object sender, EventArgs e) + { + if (IDs == 0) + { + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + NpgsqlCommand npgsqlCommand = new NpgsqlCommand(@$"INSERT INTO public.""Tovar""(""Articul"", ""Naim_ID"", ""Ed_izm"", ""Cena"", ""Postav_ID"", ""Proizvod_ID"", ""Kategory_ID"", ""Skidka"", ""Kolichestvo"", ""Opisanie"", ""Photo"") VALUES ('{textBox1.Text}', {comboBox2.SelectedIndex + 1}, '{comboBox5.SelectedItem.ToString()}', {textBox3.Text}, {comboBox4.SelectedIndex + 1}, {comboBox3.SelectedIndex + 1}, {comboBox1.SelectedIndex + 1}, {textBox5.Text}, {textBox4.Text}, {textBox2.Text}, {PhotoPath});", npgsqlConnection); + npgsqlCommand.ExecuteNonQuery(); + npgsqlConnection.Close(); + MessageBox.Show("Запись успешно внесенна"); + } + else + { + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + NpgsqlCommand npgsqlCommand = new NpgsqlCommand(@$"UPDATE public.""Tovar"" SET ""Articul""='{textBox1.Text}', ""Naim_ID""={comboBox2.SelectedIndex + 1}, ""Ed_izm""='{comboBox5.SelectedItem.ToString()}', ""Cena""= {textBox3.Text}, ""Postav_ID""={comboBox4.SelectedIndex + 1}, ""Proizvod_ID""={comboBox3.SelectedIndex + 1}, ""Kategory_ID""={comboBox1.SelectedIndex + 1}, ""Skidka""={textBox5.Text}, ""Kolichestvo""={textBox4.Text}, ""Opisanie""={textBox2.Text}, ""Photo""={PhotoPath} WHERE ""ID_Tovar""= {IDs};", npgsqlConnection); + npgsqlCommand.ExecuteNonQuery(); + npgsqlConnection.Close(); + MessageBox.Show("Запись успешно измененна"); + } + } + + private void button2_Click(object sender, EventArgs e) + { + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + NpgsqlCommand npgsqlCommand = new NpgsqlCommand(@$"DELETE FROM public.""Tovar"" WHERE ""ID_Tovar"" = {IDs};", npgsqlConnection); + npgsqlCommand.ExecuteNonQuery(); + npgsqlConnection.Close(); + } + } +} diff --git a/demo26052026/demo26052026/Form2.resx b/demo26052026/demo26052026/Form2.resx new file mode 100644 index 0000000..f298a7b --- /dev/null +++ b/demo26052026/demo26052026/Form2.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/demo26052026/demo26052026/Form3.Designer.cs b/demo26052026/demo26052026/Form3.Designer.cs new file mode 100644 index 0000000..f0964dc --- /dev/null +++ b/demo26052026/demo26052026/Form3.Designer.cs @@ -0,0 +1,84 @@ + +namespace demo26052026 +{ + partial class Form3 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // flowLayoutPanel1 + // + this.flowLayoutPanel1.Location = new System.Drawing.Point(13, 67); + this.flowLayoutPanel1.Name = "flowLayoutPanel1"; + this.flowLayoutPanel1.Size = new System.Drawing.Size(775, 371); + this.flowLayoutPanel1.TabIndex = 0; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(694, 12); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(94, 29); + this.button1.TabIndex = 1; + this.button1.Text = "Добавить"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(22, 13); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(94, 29); + this.button2.TabIndex = 2; + this.button2.Text = "Назад"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // Form3 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Controls.Add(this.flowLayoutPanel1); + this.Name = "Form3"; + this.Text = "Form3"; + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + } +} \ No newline at end of file diff --git a/demo26052026/demo26052026/Form3.cs b/demo26052026/demo26052026/Form3.cs new file mode 100644 index 0000000..55b7912 --- /dev/null +++ b/demo26052026/demo26052026/Form3.cs @@ -0,0 +1,67 @@ +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; +using Npgsql; + +namespace demo26052026 +{ + public partial class Form3 : Form + { + static string ConnString = "Server=localhost;Port=5432;Database=newdemo262;Username=postgres;Password=Swa2sWA13;"; + public Form3() + { + InitializeComponent(); + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + NpgsqlCommand npgsqlCommand = new NpgsqlCommand($@"SELECT ""Data_Z"", ""Data_P"", (SELECT ""Imia"" FROM public.""Adressa"" WHERE ""ID_Adress"" = ""Adress_ID""), (SELECT ""Imia"" FROM public.""Status"" WHERE ""ID_Status"" = ""Status"" ), ""ID_Zakaza"" FROM public.""Zakaz"";", npgsqlConnection); + DataTable dataTable = new DataTable(); + dataTable.Load(npgsqlCommand.ExecuteReader()); + npgsqlConnection.Close(); + for (int i = 0; i < dataTable.Rows.Count; i++) + { + UserControl2 userControl2 = new UserControl2(this); + userControl2.textBox2.Text = dataTable.Rows[i].ItemArray[3].ToString(); + userControl2.textBox3.Text = dataTable.Rows[i].ItemArray[2].ToString(); + userControl2.textBox4.Text = dataTable.Rows[i].ItemArray[0].ToString(); + userControl2.textBox5.Text = dataTable.Rows[i].ItemArray[1].ToString(); + userControl2.Name = dataTable.Rows[i].ItemArray[4].ToString(); + + NpgsqlConnection npgsqlConnection2 = new NpgsqlConnection(ConnString); + npgsqlConnection2.Open(); + NpgsqlCommand npgsqlCommand2 = new NpgsqlCommand($@"SELECT (SELECT ""Articul"" FROM public.""Tovar"" WHERE ""ID_Tovar"" =""Tovar_ID""), ""Kolichestvo"" FROM public.""Sostav"" WHERE ""Zakaz_ID"" = {dataTable.Rows[i].ItemArray[4].ToString()};", npgsqlConnection2); + DataTable dataTable2 = new DataTable(); + dataTable2.Load(npgsqlCommand2.ExecuteReader()); + npgsqlConnection2.Close(); + string dataArt = ""; + for(int j = 0; j < dataTable2.Rows.Count; j++) + { + dataArt = dataArt + dataTable2.Rows[j].ItemArray[0].ToString() + ", " + dataTable2.Rows[j].ItemArray[1].ToString() + " "; + } + userControl2.textBox1.Text = dataArt; + flowLayoutPanel1.Controls.Add(userControl2); + + } + + } + + private void button2_Click(object sender, EventArgs e) + { + this.Hide(); + Form1 form1 = new Form1(); + form1.ShowDialog(); + } + + private void button1_Click(object sender, EventArgs e) + { + this.Hide(); + Form4 form4 = new Form4(0); + form4.ShowDialog(); + } + } +} diff --git a/demo26052026/demo26052026/Form3.resx b/demo26052026/demo26052026/Form3.resx new file mode 100644 index 0000000..f298a7b --- /dev/null +++ b/demo26052026/demo26052026/Form3.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/demo26052026/demo26052026/Form4.Designer.cs b/demo26052026/demo26052026/Form4.Designer.cs new file mode 100644 index 0000000..b9dfb50 --- /dev/null +++ b/demo26052026/demo26052026/Form4.Designer.cs @@ -0,0 +1,276 @@ + +namespace demo26052026 +{ + partial class Form4 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.listBox1 = new System.Windows.Forms.ListBox(); + this.button1 = new System.Windows.Forms.Button(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.comboBox2 = new System.Windows.Forms.ComboBox(); + this.comboBox3 = new System.Windows.Forms.ComboBox(); + this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); + this.button2 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.maskedTextBox1 = new System.Windows.Forms.MaskedTextBox(); + this.maskedTextBox2 = new System.Windows.Forms.MaskedTextBox(); + this.button4 = new System.Windows.Forms.Button(); + this.button5 = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); + this.SuspendLayout(); + // + // listBox1 + // + this.listBox1.FormattingEnabled = true; + this.listBox1.ItemHeight = 20; + this.listBox1.Location = new System.Drawing.Point(568, 13); + this.listBox1.Name = "listBox1"; + this.listBox1.Size = new System.Drawing.Size(220, 184); + this.listBox1.TabIndex = 2; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(264, 13); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(94, 29); + this.button1.TabIndex = 3; + this.button1.Text = "Добавить"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // comboBox1 + // + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Items.AddRange(new object[] { + "\"420151, г. Лесной, ул. Вишневая, 32\"", + "\"125061, г. Лесной, ул. Подгорная, 8\"", + "\"630370, г. Лесной, ул. Шоссейная, 24\"", + "\"400562, г. Лесной, ул. Зеленая, 32\"", + "\"614510, г. Лесной, ул. Маяковского, 47\"", + "\"410542, г. Лесной, ул. Светлая, 46\"", + "\"620839, г. Лесной, ул. Цветочная, 8\"", + "\"443890, г. Лесной, ул. Коммунистическая, 1\"", + "\"603379, г. Лесной, ул. Спортивная, 46\"", + "\"603721, г. Лесной, ул. Гоголя, 41\"", + "\"410172, г. Лесной, ул. Северная, 13\"", + "\"614611, г. Лесной, ул. Молодежная, 50\"", + "\"454311, г.Лесной, ул. Новая, 19\"", + "\"660007, г.Лесной, ул. Октябрьская, 19\"", + "\"603036, г. Лесной, ул. Садовая, 4\"", + "\"394060, г.Лесной, ул. Фрунзе, 43\"", + "\"410661, г. Лесной, ул. Школьная, 50\"", + "\"625590, г. Лесной, ул. Коммунистическая, 20\"", + "\"625683, г. Лесной, ул. 8 Марта\"", + "\"450983, г.Лесной, ул. Комсомольская, 26\"", + "\"394782, г. Лесной, ул. Чехова, 3\"", + "\"603002, г. Лесной, ул. Дзержинского, 28\"", + "\"450558, г. Лесной, ул. Набережная, 30\"", + "\"344288, г. Лесной, ул. Чехова, 1\"", + "\"614164, г.Лесной,  ул. Степная, 30\"", + "\"394242, г. Лесной, ул. Коммунистическая, 43\"", + "\"660540, г. Лесной, ул. Солнечная, 25\"", + "\"125837, г. Лесной, ул. Шоссейная, 40\"", + "\"125703, г. Лесной, ул. Партизанская, 49\"", + "\"625283, г. Лесной, ул. Победы, 46\"", + "\"614753, г. Лесной, ул. Полевая, 35\"", + "\"426030, г. Лесной, ул. Маяковского, 44\"", + "\"450375, г. Лесной ул. Клубная, 44\"", + "\"625560, г. Лесной, ул. Некрасова, 12\"", + "\"630201, г. Лесной, ул. Комсомольская, 17\"", + "\"190949, г. Лесной, ул. Мичурина, 26\""}); + this.comboBox1.Location = new System.Drawing.Point(12, 118); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(186, 28); + this.comboBox1.TabIndex = 4; + this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); + // + // comboBox2 + // + this.comboBox2.FormattingEnabled = true; + this.comboBox2.Items.AddRange(new object[] { + "\"Завершен\"", + "\"Новый \""}); + this.comboBox2.Location = new System.Drawing.Point(229, 118); + this.comboBox2.Name = "comboBox2"; + this.comboBox2.Size = new System.Drawing.Size(197, 28); + this.comboBox2.TabIndex = 7; + // + // comboBox3 + // + this.comboBox3.FormattingEnabled = true; + this.comboBox3.Items.AddRange(new object[] { + "\"А112Т4\"", + "\"F635R4\"", + "\"H782T5\"", + "\"G783F5\"", + "\"J384T6\"", + "\"D572U8\"", + "\"F572H7\"", + "\"D329H3\"", + "\"B320R5\"", + "\"G432E4\"", + "\"S213E3\"", + "\"E482R4\"", + "\"S634B5\"", + "\"K345R4\"", + "\"O754F4\"", + "\"G531F4\"", + "\"J542F5\"", + "\"B431R5\"", + "\"P764G4\"", + "\"C436G5\"", + "\"F427R5\"", + "\"N457T5\"", + "\"D364R4\"", + "\"S326R5\"", + "\"L754R4\"", + "\"M542T5\"", + "\"D268G5\"", + "\"T324F5\"", + "\"K358H6\"", + "\"H535R5\""}); + this.comboBox3.Location = new System.Drawing.Point(12, 13); + this.comboBox3.Name = "comboBox3"; + this.comboBox3.Size = new System.Drawing.Size(151, 28); + this.comboBox3.TabIndex = 8; + // + // numericUpDown1 + // + this.numericUpDown1.Location = new System.Drawing.Point(13, 70); + this.numericUpDown1.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDown1.Name = "numericUpDown1"; + this.numericUpDown1.Size = new System.Drawing.Size(150, 27); + this.numericUpDown1.TabIndex = 9; + this.numericUpDown1.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(675, 399); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(113, 39); + this.button2.TabIndex = 10; + this.button2.Text = "Сохранить"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // button3 + // + this.button3.Location = new System.Drawing.Point(13, 409); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(94, 29); + this.button3.TabIndex = 11; + this.button3.Text = "Назад"; + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // maskedTextBox1 + // + this.maskedTextBox1.Location = new System.Drawing.Point(13, 210); + this.maskedTextBox1.Mask = "00.00.0000"; + this.maskedTextBox1.Name = "maskedTextBox1"; + this.maskedTextBox1.Size = new System.Drawing.Size(125, 27); + this.maskedTextBox1.TabIndex = 12; + this.maskedTextBox1.ValidatingType = typeof(System.DateTime); + // + // maskedTextBox2 + // + this.maskedTextBox2.Location = new System.Drawing.Point(264, 210); + this.maskedTextBox2.Mask = "00.00.0000"; + this.maskedTextBox2.Name = "maskedTextBox2"; + this.maskedTextBox2.Size = new System.Drawing.Size(125, 27); + this.maskedTextBox2.TabIndex = 13; + this.maskedTextBox2.ValidatingType = typeof(System.DateTime); + // + // button4 + // + this.button4.Location = new System.Drawing.Point(438, 11); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(94, 29); + this.button4.TabIndex = 14; + this.button4.Text = "Удалить"; + this.button4.UseVisualStyleBackColor = true; + this.button4.Click += new System.EventHandler(this.button4_Click); + // + // button5 + // + this.button5.Location = new System.Drawing.Point(534, 409); + this.button5.Name = "button5"; + this.button5.Size = new System.Drawing.Size(94, 29); + this.button5.TabIndex = 15; + this.button5.Text = "Удалить"; + this.button5.UseVisualStyleBackColor = true; + this.button5.Click += new System.EventHandler(this.button5_Click); + // + // Form4 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.button5); + this.Controls.Add(this.button4); + this.Controls.Add(this.maskedTextBox2); + this.Controls.Add(this.maskedTextBox1); + this.Controls.Add(this.button3); + this.Controls.Add(this.button2); + this.Controls.Add(this.numericUpDown1); + this.Controls.Add(this.comboBox3); + this.Controls.Add(this.comboBox2); + this.Controls.Add(this.comboBox1); + this.Controls.Add(this.button1); + this.Controls.Add(this.listBox1); + this.Name = "Form4"; + this.Text = "Form4"; + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + private System.Windows.Forms.ListBox listBox1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.ComboBox comboBox2; + private System.Windows.Forms.ComboBox comboBox3; + private System.Windows.Forms.NumericUpDown numericUpDown1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.MaskedTextBox maskedTextBox1; + private System.Windows.Forms.MaskedTextBox maskedTextBox2; + private System.Windows.Forms.Button button4; + private System.Windows.Forms.Button button5; + } +} \ No newline at end of file diff --git a/demo26052026/demo26052026/Form4.cs b/demo26052026/demo26052026/Form4.cs new file mode 100644 index 0000000..379773d --- /dev/null +++ b/demo26052026/demo26052026/Form4.cs @@ -0,0 +1,146 @@ +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; +using Npgsql; + +namespace demo26052026 +{ + public partial class Form4 : Form + { + static string ConnString = "Server=localhost;Port=5432;Database=newdemo262;Username=postgres;Password=Swa2sWA13;"; + int IDZobsch { get; set; } + public Form4(int IDZ) + { + InitializeComponent(); + IDZobsch = IDZ; + + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + NpgsqlCommand npgsqlCommand = new NpgsqlCommand($@"SELECT ""Data_Z"", ""Data_P"", ""Adress_ID"", ""Status"", ""ID_Zakaza"" FROM public.""Zakaz"";", npgsqlConnection); + DataTable dataTable = new DataTable(); + dataTable.Load(npgsqlCommand.ExecuteReader()); + npgsqlConnection.Close(); + maskedTextBox1.Text = dataTable.Rows[0].ItemArray[0].ToString(); + maskedTextBox2.Text = dataTable.Rows[0].ItemArray[1].ToString(); + comboBox1.SelectedIndex = int.Parse(dataTable.Rows[0].ItemArray[2].ToString()); + comboBox2.SelectedIndex = int.Parse(dataTable.Rows[0].ItemArray[3].ToString()); + + + + NpgsqlConnection npgsqlConnection2 = new NpgsqlConnection(ConnString); + npgsqlConnection2.Open(); + NpgsqlCommand npgsqlCommand2 = new NpgsqlCommand($@"SELECT (SELECT ""Articul"" FROM public.""Tovar"" WHERE ""ID_Tovar"" =""Tovar_ID""), ""Kolichestvo"" FROM public.""Sostav"" WHERE ""Zakaz_ID"" = {dataTable.Rows[0].ItemArray[4].ToString()};", npgsqlConnection2); + DataTable dataTable2 = new DataTable(); + dataTable2.Load(npgsqlCommand2.ExecuteReader()); + npgsqlConnection2.Close(); + for (int j = 0; j < dataTable2.Rows.Count; j++) + { + listBox1.Items.Add(dataTable2.Rows[j].ItemArray[0].ToString() + " " + dataTable2.Rows[j].ItemArray[1].ToString()); + } + + + } + + private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) + { + + } + + private void button1_Click(object sender, EventArgs e) + { + listBox1.Items.Add( comboBox3.SelectedItem + " " + numericUpDown1.Value); + } + + private void button3_Click(object sender, EventArgs e) + { + this.Hide(); + Form3 form3 = new Form3(); + form3.ShowDialog(); + } + + private void button2_Click(object sender, EventArgs e) + { + if (IDZobsch == 0) + { + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + NpgsqlCommand npgsqlCommand = new NpgsqlCommand($@"INSERT INTO public.""Zakaz""(""Data_Z"", ""Data_P"", ""Adress_ID"", ""Status"") VALUES ('{maskedTextBox1.Text}', '{maskedTextBox2.Text}', {comboBox1.SelectedIndex + 1}, {comboBox2.SelectedIndex + 1}) RETURNING ""ID_Zakaza"";", npgsqlConnection); + + DataTable dataTable = new DataTable(); + dataTable.Load(npgsqlCommand.ExecuteReader()); + int IDZakaz = int.Parse(dataTable.Rows[0].ItemArray[0].ToString()); + npgsqlConnection.Close(); + + int[] IDMnoga = new int[listBox1.Items.Count]; + for (int i = 0; i < listBox1.Items.Count; i++) + { + string rabota = listBox1.Items[i].ToString(); + string[] razdeli = rabota.Split(' '); + + + + NpgsqlConnection npgsqlConnection2 = new NpgsqlConnection(ConnString); + npgsqlConnection2.Open(); + NpgsqlCommand npgsqlCommand2 = new NpgsqlCommand($@"INSERT INTO public.""Sostav""(""Zakaz_ID"", ""Tovar_ID"", ""Kolichestvo"") VALUES ({IDZakaz}, (SELECT ""ID_Tovar"" FROM public.""Tovar"" WHERE ""Articul"" = '{razdeli[0]}'), {razdeli[1]}) RETURNING ""ID_Sostav"";", npgsqlConnection2); + + DataTable dataTable2 = new DataTable(); + dataTable2.Load(npgsqlCommand2.ExecuteReader()); + int IDZakaz2 = int.Parse(dataTable2.Rows[0].ItemArray[0].ToString()); + IDMnoga[i] = IDZakaz2; + npgsqlConnection2.Close(); + } + } + else + { + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + NpgsqlCommand npgsqlCommand = new NpgsqlCommand($@"UPDATE public.""Zakaz"" SET ""Data_Z""= '{maskedTextBox1.Text}', ""Data_P""= '{maskedTextBox2.Text}', ""Adress_ID""= {comboBox1.SelectedIndex + 1}, ""Status""= {comboBox2.SelectedIndex + 1} WHERE ""ID_Zakaza""= {IDZobsch};", npgsqlConnection); + + npgsqlCommand.ExecuteNonQuery(); + npgsqlConnection.Close(); + + NpgsqlConnection npgsqlConnection3 = new NpgsqlConnection(ConnString); + npgsqlConnection3.Open(); + NpgsqlCommand npgsqlCommand3 = new NpgsqlCommand($@"DELETE FROM public.""Sostav"" WHERE ""Zakaz_ID"" = {IDZobsch};", npgsqlConnection3); + + npgsqlCommand3.ExecuteNonQuery(); + npgsqlConnection3.Close(); + + for (int i = 0; i < listBox1.Items.Count; i++) + { + string rabota = listBox1.Items[i].ToString(); + string[] razdeli = rabota.Split(' '); + NpgsqlConnection npgsqlConnection2 = new NpgsqlConnection(ConnString); + npgsqlConnection2.Open(); + NpgsqlCommand npgsqlCommand2 = new NpgsqlCommand($@"INSERT INTO public.""Sostav""(""Zakaz_ID"", ""Tovar_ID"", ""Kolichestvo"") VALUES ({IDZobsch}, (SELECT ""ID_Tovar"" FROM public.""Tovar"" WHERE ""Articul"" = '{razdeli[0]}'), {razdeli[1]}) RETURNING ""ID_Sostav"";", npgsqlConnection2); + + DataTable dataTable2 = new DataTable(); + dataTable2.Load(npgsqlCommand2.ExecuteReader()); + int IDZakaz2 = int.Parse(dataTable2.Rows[0].ItemArray[0].ToString()); + npgsqlConnection2.Close(); + } + } + } + + private void button4_Click(object sender, EventArgs e) + { + listBox1.Items.RemoveAt(listBox1.SelectedIndex); + } + + private void button5_Click(object sender, EventArgs e) + { + NpgsqlConnection npgsqlConnection3 = new NpgsqlConnection(ConnString); + npgsqlConnection3.Open(); + NpgsqlCommand npgsqlCommand3 = new NpgsqlCommand($@"DELETE FROM public.""Zakaz"" WHERE ""ID_Zakaza"" = {IDZobsch};", npgsqlConnection3); + + npgsqlCommand3.ExecuteNonQuery(); + npgsqlConnection3.Close(); + } + } +} diff --git a/demo26052026/demo26052026/Form4.resx b/demo26052026/demo26052026/Form4.resx new file mode 100644 index 0000000..f298a7b --- /dev/null +++ b/demo26052026/demo26052026/Form4.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/demo26052026/demo26052026/Form4.txt b/demo26052026/demo26052026/Form4.txt new file mode 100644 index 0000000..379773d --- /dev/null +++ b/demo26052026/demo26052026/Form4.txt @@ -0,0 +1,146 @@ +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; +using Npgsql; + +namespace demo26052026 +{ + public partial class Form4 : Form + { + static string ConnString = "Server=localhost;Port=5432;Database=newdemo262;Username=postgres;Password=Swa2sWA13;"; + int IDZobsch { get; set; } + public Form4(int IDZ) + { + InitializeComponent(); + IDZobsch = IDZ; + + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + NpgsqlCommand npgsqlCommand = new NpgsqlCommand($@"SELECT ""Data_Z"", ""Data_P"", ""Adress_ID"", ""Status"", ""ID_Zakaza"" FROM public.""Zakaz"";", npgsqlConnection); + DataTable dataTable = new DataTable(); + dataTable.Load(npgsqlCommand.ExecuteReader()); + npgsqlConnection.Close(); + maskedTextBox1.Text = dataTable.Rows[0].ItemArray[0].ToString(); + maskedTextBox2.Text = dataTable.Rows[0].ItemArray[1].ToString(); + comboBox1.SelectedIndex = int.Parse(dataTable.Rows[0].ItemArray[2].ToString()); + comboBox2.SelectedIndex = int.Parse(dataTable.Rows[0].ItemArray[3].ToString()); + + + + NpgsqlConnection npgsqlConnection2 = new NpgsqlConnection(ConnString); + npgsqlConnection2.Open(); + NpgsqlCommand npgsqlCommand2 = new NpgsqlCommand($@"SELECT (SELECT ""Articul"" FROM public.""Tovar"" WHERE ""ID_Tovar"" =""Tovar_ID""), ""Kolichestvo"" FROM public.""Sostav"" WHERE ""Zakaz_ID"" = {dataTable.Rows[0].ItemArray[4].ToString()};", npgsqlConnection2); + DataTable dataTable2 = new DataTable(); + dataTable2.Load(npgsqlCommand2.ExecuteReader()); + npgsqlConnection2.Close(); + for (int j = 0; j < dataTable2.Rows.Count; j++) + { + listBox1.Items.Add(dataTable2.Rows[j].ItemArray[0].ToString() + " " + dataTable2.Rows[j].ItemArray[1].ToString()); + } + + + } + + private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) + { + + } + + private void button1_Click(object sender, EventArgs e) + { + listBox1.Items.Add( comboBox3.SelectedItem + " " + numericUpDown1.Value); + } + + private void button3_Click(object sender, EventArgs e) + { + this.Hide(); + Form3 form3 = new Form3(); + form3.ShowDialog(); + } + + private void button2_Click(object sender, EventArgs e) + { + if (IDZobsch == 0) + { + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + NpgsqlCommand npgsqlCommand = new NpgsqlCommand($@"INSERT INTO public.""Zakaz""(""Data_Z"", ""Data_P"", ""Adress_ID"", ""Status"") VALUES ('{maskedTextBox1.Text}', '{maskedTextBox2.Text}', {comboBox1.SelectedIndex + 1}, {comboBox2.SelectedIndex + 1}) RETURNING ""ID_Zakaza"";", npgsqlConnection); + + DataTable dataTable = new DataTable(); + dataTable.Load(npgsqlCommand.ExecuteReader()); + int IDZakaz = int.Parse(dataTable.Rows[0].ItemArray[0].ToString()); + npgsqlConnection.Close(); + + int[] IDMnoga = new int[listBox1.Items.Count]; + for (int i = 0; i < listBox1.Items.Count; i++) + { + string rabota = listBox1.Items[i].ToString(); + string[] razdeli = rabota.Split(' '); + + + + NpgsqlConnection npgsqlConnection2 = new NpgsqlConnection(ConnString); + npgsqlConnection2.Open(); + NpgsqlCommand npgsqlCommand2 = new NpgsqlCommand($@"INSERT INTO public.""Sostav""(""Zakaz_ID"", ""Tovar_ID"", ""Kolichestvo"") VALUES ({IDZakaz}, (SELECT ""ID_Tovar"" FROM public.""Tovar"" WHERE ""Articul"" = '{razdeli[0]}'), {razdeli[1]}) RETURNING ""ID_Sostav"";", npgsqlConnection2); + + DataTable dataTable2 = new DataTable(); + dataTable2.Load(npgsqlCommand2.ExecuteReader()); + int IDZakaz2 = int.Parse(dataTable2.Rows[0].ItemArray[0].ToString()); + IDMnoga[i] = IDZakaz2; + npgsqlConnection2.Close(); + } + } + else + { + NpgsqlConnection npgsqlConnection = new NpgsqlConnection(ConnString); + npgsqlConnection.Open(); + NpgsqlCommand npgsqlCommand = new NpgsqlCommand($@"UPDATE public.""Zakaz"" SET ""Data_Z""= '{maskedTextBox1.Text}', ""Data_P""= '{maskedTextBox2.Text}', ""Adress_ID""= {comboBox1.SelectedIndex + 1}, ""Status""= {comboBox2.SelectedIndex + 1} WHERE ""ID_Zakaza""= {IDZobsch};", npgsqlConnection); + + npgsqlCommand.ExecuteNonQuery(); + npgsqlConnection.Close(); + + NpgsqlConnection npgsqlConnection3 = new NpgsqlConnection(ConnString); + npgsqlConnection3.Open(); + NpgsqlCommand npgsqlCommand3 = new NpgsqlCommand($@"DELETE FROM public.""Sostav"" WHERE ""Zakaz_ID"" = {IDZobsch};", npgsqlConnection3); + + npgsqlCommand3.ExecuteNonQuery(); + npgsqlConnection3.Close(); + + for (int i = 0; i < listBox1.Items.Count; i++) + { + string rabota = listBox1.Items[i].ToString(); + string[] razdeli = rabota.Split(' '); + NpgsqlConnection npgsqlConnection2 = new NpgsqlConnection(ConnString); + npgsqlConnection2.Open(); + NpgsqlCommand npgsqlCommand2 = new NpgsqlCommand($@"INSERT INTO public.""Sostav""(""Zakaz_ID"", ""Tovar_ID"", ""Kolichestvo"") VALUES ({IDZobsch}, (SELECT ""ID_Tovar"" FROM public.""Tovar"" WHERE ""Articul"" = '{razdeli[0]}'), {razdeli[1]}) RETURNING ""ID_Sostav"";", npgsqlConnection2); + + DataTable dataTable2 = new DataTable(); + dataTable2.Load(npgsqlCommand2.ExecuteReader()); + int IDZakaz2 = int.Parse(dataTable2.Rows[0].ItemArray[0].ToString()); + npgsqlConnection2.Close(); + } + } + } + + private void button4_Click(object sender, EventArgs e) + { + listBox1.Items.RemoveAt(listBox1.SelectedIndex); + } + + private void button5_Click(object sender, EventArgs e) + { + NpgsqlConnection npgsqlConnection3 = new NpgsqlConnection(ConnString); + npgsqlConnection3.Open(); + NpgsqlCommand npgsqlCommand3 = new NpgsqlCommand($@"DELETE FROM public.""Zakaz"" WHERE ""ID_Zakaza"" = {IDZobsch};", npgsqlConnection3); + + npgsqlCommand3.ExecuteNonQuery(); + npgsqlConnection3.Close(); + } + } +} diff --git a/demo26052026/demo26052026/Program.cs b/demo26052026/demo26052026/Program.cs new file mode 100644 index 0000000..a9c15ce --- /dev/null +++ b/demo26052026/demo26052026/Program.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace demo26052026 +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.SetHighDpiMode(HighDpiMode.SystemAware); + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/demo26052026/demo26052026/UserControl1.Designer.cs b/demo26052026/demo26052026/UserControl1.Designer.cs new file mode 100644 index 0000000..877831e --- /dev/null +++ b/demo26052026/demo26052026/UserControl1.Designer.cs @@ -0,0 +1,146 @@ + +namespace demo26052026 +{ + partial class UserControl1 + { + /// + /// Обязательная переменная конструктора. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Освободить все используемые ресурсы. + /// + /// истинно, если управляемый ресурс должен быть удален; иначе ложно. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Код, автоматически созданный конструктором компонентов + + /// + /// Требуемый метод для поддержки конструктора — не изменяйте + /// содержимое этого метода с помощью редактора кода. + /// + public void InitializeComponent() + { + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.textBox5 = new System.Windows.Forms.TextBox(); + this.textBox6 = new System.Windows.Forms.TextBox(); + this.textBox7 = new System.Windows.Forms.TextBox(); + this.textBox8 = new System.Windows.Forms.TextBox(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // pictureBox1 + // + this.pictureBox1.Location = new System.Drawing.Point(21, 37); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(184, 276); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(239, 23); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(386, 27); + this.textBox1.TabIndex = 1; + // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(248, 71); + this.textBox2.Multiline = true; + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(377, 54); + this.textBox2.TabIndex = 2; + // + // textBox3 + // + this.textBox3.Location = new System.Drawing.Point(248, 131); + this.textBox3.Name = "textBox3"; + this.textBox3.Size = new System.Drawing.Size(377, 27); + this.textBox3.TabIndex = 3; + // + // textBox4 + // + this.textBox4.Location = new System.Drawing.Point(248, 164); + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(377, 27); + this.textBox4.TabIndex = 4; + this.textBox4.TextChanged += new System.EventHandler(this.textBox4_TextChanged); + // + // textBox5 + // + this.textBox5.Location = new System.Drawing.Point(248, 215); + this.textBox5.Name = "textBox5"; + this.textBox5.Size = new System.Drawing.Size(377, 27); + this.textBox5.TabIndex = 5; + // + // textBox6 + // + this.textBox6.Location = new System.Drawing.Point(248, 264); + this.textBox6.Name = "textBox6"; + this.textBox6.Size = new System.Drawing.Size(377, 27); + this.textBox6.TabIndex = 6; + // + // textBox7 + // + this.textBox7.Location = new System.Drawing.Point(248, 311); + this.textBox7.Name = "textBox7"; + this.textBox7.Size = new System.Drawing.Size(377, 27); + this.textBox7.TabIndex = 7; + // + // textBox8 + // + this.textBox8.Location = new System.Drawing.Point(670, 23); + this.textBox8.Multiline = true; + this.textBox8.Name = "textBox8"; + this.textBox8.Size = new System.Drawing.Size(171, 315); + this.textBox8.TabIndex = 8; + // + // UserControl1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.textBox8); + this.Controls.Add(this.textBox7); + this.Controls.Add(this.textBox6); + this.Controls.Add(this.textBox5); + this.Controls.Add(this.textBox4); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.pictureBox1); + this.Name = "UserControl1"; + this.Size = new System.Drawing.Size(868, 369); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + public System.Windows.Forms.PictureBox pictureBox1; + public System.Windows.Forms.TextBox textBox1; + public System.Windows.Forms.TextBox textBox2; + public System.Windows.Forms.TextBox textBox3; + public System.Windows.Forms.TextBox textBox4; + public System.Windows.Forms.TextBox textBox5; + public System.Windows.Forms.TextBox textBox6; + public System.Windows.Forms.TextBox textBox7; + public System.Windows.Forms.TextBox textBox8; + } +} diff --git a/demo26052026/demo26052026/UserControl1.cs b/demo26052026/demo26052026/UserControl1.cs new file mode 100644 index 0000000..432672a --- /dev/null +++ b/demo26052026/demo26052026/UserControl1.cs @@ -0,0 +1,38 @@ +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 demo26052026 +{ + public partial class UserControl1 : UserControl + { + Form form { get; set; } + public UserControl1(Form s) + { + form = s; + InitializeComponent(); + foreach(Control control in this.Controls) + { + control.Click += pictureBox1_Click; + } + } + + private void textBox4_TextChanged(object sender, EventArgs e) + { + + } + + private void pictureBox1_Click(object sender, EventArgs e) + { + form.Hide(); + Form2 form2 = new Form2(int.Parse(this.Name)); + form2.ShowDialog(); + } + } +} diff --git a/demo26052026/demo26052026/UserControl1.resx b/demo26052026/demo26052026/UserControl1.resx new file mode 100644 index 0000000..f298a7b --- /dev/null +++ b/demo26052026/demo26052026/UserControl1.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/demo26052026/demo26052026/UserControl2.Designer.cs b/demo26052026/demo26052026/UserControl2.Designer.cs new file mode 100644 index 0000000..29de27e --- /dev/null +++ b/demo26052026/demo26052026/UserControl2.Designer.cs @@ -0,0 +1,101 @@ + +namespace demo26052026 +{ + partial class UserControl2 + { + /// + /// Обязательная переменная конструктора. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Освободить все используемые ресурсы. + /// + /// истинно, если управляемый ресурс должен быть удален; иначе ложно. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Код, автоматически созданный конструктором компонентов + + /// + /// Требуемый метод для поддержки конструктора — не изменяйте + /// содержимое этого метода с помощью редактора кода. + /// + private void InitializeComponent() + { + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.textBox5 = new System.Windows.Forms.TextBox(); + this.SuspendLayout(); + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(12, 15); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(236, 27); + this.textBox1.TabIndex = 0; + // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(12, 60); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(236, 27); + this.textBox2.TabIndex = 1; + // + // textBox3 + // + this.textBox3.Location = new System.Drawing.Point(12, 105); + this.textBox3.Name = "textBox3"; + this.textBox3.Size = new System.Drawing.Size(236, 27); + this.textBox3.TabIndex = 2; + // + // textBox4 + // + this.textBox4.Location = new System.Drawing.Point(12, 160); + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(236, 27); + this.textBox4.TabIndex = 3; + // + // textBox5 + // + this.textBox5.Location = new System.Drawing.Point(329, 15); + this.textBox5.Multiline = true; + this.textBox5.Name = "textBox5"; + this.textBox5.Size = new System.Drawing.Size(211, 180); + this.textBox5.TabIndex = 4; + this.textBox5.Click += new System.EventHandler(this.textBox5_Click); + this.textBox5.TextChanged += new System.EventHandler(this.textBox5_TextChanged); + // + // UserControl2 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.textBox5); + this.Controls.Add(this.textBox4); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.textBox1); + this.Name = "UserControl2"; + this.Size = new System.Drawing.Size(558, 225); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + public System.Windows.Forms.TextBox textBox1; + public System.Windows.Forms.TextBox textBox2; + public System.Windows.Forms.TextBox textBox3; + public System.Windows.Forms.TextBox textBox4; + public System.Windows.Forms.TextBox textBox5; + } +} diff --git a/demo26052026/demo26052026/UserControl2.cs b/demo26052026/demo26052026/UserControl2.cs new file mode 100644 index 0000000..5ccd643 --- /dev/null +++ b/demo26052026/demo26052026/UserControl2.cs @@ -0,0 +1,38 @@ +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 demo26052026 +{ + public partial class UserControl2 : UserControl + { + Form form { get; set; } + public UserControl2(Form s) + { + form = s; + InitializeComponent(); + foreach (Control control in this.Controls) + { + control.Click += textBox5_Click; + } + } + + private void textBox5_TextChanged(object sender, EventArgs e) + { + + } + + private void textBox5_Click(object sender, EventArgs e) + { + form.Hide(); + Form4 form2 = new Form4(int.Parse(this.Name)); + form2.ShowDialog(); + } + } +} diff --git a/demo26052026/demo26052026/UserControl2.resx b/demo26052026/demo26052026/UserControl2.resx new file mode 100644 index 0000000..f298a7b --- /dev/null +++ b/demo26052026/demo26052026/UserControl2.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/1.jpg b/demo26052026/demo26052026/bin/Debug/net5.0-windows/1.jpg new file mode 100644 index 0000000..238c32b Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/1.jpg differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/10.jpg b/demo26052026/demo26052026/bin/Debug/net5.0-windows/10.jpg new file mode 100644 index 0000000..a6e4c3d Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/10.jpg differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/2.jpg b/demo26052026/demo26052026/bin/Debug/net5.0-windows/2.jpg new file mode 100644 index 0000000..8b38894 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/2.jpg differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/3.jpg b/demo26052026/demo26052026/bin/Debug/net5.0-windows/3.jpg new file mode 100644 index 0000000..39443e0 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/3.jpg differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/4.jpg b/demo26052026/demo26052026/bin/Debug/net5.0-windows/4.jpg new file mode 100644 index 0000000..d375624 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/4.jpg differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/5.jpg b/demo26052026/demo26052026/bin/Debug/net5.0-windows/5.jpg new file mode 100644 index 0000000..f7af58a Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/5.jpg differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/6.jpg b/demo26052026/demo26052026/bin/Debug/net5.0-windows/6.jpg new file mode 100644 index 0000000..e20b800 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/6.jpg differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/7.jpg b/demo26052026/demo26052026/bin/Debug/net5.0-windows/7.jpg new file mode 100644 index 0000000..a268000 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/7.jpg differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/8.jpg b/demo26052026/demo26052026/bin/Debug/net5.0-windows/8.jpg new file mode 100644 index 0000000..b94c062 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/8.jpg differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/9.jpg b/demo26052026/demo26052026/bin/Debug/net5.0-windows/9.jpg new file mode 100644 index 0000000..abe73b4 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/9.jpg differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/Microsoft.Bcl.AsyncInterfaces.dll b/demo26052026/demo26052026/bin/Debug/net5.0-windows/Microsoft.Bcl.AsyncInterfaces.dll new file mode 100644 index 0000000..421e812 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/Microsoft.Bcl.AsyncInterfaces.dll differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/Microsoft.Extensions.DependencyInjection.Abstractions.dll b/demo26052026/demo26052026/bin/Debug/net5.0-windows/Microsoft.Extensions.DependencyInjection.Abstractions.dll new file mode 100644 index 0000000..f286073 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/Microsoft.Extensions.DependencyInjection.Abstractions.dll differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/Microsoft.Extensions.Logging.Abstractions.dll b/demo26052026/demo26052026/bin/Debug/net5.0-windows/Microsoft.Extensions.Logging.Abstractions.dll new file mode 100644 index 0000000..1c02fc2 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/Microsoft.Extensions.Logging.Abstractions.dll differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/Npgsql.dll b/demo26052026/demo26052026/bin/Debug/net5.0-windows/Npgsql.dll new file mode 100644 index 0000000..9f084e4 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/Npgsql.dll differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Collections.Immutable.dll b/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Collections.Immutable.dll new file mode 100644 index 0000000..3082288 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Collections.Immutable.dll differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Diagnostics.DiagnosticSource.dll b/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Diagnostics.DiagnosticSource.dll new file mode 100644 index 0000000..10271c8 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Diagnostics.DiagnosticSource.dll differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Runtime.CompilerServices.Unsafe.dll b/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 0000000..103462b Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Text.Encodings.Web.dll b/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Text.Encodings.Web.dll new file mode 100644 index 0000000..99c130d Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Text.Encodings.Web.dll differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Text.Json.dll b/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Text.Json.dll new file mode 100644 index 0000000..c3f088c Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Text.Json.dll differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Threading.Channels.dll b/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Threading.Channels.dll new file mode 100644 index 0000000..60b45fb Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/System.Threading.Channels.dll differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.deps.json b/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.deps.json new file mode 100644 index 0000000..3b7bc0d --- /dev/null +++ b/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.deps.json @@ -0,0 +1,234 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v5.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v5.0": { + "demo26052026/1.0.0": { + "dependencies": { + "Npgsql": "8.0.8" + }, + "runtime": { + "demo26052026.dll": {} + } + }, + "Microsoft.Bcl.AsyncInterfaces/8.0.0": { + "runtime": { + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": { + "runtime": { + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "Microsoft.Extensions.Logging.Abstractions/8.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.5" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "Npgsql/8.0.8": { + "dependencies": { + "Microsoft.Extensions.Logging.Abstractions": "8.0.0", + "System.Collections.Immutable": "8.0.0", + "System.Diagnostics.DiagnosticSource": "8.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Json": "8.0.5", + "System.Threading.Channels": "8.0.0" + }, + "runtime": { + "lib/netstandard2.1/Npgsql.dll": { + "assemblyVersion": "8.0.8.0", + "fileVersion": "8.0.8.0" + } + } + }, + "System.Buffers/4.5.1": {}, + "System.Collections.Immutable/8.0.0": { + "dependencies": { + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/System.Collections.Immutable.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "System.Diagnostics.DiagnosticSource/8.0.0": { + "dependencies": { + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "System.Memory/4.5.5": {}, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "runtime": { + "lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.Text.Encodings.Web/8.0.0": { + "dependencies": { + "System.Buffers": "4.5.1", + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/System.Text.Encodings.Web.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "System.Text.Json/8.0.5": { + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "8.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "8.0.0", + "System.Threading.Tasks.Extensions": "4.5.4" + }, + "runtime": { + "lib/netstandard2.0/System.Text.Json.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.1024.46610" + } + } + }, + "System.Threading.Channels/8.0.0": { + "runtime": { + "lib/netstandard2.1/System.Threading.Channels.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "System.Threading.Tasks.Extensions/4.5.4": {} + } + }, + "libraries": { + "demo26052026/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Microsoft.Bcl.AsyncInterfaces/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==", + "path": "microsoft.bcl.asyncinterfaces/8.0.0", + "hashPath": "microsoft.bcl.asyncinterfaces.8.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==", + "path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Logging.Abstractions/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==", + "path": "microsoft.extensions.logging.abstractions/8.0.0", + "hashPath": "microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512" + }, + "Npgsql/8.0.8": { + "type": "package", + "serviceable": true, + "sha512": "sha512-1g7tA1easureueqyS5SqJtojI7FwEdw50UYTh0l576iWZNnyRyAVfFi1bJp4BzO8IwYodP8YCRp6ThNQvvBn8A==", + "path": "npgsql/8.0.8", + "hashPath": "npgsql.8.0.8.nupkg.sha512" + }, + "System.Buffers/4.5.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==", + "path": "system.buffers/4.5.1", + "hashPath": "system.buffers.4.5.1.nupkg.sha512" + }, + "System.Collections.Immutable/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg==", + "path": "system.collections.immutable/8.0.0", + "hashPath": "system.collections.immutable.8.0.0.nupkg.sha512" + }, + "System.Diagnostics.DiagnosticSource/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", + "path": "system.diagnostics.diagnosticsource/8.0.0", + "hashPath": "system.diagnostics.diagnosticsource.8.0.0.nupkg.sha512" + }, + "System.Memory/4.5.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", + "path": "system.memory/4.5.5", + "hashPath": "system.memory.4.5.5.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512" + }, + "System.Text.Encodings.Web/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", + "path": "system.text.encodings.web/8.0.0", + "hashPath": "system.text.encodings.web.8.0.0.nupkg.sha512" + }, + "System.Text.Json/8.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-0f1B50Ss7rqxXiaBJyzUu9bWFOO2/zSlifZ/UNMdiIpDYe4cY4LQQicP4nirK1OS31I43rn062UIJ1Q9bpmHpg==", + "path": "system.text.json/8.0.5", + "hashPath": "system.text.json.8.0.5.nupkg.sha512" + }, + "System.Threading.Channels/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-CMaFr7v+57RW7uZfZkPExsPB6ljwzhjACWW1gfU35Y56rk72B/Wu+sTqxVmGSk4SFUlPc3cjeKND0zktziyjBA==", + "path": "system.threading.channels/8.0.0", + "hashPath": "system.threading.channels.8.0.0.nupkg.sha512" + }, + "System.Threading.Tasks.Extensions/4.5.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", + "path": "system.threading.tasks.extensions/4.5.4", + "hashPath": "system.threading.tasks.extensions.4.5.4.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.dll b/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.dll new file mode 100644 index 0000000..73776b4 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.dll differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.pdb b/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.pdb new file mode 100644 index 0000000..367c992 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.pdb differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.runtimeconfig.dev.json b/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.runtimeconfig.dev.json new file mode 100644 index 0000000..5b2835b --- /dev/null +++ b/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.runtimeconfig.dev.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "additionalProbingPaths": [ + "C:\\Users\\user\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\user\\.nuget\\packages", + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ] + } +} \ No newline at end of file diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.runtimeconfig.json b/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.runtimeconfig.json new file mode 100644 index 0000000..dae617c --- /dev/null +++ b/demo26052026/demo26052026/bin/Debug/net5.0-windows/demo26052026.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net5.0", + "framework": { + "name": "Microsoft.WindowsDesktop.App", + "version": "5.0.0" + } + } +} \ No newline at end of file diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/picture.png b/demo26052026/demo26052026/bin/Debug/net5.0-windows/picture.png new file mode 100644 index 0000000..1cd0789 Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/picture.png differ diff --git a/demo26052026/demo26052026/bin/Debug/net5.0-windows/ref/demo26052026.dll b/demo26052026/demo26052026/bin/Debug/net5.0-windows/ref/demo26052026.dll new file mode 100644 index 0000000..3aaeeff Binary files /dev/null and b/demo26052026/demo26052026/bin/Debug/net5.0-windows/ref/demo26052026.dll differ diff --git a/demo26052026/demo26052026/demo26052026.csproj b/demo26052026/demo26052026/demo26052026.csproj new file mode 100644 index 0000000..3738e86 --- /dev/null +++ b/demo26052026/demo26052026/demo26052026.csproj @@ -0,0 +1,13 @@ + + + + WinExe + net5.0-windows + true + + + + + + + \ No newline at end of file diff --git a/demo26052026/demo26052026/demo26052026.csproj.user b/demo26052026/demo26052026/demo26052026.csproj.user new file mode 100644 index 0000000..d8bde25 --- /dev/null +++ b/demo26052026/demo26052026/demo26052026.csproj.user @@ -0,0 +1,23 @@ + + + + + Form + + + Form + + + Form + + + Form + + + UserControl + + + UserControl + + + \ No newline at end of file diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs b/demo26052026/demo26052026/obj/Debug/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs new file mode 100644 index 0000000..2f7e5ec --- /dev/null +++ b/demo26052026/demo26052026/obj/Debug/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")] diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/apphost.exe b/demo26052026/demo26052026/obj/Debug/net5.0-windows/apphost.exe new file mode 100644 index 0000000..1ddce78 Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/apphost.exe differ diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.AssemblyInfo.cs b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.AssemblyInfo.cs new file mode 100644 index 0000000..16f2a67 --- /dev/null +++ b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.AssemblyInfo.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("demo26052026")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d0d441ff75943b8fe35934da8ef0d7094ed9b99a")] +[assembly: System.Reflection.AssemblyProductAttribute("demo26052026")] +[assembly: System.Reflection.AssemblyTitleAttribute("demo26052026")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] +[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] + +// Создано классом WriteCodeFragment MSBuild. + diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.AssemblyInfoInputs.cache b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.AssemblyInfoInputs.cache new file mode 100644 index 0000000..73b0d47 --- /dev/null +++ b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +ef6c256e1a1ae5cf94386bc4f8e261a44bbcbdc220a857ecbb2cb0a153969ffc diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.Form1.resources b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.Form1.resources differ diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.Form2.resources b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.Form2.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.Form2.resources differ diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.Form3.resources b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.Form3.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.Form3.resources differ diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.Form4.resources b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.Form4.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.Form4.resources differ diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.GeneratedMSBuildEditorConfig.editorconfig b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..21c6511 --- /dev/null +++ b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.ApplicationManifest = +build_property.StartupObject = +build_property.ApplicationDefaultFont = +build_property.ApplicationHighDpiMode = +build_property.ApplicationUseCompatibleTextRendering = +build_property.ApplicationVisualStyles = +build_property.TargetFramework = net5.0-windows +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = demo26052026 +build_property.ProjectDir = C:\Users\user\Source\Repos\bbbb\demo26052026\demo26052026\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.UserControl1.resources b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.UserControl1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.UserControl1.resources differ diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.UserControl2.resources b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.UserControl2.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.UserControl2.resources differ diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.assets.cache b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.assets.cache new file mode 100644 index 0000000..958b04c Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.assets.cache differ diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.AssemblyReference.cache b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.AssemblyReference.cache new file mode 100644 index 0000000..9d4bc9d Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.AssemblyReference.cache differ diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.CopyComplete b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.CoreCompileInputs.cache b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..8c4e77e --- /dev/null +++ b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +2887f0e40ec57f3f5d8d6a0ce41be0c03e9bf66d diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.FileListAbsolute.txt b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..cb74f56 --- /dev/null +++ b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.FileListAbsolute.txt @@ -0,0 +1,34 @@ +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\demo26052026.exe +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\demo26052026.deps.json +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\demo26052026.runtimeconfig.json +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\demo26052026.runtimeconfig.dev.json +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\demo26052026.dll +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\ref\demo26052026.dll +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\demo26052026.pdb +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\Microsoft.Bcl.AsyncInterfaces.dll +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\Microsoft.Extensions.DependencyInjection.Abstractions.dll +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\Microsoft.Extensions.Logging.Abstractions.dll +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\Npgsql.dll +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\System.Collections.Immutable.dll +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\System.Diagnostics.DiagnosticSource.dll +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\System.Runtime.CompilerServices.Unsafe.dll +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\System.Text.Encodings.Web.dll +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\System.Text.Json.dll +C:\Users\user\source\repos\demo26052026\demo26052026\bin\Debug\net5.0-windows\System.Threading.Channels.dll +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.csproj.AssemblyReference.cache +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.Form1.resources +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.UserControl1.resources +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.csproj.GenerateResource.cache +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.AssemblyInfoInputs.cache +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.AssemblyInfo.cs +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.csproj.CoreCompileInputs.cache +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.csproj.CopyComplete +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.dll +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\ref\demo26052026.dll +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.pdb +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.genruntimeconfig.cache +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.Form2.resources +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.Form3.resources +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.UserControl2.resources +C:\Users\user\source\repos\demo26052026\demo26052026\obj\Debug\net5.0-windows\demo26052026.Form4.resources diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.GenerateResource.cache b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.GenerateResource.cache new file mode 100644 index 0000000..38453a7 Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.csproj.GenerateResource.cache differ diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.designer.deps.json b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.designer.deps.json new file mode 100644 index 0000000..bb22af3 --- /dev/null +++ b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.designer.deps.json @@ -0,0 +1,221 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v5.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v5.0": { + "Microsoft.Bcl.AsyncInterfaces/8.0.0": { + "runtime": { + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": { + "runtime": { + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "Microsoft.Extensions.Logging.Abstractions/8.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.5" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "Npgsql/8.0.8": { + "dependencies": { + "Microsoft.Extensions.Logging.Abstractions": "8.0.0", + "System.Collections.Immutable": "8.0.0", + "System.Diagnostics.DiagnosticSource": "8.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Json": "8.0.5", + "System.Threading.Channels": "8.0.0" + }, + "runtime": { + "lib/netstandard2.1/Npgsql.dll": { + "assemblyVersion": "8.0.8.0", + "fileVersion": "8.0.8.0" + } + } + }, + "System.Buffers/4.5.1": {}, + "System.Collections.Immutable/8.0.0": { + "dependencies": { + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/System.Collections.Immutable.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "System.Diagnostics.DiagnosticSource/8.0.0": { + "dependencies": { + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "System.Memory/4.5.5": {}, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "runtime": { + "lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.Text.Encodings.Web/8.0.0": { + "dependencies": { + "System.Buffers": "4.5.1", + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/System.Text.Encodings.Web.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "System.Text.Json/8.0.5": { + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "8.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "8.0.0", + "System.Threading.Tasks.Extensions": "4.5.4" + }, + "runtime": { + "lib/netstandard2.0/System.Text.Json.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.1024.46610" + } + } + }, + "System.Threading.Channels/8.0.0": { + "runtime": { + "lib/netstandard2.1/System.Threading.Channels.dll": { + "assemblyVersion": "8.0.0.0", + "fileVersion": "8.0.23.53103" + } + } + }, + "System.Threading.Tasks.Extensions/4.5.4": {} + } + }, + "libraries": { + "Microsoft.Bcl.AsyncInterfaces/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==", + "path": "microsoft.bcl.asyncinterfaces/8.0.0", + "hashPath": "microsoft.bcl.asyncinterfaces.8.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==", + "path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Logging.Abstractions/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==", + "path": "microsoft.extensions.logging.abstractions/8.0.0", + "hashPath": "microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512" + }, + "Npgsql/8.0.8": { + "type": "package", + "serviceable": true, + "sha512": "sha512-1g7tA1easureueqyS5SqJtojI7FwEdw50UYTh0l576iWZNnyRyAVfFi1bJp4BzO8IwYodP8YCRp6ThNQvvBn8A==", + "path": "npgsql/8.0.8", + "hashPath": "npgsql.8.0.8.nupkg.sha512" + }, + "System.Buffers/4.5.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==", + "path": "system.buffers/4.5.1", + "hashPath": "system.buffers.4.5.1.nupkg.sha512" + }, + "System.Collections.Immutable/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg==", + "path": "system.collections.immutable/8.0.0", + "hashPath": "system.collections.immutable.8.0.0.nupkg.sha512" + }, + "System.Diagnostics.DiagnosticSource/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", + "path": "system.diagnostics.diagnosticsource/8.0.0", + "hashPath": "system.diagnostics.diagnosticsource.8.0.0.nupkg.sha512" + }, + "System.Memory/4.5.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", + "path": "system.memory/4.5.5", + "hashPath": "system.memory.4.5.5.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512" + }, + "System.Text.Encodings.Web/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", + "path": "system.text.encodings.web/8.0.0", + "hashPath": "system.text.encodings.web.8.0.0.nupkg.sha512" + }, + "System.Text.Json/8.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-0f1B50Ss7rqxXiaBJyzUu9bWFOO2/zSlifZ/UNMdiIpDYe4cY4LQQicP4nirK1OS31I43rn062UIJ1Q9bpmHpg==", + "path": "system.text.json/8.0.5", + "hashPath": "system.text.json.8.0.5.nupkg.sha512" + }, + "System.Threading.Channels/8.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-CMaFr7v+57RW7uZfZkPExsPB6ljwzhjACWW1gfU35Y56rk72B/Wu+sTqxVmGSk4SFUlPc3cjeKND0zktziyjBA==", + "path": "system.threading.channels/8.0.0", + "hashPath": "system.threading.channels.8.0.0.nupkg.sha512" + }, + "System.Threading.Tasks.Extensions/4.5.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", + "path": "system.threading.tasks.extensions/4.5.4", + "hashPath": "system.threading.tasks.extensions.4.5.4.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.designer.runtimeconfig.json b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.designer.runtimeconfig.json new file mode 100644 index 0000000..49aa271 --- /dev/null +++ b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.designer.runtimeconfig.json @@ -0,0 +1,17 @@ +{ + "runtimeOptions": { + "tfm": "net5.0", + "framework": { + "name": "Microsoft.WindowsDesktop.App", + "version": "5.0.0" + }, + "additionalProbingPaths": [ + "C:\\Users\\user\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\user\\.nuget\\packages", + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configProperties": { + "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true + } + } +} \ No newline at end of file diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.dll b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.dll new file mode 100644 index 0000000..73776b4 Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.dll differ diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.genruntimeconfig.cache b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.genruntimeconfig.cache new file mode 100644 index 0000000..f45b5be --- /dev/null +++ b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.genruntimeconfig.cache @@ -0,0 +1 @@ +77cb68980c3309038d0ccb4b365b5b9cf49739ec diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.pdb b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.pdb new file mode 100644 index 0000000..367c992 Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/demo26052026.pdb differ diff --git a/demo26052026/demo26052026/obj/Debug/net5.0-windows/ref/demo26052026.dll b/demo26052026/demo26052026/obj/Debug/net5.0-windows/ref/demo26052026.dll new file mode 100644 index 0000000..3aaeeff Binary files /dev/null and b/demo26052026/demo26052026/obj/Debug/net5.0-windows/ref/demo26052026.dll differ diff --git a/demo26052026/demo26052026/obj/Release/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs b/demo26052026/demo26052026/obj/Release/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs new file mode 100644 index 0000000..3b1554c --- /dev/null +++ b/demo26052026/demo26052026/obj/Release/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = ".NET 5.0")] diff --git a/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.AssemblyInfo.cs b/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.AssemblyInfo.cs new file mode 100644 index 0000000..d49203f --- /dev/null +++ b/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.AssemblyInfo.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("demo26052026")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d0d441ff75943b8fe35934da8ef0d7094ed9b99a")] +[assembly: System.Reflection.AssemblyProductAttribute("demo26052026")] +[assembly: System.Reflection.AssemblyTitleAttribute("demo26052026")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] +[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] + +// Создано классом WriteCodeFragment MSBuild. + diff --git a/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.AssemblyInfoInputs.cache b/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.AssemblyInfoInputs.cache new file mode 100644 index 0000000..4166fec --- /dev/null +++ b/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +28586aa8183e7f23d980c27cbf2b1eeea8ff02e3b11fe9fbe47e0aacd6ae17ef diff --git a/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.GeneratedMSBuildEditorConfig.editorconfig b/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..21c6511 --- /dev/null +++ b/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.ApplicationManifest = +build_property.StartupObject = +build_property.ApplicationDefaultFont = +build_property.ApplicationHighDpiMode = +build_property.ApplicationUseCompatibleTextRendering = +build_property.ApplicationVisualStyles = +build_property.TargetFramework = net5.0-windows +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = demo26052026 +build_property.ProjectDir = C:\Users\user\Source\Repos\bbbb\demo26052026\demo26052026\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.assets.cache b/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.assets.cache new file mode 100644 index 0000000..df4b7be Binary files /dev/null and b/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.assets.cache differ diff --git a/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.csproj.AssemblyReference.cache b/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.csproj.AssemblyReference.cache new file mode 100644 index 0000000..9d4bc9d Binary files /dev/null and b/demo26052026/demo26052026/obj/Release/net5.0-windows/demo26052026.csproj.AssemblyReference.cache differ diff --git a/demo26052026/demo26052026/obj/demo26052026.csproj.nuget.dgspec.json b/demo26052026/demo26052026/obj/demo26052026.csproj.nuget.dgspec.json new file mode 100644 index 0000000..50a3981 --- /dev/null +++ b/demo26052026/demo26052026/obj/demo26052026.csproj.nuget.dgspec.json @@ -0,0 +1,75 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\user\\source\\repos\\demo26052026\\demo26052026\\demo26052026.csproj": {} + }, + "projects": { + "C:\\Users\\user\\source\\repos\\demo26052026\\demo26052026\\demo26052026.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\user\\source\\repos\\demo26052026\\demo26052026\\demo26052026.csproj", + "projectName": "demo26052026", + "projectPath": "C:\\Users\\user\\source\\repos\\demo26052026\\demo26052026\\demo26052026.csproj", + "packagesPath": "C:\\Users\\user\\.nuget\\packages\\", + "outputPath": "C:\\Users\\user\\source\\repos\\demo26052026\\demo26052026\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\user\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net5.0-windows7.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net5.0-windows7.0": { + "targetAlias": "net5.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net5.0-windows7.0": { + "targetAlias": "net5.0-windows", + "dependencies": { + "Npgsql": { + "target": "Package", + "version": "[8.0.8, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + }, + "Microsoft.WindowsDesktop.App.WindowsForms": { + "privateAssets": "none" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.416\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/demo26052026/demo26052026/obj/demo26052026.csproj.nuget.g.props b/demo26052026/demo26052026/obj/demo26052026.csproj.nuget.g.props new file mode 100644 index 0000000..56868dd --- /dev/null +++ b/demo26052026/demo26052026/obj/demo26052026.csproj.nuget.g.props @@ -0,0 +1,19 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\user\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 5.11.6 + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git a/demo26052026/demo26052026/obj/demo26052026.csproj.nuget.g.targets b/demo26052026/demo26052026/obj/demo26052026.csproj.nuget.g.targets new file mode 100644 index 0000000..ff329b4 --- /dev/null +++ b/demo26052026/demo26052026/obj/demo26052026.csproj.nuget.g.targets @@ -0,0 +1,15 @@ + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + \ No newline at end of file diff --git a/demo26052026/demo26052026/obj/project.assets.json b/demo26052026/demo26052026/obj/project.assets.json new file mode 100644 index 0000000..628deab --- /dev/null +++ b/demo26052026/demo26052026/obj/project.assets.json @@ -0,0 +1,727 @@ +{ + "version": 3, + "targets": { + "net5.0-windows7.0": { + "Microsoft.Bcl.AsyncInterfaces/8.0.0": { + "type": "package", + "compile": { + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {} + }, + "runtime": { + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {} + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": { + "type": "package", + "compile": { + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {} + }, + "runtime": { + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {} + }, + "build": { + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets": {} + } + }, + "Microsoft.Extensions.Logging.Abstractions/8.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.5" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": {} + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": {} + }, + "build": { + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Abstractions.targets": {} + } + }, + "Npgsql/8.0.8": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Logging.Abstractions": "8.0.0", + "System.Collections.Immutable": "8.0.0", + "System.Diagnostics.DiagnosticSource": "8.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Json": "8.0.5", + "System.Threading.Channels": "8.0.0" + }, + "compile": { + "lib/netstandard2.1/Npgsql.dll": {} + }, + "runtime": { + "lib/netstandard2.1/Npgsql.dll": {} + } + }, + "System.Buffers/4.5.1": { + "type": "package", + "compile": { + "ref/netcoreapp2.0/_._": {} + }, + "runtime": { + "lib/netcoreapp2.0/_._": {} + } + }, + "System.Collections.Immutable/8.0.0": { + "type": "package", + "dependencies": { + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "compile": { + "lib/netstandard2.0/System.Collections.Immutable.dll": {} + }, + "runtime": { + "lib/netstandard2.0/System.Collections.Immutable.dll": {} + }, + "build": { + "buildTransitive/netcoreapp2.0/System.Collections.Immutable.targets": {} + } + }, + "System.Diagnostics.DiagnosticSource/8.0.0": { + "type": "package", + "dependencies": { + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "compile": { + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.dll": {} + }, + "runtime": { + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.dll": {} + }, + "build": { + "buildTransitive/netcoreapp2.0/System.Diagnostics.DiagnosticSource.targets": {} + } + }, + "System.Memory/4.5.5": { + "type": "package", + "compile": { + "ref/netcoreapp2.1/_._": {} + }, + "runtime": { + "lib/netcoreapp2.1/_._": {} + } + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "compile": { + "lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll": {} + }, + "runtime": { + "lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll": {} + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + } + }, + "System.Text.Encodings.Web/8.0.0": { + "type": "package", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "compile": { + "lib/netstandard2.0/System.Text.Encodings.Web.dll": {} + }, + "runtime": { + "lib/netstandard2.0/System.Text.Encodings.Web.dll": {} + }, + "build": { + "buildTransitive/netcoreapp2.0/System.Text.Encodings.Web.targets": {} + } + }, + "System.Text.Json/8.0.5": { + "type": "package", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "8.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "8.0.0", + "System.Threading.Tasks.Extensions": "4.5.4" + }, + "compile": { + "lib/netstandard2.0/System.Text.Json.dll": {} + }, + "runtime": { + "lib/netstandard2.0/System.Text.Json.dll": {} + }, + "build": { + "buildTransitive/netcoreapp2.0/System.Text.Json.targets": {} + } + }, + "System.Threading.Channels/8.0.0": { + "type": "package", + "compile": { + "lib/netstandard2.1/System.Threading.Channels.dll": {} + }, + "runtime": { + "lib/netstandard2.1/System.Threading.Channels.dll": {} + }, + "build": { + "buildTransitive/netcoreapp2.0/System.Threading.Channels.targets": {} + } + }, + "System.Threading.Tasks.Extensions/4.5.4": { + "type": "package", + "compile": { + "ref/netcoreapp2.1/_._": {} + }, + "runtime": { + "lib/netcoreapp2.1/_._": {} + } + } + } + }, + "libraries": { + "Microsoft.Bcl.AsyncInterfaces/8.0.0": { + "sha512": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==", + "type": "package", + "path": "microsoft.bcl.asyncinterfaces/8.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Bcl.AsyncInterfaces.targets", + "buildTransitive/net462/_._", + "lib/net462/Microsoft.Bcl.AsyncInterfaces.dll", + "lib/net462/Microsoft.Bcl.AsyncInterfaces.xml", + "lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll", + "lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.xml", + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll", + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.xml", + "microsoft.bcl.asyncinterfaces.8.0.0.nupkg.sha512", + "microsoft.bcl.asyncinterfaces.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": { + "sha512": "cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net6.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net7.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net7.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512", + "microsoft.extensions.dependencyinjection.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Abstractions/8.0.0": { + "sha512": "arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==", + "type": "package", + "path": "microsoft.extensions.logging.abstractions/8.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn3.11/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn3.11/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn4.0/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "buildTransitive/net461/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/net462/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/net6.0/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.targets", + "lib/net462/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net6.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net7.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net7.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.xml", + "microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512", + "microsoft.extensions.logging.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Npgsql/8.0.8": { + "sha512": "1g7tA1easureueqyS5SqJtojI7FwEdw50UYTh0l576iWZNnyRyAVfFi1bJp4BzO8IwYodP8YCRp6ThNQvvBn8A==", + "type": "package", + "path": "npgsql/8.0.8", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "README.md", + "lib/net6.0/Npgsql.dll", + "lib/net6.0/Npgsql.xml", + "lib/net7.0/Npgsql.dll", + "lib/net7.0/Npgsql.xml", + "lib/net8.0/Npgsql.dll", + "lib/net8.0/Npgsql.xml", + "lib/netstandard2.0/Npgsql.dll", + "lib/netstandard2.0/Npgsql.xml", + "lib/netstandard2.1/Npgsql.dll", + "lib/netstandard2.1/Npgsql.xml", + "npgsql.8.0.8.nupkg.sha512", + "npgsql.nuspec", + "postgresql.png" + ] + }, + "System.Buffers/4.5.1": { + "sha512": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==", + "type": "package", + "path": "system.buffers/4.5.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/System.Buffers.dll", + "lib/net461/System.Buffers.xml", + "lib/netcoreapp2.0/_._", + "lib/netstandard1.1/System.Buffers.dll", + "lib/netstandard1.1/System.Buffers.xml", + "lib/netstandard2.0/System.Buffers.dll", + "lib/netstandard2.0/System.Buffers.xml", + "lib/uap10.0.16299/_._", + "ref/net45/System.Buffers.dll", + "ref/net45/System.Buffers.xml", + "ref/netcoreapp2.0/_._", + "ref/netstandard1.1/System.Buffers.dll", + "ref/netstandard1.1/System.Buffers.xml", + "ref/netstandard2.0/System.Buffers.dll", + "ref/netstandard2.0/System.Buffers.xml", + "ref/uap10.0.16299/_._", + "system.buffers.4.5.1.nupkg.sha512", + "system.buffers.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Collections.Immutable/8.0.0": { + "sha512": "AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg==", + "type": "package", + "path": "system.collections.immutable/8.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Collections.Immutable.targets", + "buildTransitive/net462/_._", + "buildTransitive/net6.0/_._", + "buildTransitive/netcoreapp2.0/System.Collections.Immutable.targets", + "lib/net462/System.Collections.Immutable.dll", + "lib/net462/System.Collections.Immutable.xml", + "lib/net6.0/System.Collections.Immutable.dll", + "lib/net6.0/System.Collections.Immutable.xml", + "lib/net7.0/System.Collections.Immutable.dll", + "lib/net7.0/System.Collections.Immutable.xml", + "lib/net8.0/System.Collections.Immutable.dll", + "lib/net8.0/System.Collections.Immutable.xml", + "lib/netstandard2.0/System.Collections.Immutable.dll", + "lib/netstandard2.0/System.Collections.Immutable.xml", + "system.collections.immutable.8.0.0.nupkg.sha512", + "system.collections.immutable.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Diagnostics.DiagnosticSource/8.0.0": { + "sha512": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", + "type": "package", + "path": "system.diagnostics.diagnosticsource/8.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Diagnostics.DiagnosticSource.targets", + "buildTransitive/net462/_._", + "buildTransitive/net6.0/_._", + "buildTransitive/netcoreapp2.0/System.Diagnostics.DiagnosticSource.targets", + "lib/net462/System.Diagnostics.DiagnosticSource.dll", + "lib/net462/System.Diagnostics.DiagnosticSource.xml", + "lib/net6.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net6.0/System.Diagnostics.DiagnosticSource.xml", + "lib/net7.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net7.0/System.Diagnostics.DiagnosticSource.xml", + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net8.0/System.Diagnostics.DiagnosticSource.xml", + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.dll", + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.xml", + "system.diagnostics.diagnosticsource.8.0.0.nupkg.sha512", + "system.diagnostics.diagnosticsource.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Memory/4.5.5": { + "sha512": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", + "type": "package", + "path": "system.memory/4.5.5", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/System.Memory.dll", + "lib/net461/System.Memory.xml", + "lib/netcoreapp2.1/_._", + "lib/netstandard1.1/System.Memory.dll", + "lib/netstandard1.1/System.Memory.xml", + "lib/netstandard2.0/System.Memory.dll", + "lib/netstandard2.0/System.Memory.xml", + "ref/netcoreapp2.1/_._", + "system.memory.4.5.5.nupkg.sha512", + "system.memory.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "sha512": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "type": "package", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/System.Runtime.CompilerServices.Unsafe.dll", + "lib/net461/System.Runtime.CompilerServices.Unsafe.xml", + "lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll", + "lib/net6.0/System.Runtime.CompilerServices.Unsafe.xml", + "lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll", + "lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.xml", + "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll", + "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml", + "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512", + "system.runtime.compilerservices.unsafe.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Text.Encodings.Web/8.0.0": { + "sha512": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", + "type": "package", + "path": "system.text.encodings.web/8.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Text.Encodings.Web.targets", + "buildTransitive/net462/_._", + "buildTransitive/net6.0/_._", + "buildTransitive/netcoreapp2.0/System.Text.Encodings.Web.targets", + "lib/net462/System.Text.Encodings.Web.dll", + "lib/net462/System.Text.Encodings.Web.xml", + "lib/net6.0/System.Text.Encodings.Web.dll", + "lib/net6.0/System.Text.Encodings.Web.xml", + "lib/net7.0/System.Text.Encodings.Web.dll", + "lib/net7.0/System.Text.Encodings.Web.xml", + "lib/net8.0/System.Text.Encodings.Web.dll", + "lib/net8.0/System.Text.Encodings.Web.xml", + "lib/netstandard2.0/System.Text.Encodings.Web.dll", + "lib/netstandard2.0/System.Text.Encodings.Web.xml", + "runtimes/browser/lib/net6.0/System.Text.Encodings.Web.dll", + "runtimes/browser/lib/net6.0/System.Text.Encodings.Web.xml", + "runtimes/browser/lib/net7.0/System.Text.Encodings.Web.dll", + "runtimes/browser/lib/net7.0/System.Text.Encodings.Web.xml", + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll", + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.xml", + "system.text.encodings.web.8.0.0.nupkg.sha512", + "system.text.encodings.web.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Text.Json/8.0.5": { + "sha512": "0f1B50Ss7rqxXiaBJyzUu9bWFOO2/zSlifZ/UNMdiIpDYe4cY4LQQicP4nirK1OS31I43rn062UIJ1Q9bpmHpg==", + "type": "package", + "path": "system.text.json/8.0.5", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn3.11/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn3.11/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.0/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "buildTransitive/net461/System.Text.Json.targets", + "buildTransitive/net462/System.Text.Json.targets", + "buildTransitive/net6.0/System.Text.Json.targets", + "buildTransitive/netcoreapp2.0/System.Text.Json.targets", + "buildTransitive/netstandard2.0/System.Text.Json.targets", + "lib/net462/System.Text.Json.dll", + "lib/net462/System.Text.Json.xml", + "lib/net6.0/System.Text.Json.dll", + "lib/net6.0/System.Text.Json.xml", + "lib/net7.0/System.Text.Json.dll", + "lib/net7.0/System.Text.Json.xml", + "lib/net8.0/System.Text.Json.dll", + "lib/net8.0/System.Text.Json.xml", + "lib/netstandard2.0/System.Text.Json.dll", + "lib/netstandard2.0/System.Text.Json.xml", + "system.text.json.8.0.5.nupkg.sha512", + "system.text.json.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Threading.Channels/8.0.0": { + "sha512": "CMaFr7v+57RW7uZfZkPExsPB6ljwzhjACWW1gfU35Y56rk72B/Wu+sTqxVmGSk4SFUlPc3cjeKND0zktziyjBA==", + "type": "package", + "path": "system.threading.channels/8.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Threading.Channels.targets", + "buildTransitive/net462/_._", + "buildTransitive/net6.0/_._", + "buildTransitive/netcoreapp2.0/System.Threading.Channels.targets", + "lib/net462/System.Threading.Channels.dll", + "lib/net462/System.Threading.Channels.xml", + "lib/net6.0/System.Threading.Channels.dll", + "lib/net6.0/System.Threading.Channels.xml", + "lib/net7.0/System.Threading.Channels.dll", + "lib/net7.0/System.Threading.Channels.xml", + "lib/net8.0/System.Threading.Channels.dll", + "lib/net8.0/System.Threading.Channels.xml", + "lib/netstandard2.0/System.Threading.Channels.dll", + "lib/netstandard2.0/System.Threading.Channels.xml", + "lib/netstandard2.1/System.Threading.Channels.dll", + "lib/netstandard2.1/System.Threading.Channels.xml", + "system.threading.channels.8.0.0.nupkg.sha512", + "system.threading.channels.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Threading.Tasks.Extensions/4.5.4": { + "sha512": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", + "type": "package", + "path": "system.threading.tasks.extensions/4.5.4", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net461/System.Threading.Tasks.Extensions.dll", + "lib/net461/System.Threading.Tasks.Extensions.xml", + "lib/netcoreapp2.1/_._", + "lib/netstandard1.0/System.Threading.Tasks.Extensions.dll", + "lib/netstandard1.0/System.Threading.Tasks.Extensions.xml", + "lib/netstandard2.0/System.Threading.Tasks.Extensions.dll", + "lib/netstandard2.0/System.Threading.Tasks.Extensions.xml", + "lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll", + "lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.xml", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/netcoreapp2.1/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.threading.tasks.extensions.4.5.4.nupkg.sha512", + "system.threading.tasks.extensions.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + } + }, + "projectFileDependencyGroups": { + "net5.0-windows7.0": [ + "Npgsql >= 8.0.8" + ] + }, + "packageFolders": { + "C:\\Users\\user\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\user\\source\\repos\\demo26052026\\demo26052026\\demo26052026.csproj", + "projectName": "demo26052026", + "projectPath": "C:\\Users\\user\\source\\repos\\demo26052026\\demo26052026\\demo26052026.csproj", + "packagesPath": "C:\\Users\\user\\.nuget\\packages\\", + "outputPath": "C:\\Users\\user\\source\\repos\\demo26052026\\demo26052026\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\user\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net5.0-windows7.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net5.0-windows7.0": { + "targetAlias": "net5.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net5.0-windows7.0": { + "targetAlias": "net5.0-windows", + "dependencies": { + "Npgsql": { + "target": "Package", + "version": "[8.0.8, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + }, + "Microsoft.WindowsDesktop.App.WindowsForms": { + "privateAssets": "none" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.416\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/demo26052026/demo26052026/obj/project.nuget.cache b/demo26052026/demo26052026/obj/project.nuget.cache new file mode 100644 index 0000000..088e2d2 --- /dev/null +++ b/demo26052026/demo26052026/obj/project.nuget.cache @@ -0,0 +1,22 @@ +{ + "version": 2, + "dgSpecHash": "1fHIrJ9xtel2IRaxB88hM9NkL3+XWosvCtgCsZNv0MhpahiGJsc3tXMPoKQjlFqU/sTBAcVLT9NIBaS6WNZVyA==", + "success": true, + "projectFilePath": "C:\\Users\\user\\source\\repos\\demo26052026\\demo26052026\\demo26052026.csproj", + "expectedPackageFiles": [ + "C:\\Users\\user\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\8.0.0\\microsoft.bcl.asyncinterfaces.8.0.0.nupkg.sha512", + "C:\\Users\\user\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.0\\microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512", + "C:\\Users\\user\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\8.0.0\\microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512", + "C:\\Users\\user\\.nuget\\packages\\npgsql\\8.0.8\\npgsql.8.0.8.nupkg.sha512", + "C:\\Users\\user\\.nuget\\packages\\system.buffers\\4.5.1\\system.buffers.4.5.1.nupkg.sha512", + "C:\\Users\\user\\.nuget\\packages\\system.collections.immutable\\8.0.0\\system.collections.immutable.8.0.0.nupkg.sha512", + "C:\\Users\\user\\.nuget\\packages\\system.diagnostics.diagnosticsource\\8.0.0\\system.diagnostics.diagnosticsource.8.0.0.nupkg.sha512", + "C:\\Users\\user\\.nuget\\packages\\system.memory\\4.5.5\\system.memory.4.5.5.nupkg.sha512", + "C:\\Users\\user\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512", + "C:\\Users\\user\\.nuget\\packages\\system.text.encodings.web\\8.0.0\\system.text.encodings.web.8.0.0.nupkg.sha512", + "C:\\Users\\user\\.nuget\\packages\\system.text.json\\8.0.5\\system.text.json.8.0.5.nupkg.sha512", + "C:\\Users\\user\\.nuget\\packages\\system.threading.channels\\8.0.0\\system.threading.channels.8.0.0.nupkg.sha512", + "C:\\Users\\user\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.4\\system.threading.tasks.extensions.4.5.4.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file