using OpenSEMI.Ctrlib.Controls; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CyberX8_Core { public static class GlobalEvents { public static event Action SlotRightClickChangedEvent; public static event Action SlotWaferTransferEvent; public static event Action SwitchFixedTabItem; public static event Action SwitchFixedChildSubItem; public static void OnSlotRightClickChanged(Slot slot) { SlotRightClickChangedEvent?.Invoke(slot); } public static void OnSlotWaferTransfer(DragDropEventArgs e) { SlotWaferTransferEvent?.Invoke(e); } public static void OnSwitchFixedTabItem(string root,string parent,string child) { SwitchFixedTabItem?.Invoke(root, parent, child); } public static void OnSwitchFixedChildSubItem(string child,string subItem) { SwitchFixedChildSubItem?.Invoke(child, subItem); } } }