Merge branch 'LabWork_07' into LabWork_08_1

This commit is contained in:
Камилия Сафиулова 2023-12-24 04:36:44 +04:00
commit 1882c9678f
2 changed files with 5 additions and 4 deletions

View File

@ -57,7 +57,7 @@ namespace Catamaran
private void buttonCreateSailCatamaran_Click(object sender, EventArgs e)
{
Random random = new();
//ё TODO выбор основного цвета
//TODO выбор основного цвета
Color color = Color.FromArgb(random.Next(0, 256),
random.Next(0, 256), random.Next(0, 256));
ColorDialog dialogColor = new();

View File

@ -168,6 +168,7 @@ namespace Catamaran
EventAddCatamaran?.Invoke(_catamaran);
Close();
}
};
};
}
}