3 types derived from Timer
System.Windows.Forms (2)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.InternalStateMachineTimer.cs (1)
8private sealed class InternalStateMachineTimer : Timer
System\Windows\Forms\ToolTip\ToolTip.ToolTipTimer.cs (1)
8private class ToolTipTimer : Timer
System.Windows.Forms.Tests (1)
System\Windows\Forms\TimerTests.cs (1)
457private class SubTimer : Timer
24 instantiations of Timer
PresentationUI (1)
MS\Internal\Documents\SigningProgress.Designer.cs (1)
36_timer = new System.Windows.Forms.Timer();
System.Windows.Forms (8)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
2820_horizScrollTimer = new Timer(); 4126_vertScrollTimer = new Timer();
System\Windows\Forms\Controls\Menus\MenuTimer.cs (1)
8private readonly Timer _autoMenuExpandTimer = new();
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
314_ensureMessageProcessingTimer ??= new Timer();
System\Windows\Forms\Controls\ToolStrips\ToolStripScrollButton.cs (1)
62private Timer MouseDownTimer => _mouseDownTimer ??= new Timer();
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
363_timer = new Timer();
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
283_timer = new Timer();
System\Windows\Forms\Input\MouseHoverTimer.cs (1)
8private readonly Timer _mouseHoverTimer = new();
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\CommandSet.cs (1)
259_snapLineTimer = new Timer
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
369_timer = new Timer
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\CompositionDesignerTests.cs (1)
14using Timer timer = new();
System.Windows.Forms.Tests (11)
System\Windows\Forms\TimerTests.cs (11)
39Assert.Throws<ArgumentNullException>("container", () => new Timer(null)); 46using Timer timer = new() 118using Timer timer = new() 134using Timer timer = new(); 150using Timer timer = new(); 225using Timer timer = new(); 233using Timer timer = new() 412using Timer timer = new(); 424using Timer timer = new(); 438using Timer timer = new(); 453using Timer timer = new();
WinFormsControlsTest (1)
TaskDialogSamples.cs (1)
219using Timer timer = new()
39 references to Timer
DesignSurface (3)
MainForm.cs (3)
6using Timer = System.Windows.Forms.Timer; 244Timer tm11 = surface.CreateComponent<Timer>();
PresentationUI (1)
MS\Internal\Documents\SigningProgress.Designer.cs (1)
75private System.Windows.Forms.Timer _timer;
System.Windows.Forms (19)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (4)
352private Timer? _vertScrollTimer; 353private Timer? _horizScrollTimer; 2814private Timer HorizScrollTimer 4120private Timer VertScrollTimer
System\Windows\Forms\Controls\Menus\MenuTimer.cs (1)
8private readonly Timer _autoMenuExpandTimer = new();
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
43private Timer? _ensureMessageProcessingTimer;
System\Windows\Forms\Controls\ToolStrips\ToolStripScrollButton.cs (2)
25private Timer? _mouseDownTimer; 62private Timer MouseDownTimer => _mouseDownTimer ??= new Timer();
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
28private Timer? _timer; // generates UpDown events
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
25private Timer? _timer;
System\Windows\Forms\Input\MouseHoverTimer.cs (1)
8private readonly Timer _mouseHoverTimer = new();
System\Windows\Forms\Timer.cs (4)
33/// Initializes a new instance of the <see cref="Timer"/> class. 40/// Initializes a new instance of the <see cref="Timer"/> class with the specified container. 183private readonly Timer _owner; 197internal TimerNativeWindow(Timer owner)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (4)
189GetOneRunTickHandler((Timer sender) => Transit(SmEvent.ReshowDelayTimerExpired, tool))); 215GetOneRunTickHandler((Timer sender) => Transit(SmEvent.DismissTooltips, _currentTool))); 226GetOneRunTickHandler((Timer sender) => Transit(SmEvent.InitialDelayTimerExpired, _currentTool))); 238private EventHandler GetOneRunTickHandler(Action<Timer> handler)
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\CommandSet.cs (2)
50private Timer? _snapLineTimer; // used to track the time from when a snapline is rendered until it should expire 252protected Timer SnapLineTimer
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
25private Timer _timer;
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\CompositionDesignerTests.cs (1)
14using Timer timer = new();
System.Windows.Forms.Tests (10)
System\Windows\Forms\TimerTests.cs (10)
46using Timer timer = new() 118using Timer timer = new() 134using Timer timer = new(); 150using Timer timer = new(); 225using Timer timer = new(); 233using Timer timer = new() 412using Timer timer = new(); 424using Timer timer = new(); 438using Timer timer = new(); 453using Timer timer = new();
WinFormsControlsTest (2)
TaskDialogSamples.cs (2)
4using Timer = System.Windows.Forms.Timer; 219using Timer timer = new()