PIbd-22 Chubykina P.P. LabWork_04 #4

Closed
chubykina_polina wants to merge 5 commits from LabWork_04 into LabWork_03
2 changed files with 1 additions and 4 deletions
Showing only changes of commit dc179c572a - Show all commits

View File

@ -60,7 +60,6 @@ namespace Sailboat
FormSailboat form = new();
if (form.ShowDialog() == DialogResult.OK)
{
//вот здесь лажа какая то
if (obj + form.SelectedBoat)
{
MessageBox.Show("Объект добавлен");

View File

@ -4,7 +4,6 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
//пофиксить чота
namespace Sailboat.Generics
{
internal class SetGeneric<T> where T : class
@ -66,8 +65,7 @@ namespace Sailboat.Generics
{
return false;
}
_places[position] = null;
_places.RemoveAt(position);
return true;
}
/// <summary>