jaga jaga 3.0
This commit is contained in:
parent
4a50160d51
commit
b430508482
@ -61,7 +61,7 @@ namespace Monorail
|
||||
}
|
||||
FormMonorailConfig form = new();
|
||||
form.Show();
|
||||
MonorailDelegate? monorailDelegate = new((m) => {
|
||||
Action<DrawningMonorail>? monorailDelegate = new((m) => {
|
||||
bool q = (obj + m);
|
||||
if (q)
|
||||
{
|
||||
|
@ -15,14 +15,9 @@ namespace Monorail
|
||||
{
|
||||
DrawningMonorail? _monorail = null;
|
||||
|
||||
private event MonorailDelegate? EventAddMonorail;
|
||||
private event Action<DrawningMonorail>? EventAddMonorail;
|
||||
|
||||
DrawningMonorail SelectedMonorail(DrawningMonorail monorail)
|
||||
{
|
||||
return _monorail;
|
||||
}
|
||||
|
||||
public void AddEvent(MonorailDelegate ev)
|
||||
public void AddEvent(Action<DrawningMonorail> ev)
|
||||
{
|
||||
if (EventAddMonorail == null)
|
||||
{
|
||||
|
@ -1,12 +0,0 @@
|
||||
using Monorail.DrawningObjects;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Monorail
|
||||
{
|
||||
public delegate void MonorailDelegate(DrawningMonorail monorail);
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user