36 writes to Enabled
PresentationUI (2)
MS\Internal\Documents\SigningProgress.cs (1)
109_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)
9679HorizScrollTimer.Enabled = false; 16279_horizScrollTimer.Enabled = false; 16286HorizScrollTimer.Enabled = true; 16294_vertScrollTimer.Enabled = false; 16301VertScrollTimer.Enabled = true; 25841_horizScrollTimer.Enabled = false; 25846_vertScrollTimer.Enabled = false; 29922VertScrollTimer.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)
316_ensureMessageProcessingTimer.Enabled = true; 320_ensureMessageProcessingTimer.Enabled = false;
System\Windows\Forms\Controls\ToolStrips\ToolStripScrollButton.cs (3)
70_mouseDownTimer.Enabled = false; 88MouseDownTimer.Enabled = true; 104MouseDownTimer.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)
76Enabled = false; 171public void Start() => Enabled = true; 176public 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)
48Enabled = value 53timer.Enabled = value; 69timer.Enabled = value; 73timer.Enabled = value; 100timer.Enabled = value; 104timer.Enabled = value;
WinFormsControlsTest (2)
TaskDialogSamples.cs (2)
221Enabled = true, 238timer.Enabled = false;
36 references to Enabled
System.Windows.Forms (11)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (10)
16276if (_horizScrollTimer is not null && _horizScrollTimer.Enabled) 16282else if (_horizScrollTimer is null || !_horizScrollTimer.Enabled) 16291if (_vertScrollTimer is not null && _vertScrollTimer.Enabled) 16297else if (_vertScrollTimer is null || !_vertScrollTimer.Enabled) 16304if (HorizScrollTimer.Enabled || VertScrollTimer.Enabled) 16331Debug.Assert(_vertScrollTimer is null || !_vertScrollTimer.Enabled); 16332Debug.Assert(_horizScrollTimer is null || !_horizScrollTimer.Enabled); 25839if (_horizScrollTimer is not null && _horizScrollTimer.Enabled) 25844if (_vertScrollTimer is not null && _vertScrollTimer.Enabled)
System\Windows\Forms\Timer.cs (1)
154if (Enabled && !DesignMode)
System.Windows.Forms.Tests (25)
System\Windows\Forms\TimerTests.cs (25)
17Assert.False(timer.Enabled); 30Assert.False(timer.Enabled); 50Assert.Equal(value, timer.Enabled); 54Assert.Equal(value, timer.Enabled); 70Assert.Equal(value, timer.Enabled); 74Assert.Equal(value, timer.Enabled); 101Assert.Equal(value, timer.Enabled); 105Assert.Equal(value, timer.Enabled); 283Assert.True(timer.Enabled); 287Assert.False(timer.Enabled); 309Assert.True(timer.Enabled); 313Assert.True(timer.Enabled); 335Assert.True(timer.Enabled); 339Assert.False(timer.Enabled); 343Assert.True(timer.Enabled); 347Assert.False(timer.Enabled); 369Assert.True(timer.Enabled); 373Assert.False(timer.Enabled); 377Assert.False(timer.Enabled); 414Assert.False(timer.Enabled); 418Assert.False(timer.Enabled); 428Assert.False(timer.Enabled); 432Assert.False(timer.Enabled); 443Assert.False(timer.Enabled); 447Assert.False(timer.Enabled);