private void Timer_Elapsed(object sender, EventArgs e) { ++_count; // Run AutoMode If Enable if (Settings.InAutoMode) { _autoMode.Run(); } if (Settings.InTransparentMode) { SetTransparent(); } // Reset all each 10+ second. if (_count % 27 != 0) { return; } _autoMode.Ready(); UpdateCache(); _count = 0; }
private static void Ready() => _autoMode?.Ready();
public void Ready() => _autoMode?.Ready();