Изменил(а) на 'HoistingCrane/HoistingCrane/FormMap.cs'
This commit is contained in:
parent
a050412eed
commit
15268a9ee7
@ -32,7 +32,7 @@ namespace HoistingCrane
|
|||||||
private void ButtonCreate_Click(object sender, EventArgs e)
|
private void ButtonCreate_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Random rnd = new();
|
Random rnd = new();
|
||||||
var bulldozer = new DrawingHoistingCrane(rnd.Next(30, 100), rnd.Next(300, 500),
|
var hoistingCrane = new DrawingHoistingCrane(rnd.Next(30, 100), rnd.Next(300, 500),
|
||||||
Color.FromArgb(rnd.Next(0, 256), rnd.Next(0, 256), rnd.Next(0, 256)));
|
Color.FromArgb(rnd.Next(0, 256), rnd.Next(0, 256), rnd.Next(0, 256)));
|
||||||
SetData(bulldozer);
|
SetData(bulldozer);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user