diff --git a/LabWork/LabWork/Form1.Designer.cs b/LabWork/LabWork/Form1.Designer.cs
deleted file mode 100644
index a7f301b..0000000
--- a/LabWork/LabWork/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace LabWork
-{
- 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.components = new System.ComponentModel.Container();
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(800, 450);
- this.Text = "Form1";
- }
-
- #endregion
- }
-}
diff --git a/LabWork/LabWork/Form1.cs b/LabWork/LabWork/Form1.cs
deleted file mode 100644
index 38e2fc9..0000000
--- a/LabWork/LabWork/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace LabWork
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/LabWork/LabWork/FormContacts.Designer.cs b/LabWork/LabWork/FormContacts.Designer.cs
new file mode 100644
index 0000000..abd0328
--- /dev/null
+++ b/LabWork/LabWork/FormContacts.Designer.cs
@@ -0,0 +1,110 @@
+namespace LabWork
+{
+ partial class FormContacts
+ {
+ ///
+ /// 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()
+ {
+ dataGridView = new DataGridView();
+ buttonAdd = new Button();
+ buttonUpd = new Button();
+ buttonRef = new Button();
+ buttonDel = new Button();
+ ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
+ SuspendLayout();
+ //
+ // dataGridView
+ //
+ dataGridView.BackgroundColor = Color.LavenderBlush;
+ dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ dataGridView.Location = new Point(12, 90);
+ dataGridView.Name = "dataGridView";
+ dataGridView.RowHeadersWidth = 62;
+ dataGridView.Size = new Size(789, 453);
+ dataGridView.TabIndex = 0;
+ //
+ // buttonAdd
+ //
+ buttonAdd.Location = new Point(831, 113);
+ buttonAdd.Name = "buttonAdd";
+ buttonAdd.Size = new Size(163, 64);
+ buttonAdd.TabIndex = 1;
+ buttonAdd.Text = "Добавить";
+ buttonAdd.UseVisualStyleBackColor = true;
+ //
+ // buttonUpd
+ //
+ buttonUpd.Location = new Point(831, 200);
+ buttonUpd.Name = "buttonUpd";
+ buttonUpd.Size = new Size(163, 64);
+ buttonUpd.TabIndex = 2;
+ buttonUpd.Text = "Изменить";
+ buttonUpd.UseVisualStyleBackColor = true;
+ //
+ // buttonRef
+ //
+ buttonRef.Location = new Point(831, 286);
+ buttonRef.Name = "buttonRef";
+ buttonRef.Size = new Size(163, 64);
+ buttonRef.TabIndex = 3;
+ buttonRef.Text = "Обновить";
+ buttonRef.UseVisualStyleBackColor = true;
+ //
+ // buttonDel
+ //
+ buttonDel.Location = new Point(831, 375);
+ buttonDel.Name = "buttonDel";
+ buttonDel.Size = new Size(163, 64);
+ buttonDel.TabIndex = 4;
+ buttonDel.Text = "Удалить";
+ buttonDel.UseVisualStyleBackColor = true;
+ //
+ // FormContacts
+ //
+ AutoScaleDimensions = new SizeF(10F, 25F);
+ AutoScaleMode = AutoScaleMode.Font;
+ BackColor = SystemColors.ActiveCaption;
+ ClientSize = new Size(1019, 555);
+ Controls.Add(buttonDel);
+ Controls.Add(buttonRef);
+ Controls.Add(buttonUpd);
+ Controls.Add(buttonAdd);
+ Controls.Add(dataGridView);
+ Name = "FormContacts";
+ Text = "Менеджер контактов";
+ ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
+ ResumeLayout(false);
+ }
+
+ #endregion
+
+ private DataGridView dataGridView;
+ private Button buttonAdd;
+ private Button buttonUpd;
+ private Button buttonRef;
+ private Button buttonDel;
+ }
+}
diff --git a/LabWork/LabWork/FormContacts.cs b/LabWork/LabWork/FormContacts.cs
new file mode 100644
index 0000000..27039b4
--- /dev/null
+++ b/LabWork/LabWork/FormContacts.cs
@@ -0,0 +1,10 @@
+namespace LabWork
+{
+ public partial class FormContacts : Form
+ {
+ public FormContacts()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/LabWork/LabWork/Form1.resx b/LabWork/LabWork/FormContacts.resx
similarity index 93%
rename from LabWork/LabWork/Form1.resx
rename to LabWork/LabWork/FormContacts.resx
index 1af7de1..af32865 100644
--- a/LabWork/LabWork/Form1.resx
+++ b/LabWork/LabWork/FormContacts.resx
@@ -1,17 +1,17 @@
-
diff --git a/LabWork/LabWork/LabWork.csproj b/LabWork/LabWork/LabWork.csproj
index 663fdb8..a4a5d31 100644
--- a/LabWork/LabWork/LabWork.csproj
+++ b/LabWork/LabWork/LabWork.csproj
@@ -8,4 +8,18 @@
enable
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
\ No newline at end of file
diff --git a/LabWork/LabWork/Program.cs b/LabWork/LabWork/Program.cs
index f89ae11..5d93bba 100644
--- a/LabWork/LabWork/Program.cs
+++ b/LabWork/LabWork/Program.cs
@@ -11,7 +11,7 @@ namespace LabWork
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
- Application.Run(new Form1());
+ Application.Run(new FormContacts());
}
}
}
\ No newline at end of file