diff --git a/Perun_v1/Form1.Designer.cs b/Perun_v1/Form1.Designer.cs
deleted file mode 100644
index 99d0f41..0000000
--- a/Perun_v1/Form1.Designer.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-namespace Perun_v1
-{
- partial class Form1
- {
- ///
- /// Wymagana zmienna projektanta.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Wyczyść wszystkie używane zasoby.
- ///
- /// prawda, jeżeli zarządzane zasoby powinny zostać zlikwidowane; Fałsz w przeciwnym wypadku.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Kod generowany przez Projektanta formularzy systemu Windows
-
- ///
- /// Metoda wymagana do obsługi projektanta — nie należy modyfikować
- /// jej zawartości w edytorze kodu.
- ///
- private void InitializeComponent()
- {
- this.listBox1 = new System.Windows.Forms.ListBox();
- this.SuspendLayout();
- //
- // listBox1
- //
- this.listBox1.FormattingEnabled = true;
- this.listBox1.Location = new System.Drawing.Point(12, 12);
- this.listBox1.Name = "listBox1";
- this.listBox1.Size = new System.Drawing.Size(594, 550);
- this.listBox1.TabIndex = 0;
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(618, 567);
- this.Controls.Add(this.listBox1);
- this.Name = "Form1";
- this.Text = "Form1";
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.ListBox listBox1;
- }
-}
-
diff --git a/Perun_v1/Perun_v1.csproj b/Perun_v1/Perun_v1.csproj
index 4efc70d..4fa822b 100644
--- a/Perun_v1/Perun_v1.csproj
+++ b/Perun_v1/Perun_v1.csproj
@@ -46,16 +46,16 @@
-
+
Form
-
- Form1.cs
+
+ form_Main.cs
-
- Form1.cs
+
+ form_Main.cs
ResXFileCodeGenerator
diff --git a/Perun_v1/Program.cs b/Perun_v1/Program.cs
index 9e24138..0394a13 100644
--- a/Perun_v1/Program.cs
+++ b/Perun_v1/Program.cs
@@ -16,7 +16,7 @@ namespace Perun_v1
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new Form1());
+ Application.Run(new form_Main());
}
}
}
diff --git a/Perun_v1/form_Main.Designer.cs b/Perun_v1/form_Main.Designer.cs
new file mode 100644
index 0000000..9a68716
--- /dev/null
+++ b/Perun_v1/form_Main.Designer.cs
@@ -0,0 +1,73 @@
+namespace Perun_v1
+{
+ partial class form_Main
+ {
+ ///
+ /// Wymagana zmienna projektanta.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Wyczyść wszystkie używane zasoby.
+ ///
+ /// prawda, jeżeli zarządzane zasoby powinny zostać zlikwidowane; Fałsz w przeciwnym wypadku.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Kod generowany przez Projektanta formularzy systemu Windows
+
+ ///
+ /// Metoda wymagana do obsługi projektanta — nie należy modyfikować
+ /// jej zawartości w edytorze kodu.
+ ///
+ private void InitializeComponent()
+ {
+ this.con_List_Received = new System.Windows.Forms.ListBox();
+ this.con_Button_DEBUG = new System.Windows.Forms.Button();
+ this.SuspendLayout();
+ //
+ // con_List_Received
+ //
+ this.con_List_Received.FormattingEnabled = true;
+ this.con_List_Received.Location = new System.Drawing.Point(12, 12);
+ this.con_List_Received.Name = "con_List_Received";
+ this.con_List_Received.Size = new System.Drawing.Size(594, 550);
+ this.con_List_Received.TabIndex = 0;
+ //
+ // con_Button_DEBUG
+ //
+ this.con_Button_DEBUG.Location = new System.Drawing.Point(612, 21);
+ this.con_Button_DEBUG.Name = "con_Button_DEBUG";
+ this.con_Button_DEBUG.Size = new System.Drawing.Size(80, 48);
+ this.con_Button_DEBUG.TabIndex = 1;
+ this.con_Button_DEBUG.Text = "Debug";
+ this.con_Button_DEBUG.UseVisualStyleBackColor = true;
+ this.con_Button_DEBUG.Click += new System.EventHandler(this.con_Button_DEBUG_Click);
+ //
+ // form_Main
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(738, 567);
+ this.Controls.Add(this.con_Button_DEBUG);
+ this.Controls.Add(this.con_List_Received);
+ this.Name = "form_Main";
+ this.Text = "Perun for DCS World";
+ this.Load += new System.EventHandler(this.form_Main_Load);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.ListBox con_List_Received;
+ private System.Windows.Forms.Button con_Button_DEBUG;
+ }
+}
+
diff --git a/Perun_v1/Form1.cs b/Perun_v1/form_Main.cs
similarity index 50%
rename from Perun_v1/Form1.cs
rename to Perun_v1/form_Main.cs
index c7703c7..cfea823 100644
--- a/Perun_v1/Form1.cs
+++ b/Perun_v1/form_Main.cs
@@ -10,11 +10,21 @@ using System.Windows.Forms;
namespace Perun_v1
{
- public partial class Form1 : Form
+ public partial class form_Main : Form
{
- public Form1()
+ public form_Main()
{
InitializeComponent();
}
+
+ private void con_Button_DEBUG_Click(object sender, EventArgs e)
+ {
+ con_List_Received.Items.Add("test");
+ }
+
+ private void form_Main_Load(object sender, EventArgs e)
+ {
+
+ }
}
}
diff --git a/Perun_v1/Form1.resx b/Perun_v1/form_Main.resx
similarity index 100%
rename from Perun_v1/Form1.resx
rename to Perun_v1/form_Main.resx