From 4e8948cd57a056b7893e43adc43ed7b44358325b Mon Sep 17 00:00:00 2001 From: "kagbie3nn@mail.ru" Date: Sat, 27 Apr 2024 19:48:40 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=BE=D1=80=D0=BC=D1=8B=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D1=81=D0=BE=D1=82=D1=80=D1=83=D0=B4=D0=BD=D0=B8=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git/JurasicZoo/JurasicZoo/Form1.Designer.cs | 39 ---- .../JurasicZoo/FormRoutes.Designer.cs | 191 ++++++++++++++++++ .../JurasicZoo/{Form1.cs => FormRoutes.cs} | 4 +- git/JurasicZoo/JurasicZoo/FormRoutes.resx | 153 ++++++++++++++ .../JurasicZoo/Preserve.Designer.cs | 115 +++++++++++ git/JurasicZoo/JurasicZoo/Preserve.cs | 20 ++ .../JurasicZoo/{Form1.resx => Preserve.resx} | 50 ++--- .../JurasicZoo/Preserves.Designer.cs | 133 ++++++++++++ git/JurasicZoo/JurasicZoo/Preserves.cs | 20 ++ git/JurasicZoo/JurasicZoo/Preserves.resx | 138 +++++++++++++ git/JurasicZoo/JurasicZoo/Program.cs | 2 +- 11 files changed, 798 insertions(+), 67 deletions(-) delete mode 100644 git/JurasicZoo/JurasicZoo/Form1.Designer.cs create mode 100644 git/JurasicZoo/JurasicZoo/FormRoutes.Designer.cs rename git/JurasicZoo/JurasicZoo/{Form1.cs => FormRoutes.cs} (56%) create mode 100644 git/JurasicZoo/JurasicZoo/FormRoutes.resx create mode 100644 git/JurasicZoo/JurasicZoo/Preserve.Designer.cs create mode 100644 git/JurasicZoo/JurasicZoo/Preserve.cs rename git/JurasicZoo/JurasicZoo/{Form1.resx => Preserve.resx} (93%) create mode 100644 git/JurasicZoo/JurasicZoo/Preserves.Designer.cs create mode 100644 git/JurasicZoo/JurasicZoo/Preserves.cs create mode 100644 git/JurasicZoo/JurasicZoo/Preserves.resx diff --git a/git/JurasicZoo/JurasicZoo/Form1.Designer.cs b/git/JurasicZoo/JurasicZoo/Form1.Designer.cs deleted file mode 100644 index 64ced10..0000000 --- a/git/JurasicZoo/JurasicZoo/Form1.Designer.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace JurasicZoo -{ - 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/git/JurasicZoo/JurasicZoo/FormRoutes.Designer.cs b/git/JurasicZoo/JurasicZoo/FormRoutes.Designer.cs new file mode 100644 index 0000000..0a1b8c7 --- /dev/null +++ b/git/JurasicZoo/JurasicZoo/FormRoutes.Designer.cs @@ -0,0 +1,191 @@ +namespace JurasicZoo +{ + partial class FormRoutes + { + /// + /// 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() + { + menuStrip1 = new MenuStrip(); + справочникиToolStripMenuItem = new ToolStripMenuItem(); + заповедникиToolStripMenuItem = new ToolStripMenuItem(); + отчетыToolStripMenuItem = new ToolStripMenuItem(); + выводВdocToolStripMenuItem = new ToolStripMenuItem(); + выводВxlxToolStripMenuItem = new ToolStripMenuItem(); + отправитьНаПочтуToolStripMenuItem = new ToolStripMenuItem(); + dataGridView1 = new DataGridView(); + checkedListBoxPreserves = new CheckedListBox(); + RouteId = new DataGridViewTextBoxColumn(); + Preserves = new DataGridViewTextBoxColumn(); + Datestart = new DataGridViewTextBoxColumn(); + DateFinish = new DataGridViewTextBoxColumn(); + Status = new DataGridViewTextBoxColumn(); + buttonUpd = new Button(); + menuStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit(); + SuspendLayout(); + // + // menuStrip1 + // + menuStrip1.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, отчетыToolStripMenuItem }); + menuStrip1.Location = new Point(0, 0); + menuStrip1.Name = "menuStrip1"; + menuStrip1.Size = new Size(876, 24); + menuStrip1.TabIndex = 0; + menuStrip1.Text = "menuStrip1"; + // + // справочникиToolStripMenuItem + // + справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { заповедникиToolStripMenuItem }); + справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem"; + справочникиToolStripMenuItem.Size = new Size(94, 20); + справочникиToolStripMenuItem.Text = "Справочники"; + // + // заповедникиToolStripMenuItem + // + заповедникиToolStripMenuItem.Name = "заповедникиToolStripMenuItem"; + заповедникиToolStripMenuItem.Size = new Size(180, 22); + заповедникиToolStripMenuItem.Text = "Заповедники"; + // + // отчетыToolStripMenuItem + // + отчетыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { выводВdocToolStripMenuItem, выводВxlxToolStripMenuItem, отправитьНаПочтуToolStripMenuItem }); + отчетыToolStripMenuItem.Name = "отчетыToolStripMenuItem"; + отчетыToolStripMenuItem.Size = new Size(60, 20); + отчетыToolStripMenuItem.Text = "Отчеты"; + // + // выводВdocToolStripMenuItem + // + выводВdocToolStripMenuItem.Name = "выводВdocToolStripMenuItem"; + выводВdocToolStripMenuItem.Size = new Size(183, 22); + выводВdocToolStripMenuItem.Text = "Вывод в .doc"; + // + // выводВxlxToolStripMenuItem + // + выводВxlxToolStripMenuItem.Name = "выводВxlxToolStripMenuItem"; + выводВxlxToolStripMenuItem.Size = new Size(183, 22); + выводВxlxToolStripMenuItem.Text = "Вывод в .xlsx"; + // + // отправитьНаПочтуToolStripMenuItem + // + отправитьНаПочтуToolStripMenuItem.Name = "отправитьНаПочтуToolStripMenuItem"; + отправитьНаПочтуToolStripMenuItem.Size = new Size(183, 22); + отправитьНаПочтуToolStripMenuItem.Text = "Отправить на почту"; + // + // dataGridView1 + // + dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; + dataGridView1.Columns.AddRange(new DataGridViewColumn[] { RouteId, Preserves, Datestart, DateFinish, Status }); + dataGridView1.Location = new Point(12, 27); + dataGridView1.Name = "dataGridView1"; + dataGridView1.RowTemplate.Height = 25; + dataGridView1.Size = new Size(728, 331); + dataGridView1.TabIndex = 1; + // + // checkedListBoxPreserves + // + checkedListBoxPreserves.FormattingEnabled = true; + checkedListBoxPreserves.Location = new Point(746, 27); + checkedListBoxPreserves.Name = "checkedListBoxPreserves"; + checkedListBoxPreserves.Size = new Size(120, 94); + checkedListBoxPreserves.TabIndex = 2; + // + // RouteId + // + RouteId.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; + RouteId.HeaderText = "Номер маршрута"; + RouteId.Name = "RouteId"; + // + // Preserves + // + Preserves.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; + Preserves.HeaderText = "Заповедники"; + Preserves.Name = "Preserves"; + // + // Datestart + // + Datestart.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; + Datestart.HeaderText = "Дата начала"; + Datestart.Name = "Datestart"; + // + // DateFinish + // + DateFinish.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; + DateFinish.HeaderText = "Дата окончание"; + DateFinish.Name = "DateFinish"; + // + // Status + // + Status.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; + Status.HeaderText = "Статус оплаты"; + Status.Name = "Status"; + // + // buttonUpd + // + buttonUpd.Location = new Point(746, 273); + buttonUpd.Name = "buttonUpd"; + buttonUpd.Size = new Size(118, 51); + buttonUpd.TabIndex = 3; + buttonUpd.Text = "Обновить"; + buttonUpd.UseVisualStyleBackColor = true; + // + // FormRoutes + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(876, 370); + Controls.Add(buttonUpd); + Controls.Add(checkedListBoxPreserves); + Controls.Add(dataGridView1); + Controls.Add(menuStrip1); + MainMenuStrip = menuStrip1; + Name = "FormRoutes"; + Text = "Маршруты"; + menuStrip1.ResumeLayout(false); + menuStrip1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit(); + ResumeLayout(false); + PerformLayout(); + } + + #endregion + + private MenuStrip menuStrip1; + private ToolStripMenuItem справочникиToolStripMenuItem; + private ToolStripMenuItem заповедникиToolStripMenuItem; + private ToolStripMenuItem отчетыToolStripMenuItem; + private ToolStripMenuItem выводВdocToolStripMenuItem; + private ToolStripMenuItem выводВxlxToolStripMenuItem; + private ToolStripMenuItem отправитьНаПочтуToolStripMenuItem; + private DataGridView dataGridView1; + private CheckedListBox checkedListBoxPreserves; + private DataGridViewTextBoxColumn RouteId; + private DataGridViewTextBoxColumn Preserves; + private DataGridViewTextBoxColumn Datestart; + private DataGridViewTextBoxColumn DateFinish; + private DataGridViewTextBoxColumn Status; + private Button buttonUpd; + } +} diff --git a/git/JurasicZoo/JurasicZoo/Form1.cs b/git/JurasicZoo/JurasicZoo/FormRoutes.cs similarity index 56% rename from git/JurasicZoo/JurasicZoo/Form1.cs rename to git/JurasicZoo/JurasicZoo/FormRoutes.cs index a3f2ca6..d96d059 100644 --- a/git/JurasicZoo/JurasicZoo/Form1.cs +++ b/git/JurasicZoo/JurasicZoo/FormRoutes.cs @@ -1,8 +1,8 @@ namespace JurasicZoo { - public partial class Form1 : Form + public partial class FormRoutes : Form { - public Form1() + public FormRoutes() { InitializeComponent(); } diff --git a/git/JurasicZoo/JurasicZoo/FormRoutes.resx b/git/JurasicZoo/JurasicZoo/FormRoutes.resx new file mode 100644 index 0000000..b1cfa50 --- /dev/null +++ b/git/JurasicZoo/JurasicZoo/FormRoutes.resx @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + \ No newline at end of file diff --git a/git/JurasicZoo/JurasicZoo/Preserve.Designer.cs b/git/JurasicZoo/JurasicZoo/Preserve.Designer.cs new file mode 100644 index 0000000..f928026 --- /dev/null +++ b/git/JurasicZoo/JurasicZoo/Preserve.Designer.cs @@ -0,0 +1,115 @@ +namespace ZooView +{ + partial class Preserve + { + /// + /// 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() + { + buttonAdd = new Button(); + buttonCancel = new Button(); + label1 = new Label(); + textBoxPreserve = new TextBox(); + textBox1 = new TextBox(); + label2 = new Label(); + SuspendLayout(); + // + // buttonAdd + // + buttonAdd.Location = new Point(215, 100); + buttonAdd.Name = "buttonAdd"; + buttonAdd.Size = new Size(75, 23); + buttonAdd.TabIndex = 0; + buttonAdd.Text = "Добавить"; + buttonAdd.UseVisualStyleBackColor = true; + // + // buttonCancel + // + buttonCancel.Location = new Point(309, 100); + buttonCancel.Name = "buttonCancel"; + buttonCancel.Size = new Size(75, 23); + buttonCancel.TabIndex = 1; + buttonCancel.Text = "Отмена"; + buttonCancel.UseVisualStyleBackColor = true; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new Point(12, 20); + label1.Name = "label1"; + label1.Size = new Size(175, 15); + label1.TabIndex = 2; + label1.Text = "Введите название заповедника"; + // + // textBoxPreserve + // + textBoxPreserve.Location = new Point(193, 17); + textBoxPreserve.Name = "textBoxPreserve"; + textBoxPreserve.Size = new Size(202, 23); + textBoxPreserve.TabIndex = 3; + // + // textBox1 + // + textBox1.Location = new Point(193, 46); + textBox1.Name = "textBox1"; + textBox1.Size = new Size(110, 23); + textBox1.TabIndex = 4; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new Point(12, 49); + label2.Name = "label2"; + label2.Size = new Size(180, 15); + label2.TabIndex = 5; + label2.Text = "Укажите стоимость посещения"; + // + // Preserve + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(407, 135); + Controls.Add(label2); + Controls.Add(textBox1); + Controls.Add(textBoxPreserve); + Controls.Add(label1); + Controls.Add(buttonCancel); + Controls.Add(buttonAdd); + Name = "Preserve"; + Text = "Создать заповедник"; + ResumeLayout(false); + PerformLayout(); + } + + #endregion + + private Button buttonAdd; + private Button buttonCancel; + private Label label1; + private TextBox textBoxPreserve; + private TextBox textBox1; + private Label label2; + } +} \ No newline at end of file diff --git a/git/JurasicZoo/JurasicZoo/Preserve.cs b/git/JurasicZoo/JurasicZoo/Preserve.cs new file mode 100644 index 0000000..433bd74 --- /dev/null +++ b/git/JurasicZoo/JurasicZoo/Preserve.cs @@ -0,0 +1,20 @@ +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 ZooView +{ + public partial class Preserve : Form + { + public Preserve() + { + InitializeComponent(); + } + } +} diff --git a/git/JurasicZoo/JurasicZoo/Form1.resx b/git/JurasicZoo/JurasicZoo/Preserve.resx similarity index 93% rename from git/JurasicZoo/JurasicZoo/Form1.resx rename to git/JurasicZoo/JurasicZoo/Preserve.resx index 1af7de1..af32865 100644 --- a/git/JurasicZoo/JurasicZoo/Form1.resx +++ b/git/JurasicZoo/JurasicZoo/Preserve.resx @@ -1,17 +1,17 @@  - diff --git a/git/JurasicZoo/JurasicZoo/Preserves.Designer.cs b/git/JurasicZoo/JurasicZoo/Preserves.Designer.cs new file mode 100644 index 0000000..fe36175 --- /dev/null +++ b/git/JurasicZoo/JurasicZoo/Preserves.Designer.cs @@ -0,0 +1,133 @@ +namespace ZooView +{ + partial class Preserves + { + /// + /// 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() + { + dataGridView1 = new DataGridView(); + buttonAddPreserve = new Button(); + buttonUpdPreserves = new Button(); + buttonDelsPreserves = new Button(); + buttonRefPreserves = new Button(); + PreserveId = new DataGridViewTextBoxColumn(); + PreserveName = new DataGridViewTextBoxColumn(); + PreserveCost = new DataGridViewTextBoxColumn(); + ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit(); + SuspendLayout(); + // + // dataGridView1 + // + dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; + dataGridView1.Columns.AddRange(new DataGridViewColumn[] { PreserveId, PreserveName, PreserveCost }); + dataGridView1.Location = new Point(2, 2); + dataGridView1.Name = "dataGridView1"; + dataGridView1.RowTemplate.Height = 25; + dataGridView1.Size = new Size(240, 483); + dataGridView1.TabIndex = 0; + // + // buttonAddPreserve + // + buttonAddPreserve.Location = new Point(248, 29); + buttonAddPreserve.Name = "buttonAddPreserve"; + buttonAddPreserve.Size = new Size(129, 37); + buttonAddPreserve.TabIndex = 1; + buttonAddPreserve.Text = "Добавить"; + buttonAddPreserve.UseVisualStyleBackColor = true; + // + // buttonUpdPreserves + // + buttonUpdPreserves.Location = new Point(248, 82); + buttonUpdPreserves.Name = "buttonUpdPreserves"; + buttonUpdPreserves.Size = new Size(129, 37); + buttonUpdPreserves.TabIndex = 2; + buttonUpdPreserves.Text = "Изменить"; + buttonUpdPreserves.UseVisualStyleBackColor = true; + // + // buttonDelsPreserves + // + buttonDelsPreserves.Location = new Point(248, 136); + buttonDelsPreserves.Name = "buttonDelsPreserves"; + buttonDelsPreserves.Size = new Size(129, 37); + buttonDelsPreserves.TabIndex = 3; + buttonDelsPreserves.Text = "Удалить"; + buttonDelsPreserves.UseVisualStyleBackColor = true; + // + // buttonRefPreserves + // + buttonRefPreserves.Location = new Point(248, 191); + buttonRefPreserves.Name = "buttonRefPreserves"; + buttonRefPreserves.Size = new Size(129, 37); + buttonRefPreserves.TabIndex = 4; + buttonRefPreserves.Text = "Обновить"; + buttonRefPreserves.UseVisualStyleBackColor = true; + // + // PreserveId + // + PreserveId.HeaderText = "id"; + PreserveId.Name = "PreserveId"; + PreserveId.Visible = false; + // + // PreserveName + // + PreserveName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; + PreserveName.HeaderText = "Название"; + PreserveName.Name = "PreserveName"; + // + // PreserveCost + // + PreserveCost.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; + PreserveCost.HeaderText = "Стоимость"; + PreserveCost.Name = "PreserveCost"; + // + // Preserves + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(389, 490); + Controls.Add(buttonRefPreserves); + Controls.Add(buttonDelsPreserves); + Controls.Add(buttonUpdPreserves); + Controls.Add(buttonAddPreserve); + Controls.Add(dataGridView1); + Name = "Preserves"; + Text = "Заповедники"; + ((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit(); + ResumeLayout(false); + } + + #endregion + + private DataGridView dataGridView1; + private Button buttonAddPreserve; + private Button buttonUpdPreserves; + private Button buttonDelsPreserves; + private Button buttonRefPreserves; + private DataGridViewTextBoxColumn PreserveId; + private DataGridViewTextBoxColumn PreserveName; + private DataGridViewTextBoxColumn PreserveCost; + } +} \ No newline at end of file diff --git a/git/JurasicZoo/JurasicZoo/Preserves.cs b/git/JurasicZoo/JurasicZoo/Preserves.cs new file mode 100644 index 0000000..add5381 --- /dev/null +++ b/git/JurasicZoo/JurasicZoo/Preserves.cs @@ -0,0 +1,20 @@ +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 ZooView +{ + public partial class Preserves : Form + { + public Preserves() + { + InitializeComponent(); + } + } +} diff --git a/git/JurasicZoo/JurasicZoo/Preserves.resx b/git/JurasicZoo/JurasicZoo/Preserves.resx new file mode 100644 index 0000000..fa1bde4 --- /dev/null +++ b/git/JurasicZoo/JurasicZoo/Preserves.resx @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + True + + + True + + + True + + + True + + + True + + + True + + \ No newline at end of file diff --git a/git/JurasicZoo/JurasicZoo/Program.cs b/git/JurasicZoo/JurasicZoo/Program.cs index eb9d905..b246e26 100644 --- a/git/JurasicZoo/JurasicZoo/Program.cs +++ b/git/JurasicZoo/JurasicZoo/Program.cs @@ -11,7 +11,7 @@ namespace JurasicZoo // 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 FormRoutes()); } } } \ No newline at end of file