public static void SetAIcon(Int32 mode) { if (mode == 0) { EIcon.ShowAIcon(false, EIcon.CurrentATE); } if (EIcon.sAIconMode != mode) { EIcon.sAIconMode = mode; EIcon.sAIconTimer = 44; } }
public static void ProcessAIcon() { if (EIcon.sAIconMode > 0 && ((EIcon.sAIconMode & 4) > 0 || PersistenSingleton <EventEngine> .Instance.GetUserControl())) { EIcon.sAIconTimer++; if ((EIcon.sAIconMode & 3) != 2) { EIcon.currentATE = ATEType.Blue; EIcon.ShowAIcon(true, EIcon.currentATE); } else if ((EIcon.sAIconTimer / 15 & 1) > 0) { EIcon.currentATE = ATEType.Gray; EIcon.ShowAIcon(true, EIcon.currentATE); } } else { EIcon.ShowAIcon(false, EIcon.currentATE); } }