public void ConnectRods(Trolleybus sender) { new Task(() => { LogicObj.DoWork(sender); }).Start(); }
public void DoWork(Rocket target) { VisualElement = new Bitmap(iconPaying, s); LogicObj.X = target.X; LogicObj.DoWork(target); VisualElement = new Bitmap(icon, s); }
public void DoWork(Trolleybus target) { LogicObj.X = target.X + 30; LogicObj.Y = target.Y; LogicObj.DoWork(target); }