jaga jaga
This commit is contained in:
parent
9e78c3a41b
commit
07411e59cc
@ -61,8 +61,7 @@ namespace Monorail
|
||||
}
|
||||
FormMonorailConfig form = new();
|
||||
form.Show();
|
||||
form.EventAddMonorail += (m) =>
|
||||
{
|
||||
MonorailDelegate? monorailDelegate = new((m) => {
|
||||
bool q = (obj + m);
|
||||
if (q)
|
||||
{
|
||||
@ -73,8 +72,8 @@ namespace Monorail
|
||||
{
|
||||
MessageBox.Show("Не удалось добавить объект");
|
||||
}
|
||||
};
|
||||
|
||||
});
|
||||
form.AddEvent(monorailDelegate);
|
||||
}
|
||||
|
||||
private void deleteMonorailButton_Click(object sender, EventArgs e)
|
||||
|
@ -15,7 +15,7 @@ namespace Monorail
|
||||
{
|
||||
DrawningMonorail? _monorail = null;
|
||||
|
||||
public event MonorailDelegate? EventAddMonorail;
|
||||
private event MonorailDelegate? EventAddMonorail;
|
||||
|
||||
DrawningMonorail SelectedMonorail(DrawningMonorail monorail)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user