36 writes to Enabled
PresentationUI (2)
MS\Internal\Documents\SigningProgress.cs (1)
103
_timer.
Enabled
= false;
MS\Internal\Documents\SigningProgress.Designer.cs (1)
49
_timer.
Enabled
= true;
System.Windows.Forms (22)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (8)
9679
HorizScrollTimer.
Enabled
= false;
16279
_horizScrollTimer.
Enabled
= false;
16286
HorizScrollTimer.
Enabled
= true;
16294
_vertScrollTimer.
Enabled
= false;
16301
VertScrollTimer.
Enabled
= true;
25841
_horizScrollTimer.
Enabled
= false;
25846
_vertScrollTimer.
Enabled
= false;
29922
VertScrollTimer.
Enabled
= false;
System\Windows\Forms\Controls\Menus\MenuTimer.cs (3)
57
_autoMenuExpandTimer.
Enabled
= true;
112
_autoMenuExpandTimer.
Enabled
= false;
160
_autoMenuExpandTimer.
Enabled
= false;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (2)
314
_ensureMessageProcessingTimer.
Enabled
= true;
318
_ensureMessageProcessingTimer.
Enabled
= false;
System\Windows\Forms\Controls\ToolStrips\ToolStripScrollButton.cs (3)
70
_mouseDownTimer.
Enabled
= false;
88
MouseDownTimer.
Enabled
= true;
104
MouseDownTimer.
Enabled
= false;
System\Windows\Forms\Input\MouseHoverTimer.cs (3)
28
_mouseHoverTimer.
Enabled
= true;
52
_mouseHoverTimer.
Enabled
= false;
58
_mouseHoverTimer.
Enabled
= false;
System\Windows\Forms\Timer.cs (3)
76
Enabled
= false;
171
public void Start() =>
Enabled
= true;
176
public void Stop() =>
Enabled
= false;
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ToolStripItemBehavior.cs (4)
193
_timer.
Enabled
= false;
245
_timer.
Enabled
= false;
375
_timer.
Enabled
= true;
576
_timer.
Enabled
= false;
System.Windows.Forms.Tests (6)
System\Windows\Forms\TimerTests.cs (6)
48
Enabled
= value
53
timer.
Enabled
= value;
69
timer.
Enabled
= value;
73
timer.
Enabled
= value;
100
timer.
Enabled
= value;
104
timer.
Enabled
= value;
WinFormsControlsTest (2)
TaskDialogSamples.cs (2)
221
Enabled
= true,
238
timer.
Enabled
= false;
36 references to Enabled
System.Windows.Forms (11)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (10)
16276
if (_horizScrollTimer is not null && _horizScrollTimer.
Enabled
)
16282
else if (_horizScrollTimer is null || !_horizScrollTimer.
Enabled
)
16291
if (_vertScrollTimer is not null && _vertScrollTimer.
Enabled
)
16297
else if (_vertScrollTimer is null || !_vertScrollTimer.
Enabled
)
16304
if (HorizScrollTimer.
Enabled
|| VertScrollTimer.
Enabled
)
16331
Debug.Assert(_vertScrollTimer is null || !_vertScrollTimer.
Enabled
);
16332
Debug.Assert(_horizScrollTimer is null || !_horizScrollTimer.
Enabled
);
25839
if (_horizScrollTimer is not null && _horizScrollTimer.
Enabled
)
25844
if (_vertScrollTimer is not null && _vertScrollTimer.
Enabled
)
System\Windows\Forms\Timer.cs (1)
154
if (
Enabled
&& !DesignMode)
System.Windows.Forms.Tests (25)
System\Windows\Forms\TimerTests.cs (25)
17
Assert.False(timer.
Enabled
);
30
Assert.False(timer.
Enabled
);
50
Assert.Equal(value, timer.
Enabled
);
54
Assert.Equal(value, timer.
Enabled
);
70
Assert.Equal(value, timer.
Enabled
);
74
Assert.Equal(value, timer.
Enabled
);
101
Assert.Equal(value, timer.
Enabled
);
105
Assert.Equal(value, timer.
Enabled
);
283
Assert.True(timer.
Enabled
);
287
Assert.False(timer.
Enabled
);
309
Assert.True(timer.
Enabled
);
313
Assert.True(timer.
Enabled
);
335
Assert.True(timer.
Enabled
);
339
Assert.False(timer.
Enabled
);
343
Assert.True(timer.
Enabled
);
347
Assert.False(timer.
Enabled
);
369
Assert.True(timer.
Enabled
);
373
Assert.False(timer.
Enabled
);
377
Assert.False(timer.
Enabled
);
414
Assert.False(timer.
Enabled
);
418
Assert.False(timer.
Enabled
);
428
Assert.False(timer.
Enabled
);
432
Assert.False(timer.
Enabled
);
443
Assert.False(timer.
Enabled
);
447
Assert.False(timer.
Enabled
);