public ucFloorButton(int iFloor) { InitializeComponent(); FloorText = iFloor.ToString(); Evt.Instance(FloorText + "ClearButtonUI").Event += ClearButtonUI; }
public void DoorControl() { // UI의 FloorButton 색깔 제거 및 눌린 층 List에서 제거 Evt.Instance(model.NowFloor + "ClearButtonUI").Invoke(); model.ReservedFloorList.Remove(model.NowFloor); DoorOpenAndDelayCloseThread(); }
public DoorAlert() { Evt.Instance("EvtDoorOpen").Event += DoorOpen; Evt.Instance("EvtDoorClose").Event += DoorClose; }