diff --git a/Reseter2/Form1.Designer.cs b/Reseter2/Form1.Designer.cs
index d80efbb..27096e3 100644
--- a/Reseter2/Form1.Designer.cs
+++ b/Reseter2/Form1.Designer.cs
@@ -28,13 +28,112 @@
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(800, 450);
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
+ this.tb_comp = new System.Windows.Forms.TextBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.bt_reset = new System.Windows.Forms.Button();
+ this.toolStrip1 = new System.Windows.Forms.ToolStrip();
+ this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
+ this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
+ this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
+ this.toolStrip1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // tb_comp
+ //
+ this.tb_comp.Location = new System.Drawing.Point(65, 33);
+ this.tb_comp.Name = "tb_comp";
+ this.tb_comp.Size = new System.Drawing.Size(195, 20);
+ this.tb_comp.TabIndex = 0;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(12, 36);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(47, 13);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "Имя ПК";
+ this.label1.Click += new System.EventHandler(this.label1_Click);
+ //
+ // bt_reset
+ //
+ this.bt_reset.Location = new System.Drawing.Point(266, 31);
+ this.bt_reset.Name = "bt_reset";
+ this.bt_reset.Size = new System.Drawing.Size(122, 23);
+ this.bt_reset.TabIndex = 2;
+ this.bt_reset.Text = "Перезагрузить";
+ this.bt_reset.UseVisualStyleBackColor = true;
+ //
+ // toolStrip1
+ //
+ this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolStripButton1,
+ this.toolStripButton2});
+ this.toolStrip1.Location = new System.Drawing.Point(0, 0);
+ this.toolStrip1.Name = "toolStrip1";
+ this.toolStrip1.Size = new System.Drawing.Size(394, 25);
+ this.toolStrip1.TabIndex = 3;
+ this.toolStrip1.Text = "toolStrip1";
+ //
+ // toolStripButton1
+ //
+ this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+ this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
+ this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton1.Name = "toolStripButton1";
+ this.toolStripButton1.Size = new System.Drawing.Size(54, 22);
+ this.toolStripButton1.Text = "Каталог";
+ //
+ // toolStripButton2
+ //
+ this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+ this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
+ this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton2.Name = "toolStripButton2";
+ this.toolStripButton2.Size = new System.Drawing.Size(58, 22);
+ this.toolStripButton2.Text = "История";
+ //
+ // flowLayoutPanel1
+ //
+ this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.flowLayoutPanel1.AutoScroll = true;
+ this.flowLayoutPanel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+ this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
+ this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 67);
+ this.flowLayoutPanel1.Name = "flowLayoutPanel1";
+ this.flowLayoutPanel1.Size = new System.Drawing.Size(394, 380);
+ this.flowLayoutPanel1.TabIndex = 4;
+ //
+ // Form1
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.ClientSize = new System.Drawing.Size(394, 447);
+ this.Controls.Add(this.flowLayoutPanel1);
+ this.Controls.Add(this.toolStrip1);
+ this.Controls.Add(this.bt_reset);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.tb_comp);
+ this.Name = "Form1";
this.Text = "Form1";
+ this.toolStrip1.ResumeLayout(false);
+ this.toolStrip1.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
}
#endregion
+
+ private System.Windows.Forms.TextBox tb_comp;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Button bt_reset;
+ private System.Windows.Forms.ToolStrip toolStrip1;
+ private System.Windows.Forms.ToolStripButton toolStripButton1;
+ private System.Windows.Forms.ToolStripButton toolStripButton2;
+ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
}
}
diff --git a/Reseter2/Form1.cs b/Reseter2/Form1.cs
index f3b65f2..6a80467 100644
--- a/Reseter2/Form1.cs
+++ b/Reseter2/Form1.cs
@@ -16,5 +16,10 @@ namespace Reseter2
{
InitializeComponent();
}
+
+ private void label1_Click(object sender, EventArgs e)
+ {
+
+ }
}
}
diff --git a/Reseter2/Form1.resx b/Reseter2/Form1.resx
new file mode 100644
index 0000000..792365f
--- /dev/null
+++ b/Reseter2/Form1.resx
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+ 17, 17
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAA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ew8gXbl54nuf63dd9
+ 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
+ bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
+ VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
+ c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
+ Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
+ mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
+ kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
+ TgDQASA1MVpwzwAAAABJRU5ErkJggg==
+
+
+
\ No newline at end of file
diff --git a/Reseter2/Reseter2.csproj b/Reseter2/Reseter2.csproj
index 5b82c5d..e7d2ceb 100644
--- a/Reseter2/Reseter2.csproj
+++ b/Reseter2/Reseter2.csproj
@@ -60,6 +60,15 @@
+
+ UserControl
+
+
+ TaskControl.cs
+
+
+ Form1.cs
+
ResXFileCodeGenerator
Resources.Designer.cs
@@ -69,6 +78,9 @@
True
Resources.resx
+
+ TaskControl.cs
+
SettingsSingleFileGenerator
Settings.Designer.cs
diff --git a/Reseter2/TaskControl.Designer.cs b/Reseter2/TaskControl.Designer.cs
new file mode 100644
index 0000000..90a641d
--- /dev/null
+++ b/Reseter2/TaskControl.Designer.cs
@@ -0,0 +1,194 @@
+namespace Reseter2
+{
+ partial class TaskControl
+ {
+ ///
+ /// Обязательная переменная конструктора.
+ ///
+ 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.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.lb_name = new System.Windows.Forms.Label();
+ this.lb_ip = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.lb_ping = new System.Windows.Forms.Label();
+ this.Timeout = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.button1 = new System.Windows.Forms.Button();
+ this.button2 = new System.Windows.Forms.Button();
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(74, 23);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(47, 13);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "Имя ПК";
+ this.label1.Click += new System.EventHandler(this.label1_Click);
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(74, 36);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(17, 13);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "IP";
+ //
+ // lb_name
+ //
+ this.lb_name.AutoSize = true;
+ this.lb_name.Location = new System.Drawing.Point(128, 23);
+ this.lb_name.Name = "lb_name";
+ this.lb_name.Size = new System.Drawing.Size(57, 13);
+ this.lb_name.TabIndex = 2;
+ this.lb_name.Text = "ma001234";
+ //
+ // lb_ip
+ //
+ this.lb_ip.AutoSize = true;
+ this.lb_ip.Location = new System.Drawing.Point(97, 36);
+ this.lb_ip.Name = "lb_ip";
+ this.lb_ip.Size = new System.Drawing.Size(70, 13);
+ this.lb_ip.TabIndex = 3;
+ this.lb_ip.Text = "10.3.123.123";
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(74, 10);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(104, 13);
+ this.label3.TabIndex = 4;
+ this.label3.Text = "Перезагружаеться";
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(74, 49);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(28, 13);
+ this.label4.TabIndex = 5;
+ this.label4.Text = "Ping";
+ //
+ // lb_ping
+ //
+ this.lb_ping.AutoSize = true;
+ this.lb_ping.Location = new System.Drawing.Point(108, 49);
+ this.lb_ping.Name = "lb_ping";
+ this.lb_ping.Size = new System.Drawing.Size(38, 13);
+ this.lb_ping.TabIndex = 6;
+ this.lb_ping.Text = "100ms";
+ //
+ // Timeout
+ //
+ this.Timeout.AutoSize = true;
+ this.Timeout.Location = new System.Drawing.Point(173, 49);
+ this.Timeout.Name = "Timeout";
+ this.Timeout.Size = new System.Drawing.Size(45, 13);
+ this.Timeout.TabIndex = 7;
+ this.Timeout.Text = "Timeout";
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Location = new System.Drawing.Point(225, 49);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(25, 13);
+ this.label5.TabIndex = 8;
+ this.label5.Text = "123";
+ //
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(267, 13);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(96, 23);
+ this.button1.TabIndex = 9;
+ this.button1.Text = "Остановить";
+ this.button1.UseVisualStyleBackColor = true;
+ //
+ // button2
+ //
+ this.button2.Location = new System.Drawing.Point(267, 42);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(96, 23);
+ this.button2.TabIndex = 10;
+ this.button2.Text = "Перезапустить";
+ this.button2.UseVisualStyleBackColor = true;
+ //
+ // pictureBox1
+ //
+ this.pictureBox1.Location = new System.Drawing.Point(8, 8);
+ this.pictureBox1.Name = "pictureBox1";
+ this.pictureBox1.Size = new System.Drawing.Size(60, 60);
+ this.pictureBox1.TabIndex = 11;
+ this.pictureBox1.TabStop = false;
+ //
+ // TaskControl
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.Controls.Add(this.pictureBox1);
+ this.Controls.Add(this.button2);
+ this.Controls.Add(this.button1);
+ this.Controls.Add(this.label5);
+ this.Controls.Add(this.Timeout);
+ this.Controls.Add(this.lb_ping);
+ this.Controls.Add(this.label4);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.lb_ip);
+ this.Controls.Add(this.lb_name);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.label1);
+ this.Name = "TaskControl";
+ this.Size = new System.Drawing.Size(369, 75);
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label lb_name;
+ private System.Windows.Forms.Label lb_ip;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label lb_ping;
+ private System.Windows.Forms.Label Timeout;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.Button button2;
+ private System.Windows.Forms.PictureBox pictureBox1;
+ }
+}
diff --git a/Reseter2/TaskControl.cs b/Reseter2/TaskControl.cs
new file mode 100644
index 0000000..57c2591
--- /dev/null
+++ b/Reseter2/TaskControl.cs
@@ -0,0 +1,26 @@
+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 Reseter2
+{
+ [DefaultEvent(nameof(TaskControl))]
+ public partial class TaskControl : UserControl
+ {
+ public TaskControl()
+ {
+ InitializeComponent();
+ }
+
+ private void label1_Click(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
diff --git a/Reseter2/TaskControl.resx b/Reseter2/TaskControl.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/Reseter2/TaskControl.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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