diff --git a/ProjectMotorboat/ProjectMotorboat/DirectionType.cs b/ProjectMotorboat/ProjectMotorboat/DirectionType.cs index ad6412e..399d187 100644 --- a/ProjectMotorboat/ProjectMotorboat/DirectionType.cs +++ b/ProjectMotorboat/ProjectMotorboat/DirectionType.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ProjectMotorboat +namespace ProjectMotorboat { public enum DirectionType { diff --git a/ProjectMotorboat/ProjectMotorboat/DrawningMotorboat.cs b/ProjectMotorboat/ProjectMotorboat/DrawningMotorboat.cs index 2ada37f..c43530a 100644 --- a/ProjectMotorboat/ProjectMotorboat/DrawningMotorboat.cs +++ b/ProjectMotorboat/ProjectMotorboat/DrawningMotorboat.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace ProjectMotorboat { public class DrawningMotorboat diff --git a/ProjectMotorboat/ProjectMotorboat/DrawningOars.cs b/ProjectMotorboat/ProjectMotorboat/DrawningOars.cs index 56fe629..f82f941 100644 --- a/ProjectMotorboat/ProjectMotorboat/DrawningOars.cs +++ b/ProjectMotorboat/ProjectMotorboat/DrawningOars.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; + namespace ProjectMotorboat diff --git a/ProjectMotorboat/ProjectMotorboat/EntityMotorboat.cs b/ProjectMotorboat/ProjectMotorboat/EntityMotorboat.cs index 861385a..5c8f4d0 100644 --- a/ProjectMotorboat/ProjectMotorboat/EntityMotorboat.cs +++ b/ProjectMotorboat/ProjectMotorboat/EntityMotorboat.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; + namespace ProjectMotorboat; diff --git a/ProjectMotorboat/ProjectMotorboat/FormMotorboat.cs b/ProjectMotorboat/ProjectMotorboat/FormMotorboat.cs index 78f22db..f5ab665 100644 --- a/ProjectMotorboat/ProjectMotorboat/FormMotorboat.cs +++ b/ProjectMotorboat/ProjectMotorboat/FormMotorboat.cs @@ -1,12 +1,4 @@ -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 ProjectMotorboat { @@ -51,11 +43,7 @@ namespace ProjectMotorboat pictureBoxMotorboat.Image = bmp; } - /// - /// Перемещение объекта по форме (нажатие кнопок навигации) - /// - /// - /// + private void ButtonMove_Click(object sender, EventArgs e) { if (_drawningMotorboat == null) diff --git a/ProjectMotorboat/ProjectMotorboat/OarsNum.cs b/ProjectMotorboat/ProjectMotorboat/OarsNum.cs index 8e3b3f3..49f8cc9 100644 --- a/ProjectMotorboat/ProjectMotorboat/OarsNum.cs +++ b/ProjectMotorboat/ProjectMotorboat/OarsNum.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; + namespace ProjectMotorboat {