From 6e2bf2182028bd433d7c1a28eea202813470c612 Mon Sep 17 00:00:00 2001 From: VictoriaPresnyakova Date: Sat, 22 Oct 2022 20:53:46 +0400 Subject: [PATCH] 2 --- Catamaran/AbstractMap.cs | 2 -- Catamaran/FormBoat.Designer.cs | 2 -- Catamaran/FormBoat.cs | 10 +--------- Catamaran/FormMap.cs | 2 -- 4 files changed, 1 insertion(+), 15 deletions(-) diff --git a/Catamaran/AbstractMap.cs b/Catamaran/AbstractMap.cs index ef55784..a6c19cb 100644 --- a/Catamaran/AbstractMap.cs +++ b/Catamaran/AbstractMap.cs @@ -104,8 +104,6 @@ namespace Catamaran } return DrawMapWithObject(); } - - private bool SetObjectOnMap() { if (_drawingObject == null || _map == null) diff --git a/Catamaran/FormBoat.Designer.cs b/Catamaran/FormBoat.Designer.cs index e71a556..42a6fb2 100644 --- a/Catamaran/FormBoat.Designer.cs +++ b/Catamaran/FormBoat.Designer.cs @@ -72,7 +72,6 @@ this.toolStripStatusLabelColor.Name = "toolStripStatusLabelColor"; this.toolStripStatusLabelColor.Size = new System.Drawing.Size(55, 25); this.toolStripStatusLabelColor.Text = "Color"; - this.toolStripStatusLabelColor.Click += new System.EventHandler(this.toolStripStatusLabel3_Click); // // pictureBoxCatamaran // @@ -158,7 +157,6 @@ this.Controls.Add(this.statusStrip1); this.Name = "CatamaranForm"; this.Text = "Catamaran"; - this.Load += new System.EventHandler(this.CatamaranForm_Load); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxCatamaran)).EndInit(); diff --git a/Catamaran/FormBoat.cs b/Catamaran/FormBoat.cs index 7b01d4b..16c0872 100644 --- a/Catamaran/FormBoat.cs +++ b/Catamaran/FormBoat.cs @@ -24,15 +24,7 @@ namespace Catamaran _catamaran?.DrawTransport(gr); pictureBoxCatamaran.Image = bmp; } - - private void CatamaranForm_Load(object sender, EventArgs e) - { - - } - private void toolStripStatusLabel3_Click(object sender, EventArgs e) - { - - } + private void buttonCreate_Click(object sender, EventArgs e) { Random rnd = new Random(); diff --git a/Catamaran/FormMap.cs b/Catamaran/FormMap.cs index e1e78fc..57c3e70 100644 --- a/Catamaran/FormMap.cs +++ b/Catamaran/FormMap.cs @@ -20,8 +20,6 @@ namespace Catamaran _abstractMap = new SimpleMap(); } - - /// /// Заполнение информации по объекту ///