2 instantiations of SystemEvents
System (2)
compmod\microsoft\win32\SystemEvents.cs (2)
573
systemEvents = new
SystemEvents
();
578
systemEvents = new
SystemEvents
();
75 references to SystemEvents
System (18)
compmod\microsoft\win32\PowerModeChangedEventArgs.cs (1)
15
/// <para>Provides data for the <see cref='Microsoft.Win32.
SystemEvents
.PowerModeChanged'/> event.</para>
compmod\microsoft\win32\PowerModeChangedEventHandler.cs (1)
15
/// <para>Represents the method that will handle the <see cref='Microsoft.Win32.
SystemEvents
.PowerModeChanged'/> event.</para>
compmod\microsoft\win32\SessionEndedEventArgs.cs (1)
16
/// <para>Provides data for the <see cref='Microsoft.Win32.
SystemEvents
.SessionEnded'/> event.</para>
compmod\microsoft\win32\SessionEndedEventHandler.cs (1)
16
/// <para>Represents the method that will handle the <see cref='Microsoft.Win32.
SystemEvents
.SessionEnded'/> event.</para>
compmod\microsoft\win32\SessionEndingEventArgs.cs (1)
16
/// <para>Provides data for the <see cref='Microsoft.Win32.
SystemEvents
.SessionEnding'/> event.</para>
compmod\microsoft\win32\SessionEndingEventHandler.cs (1)
15
/// <para>Represents the method that will handle the <see cref='Microsoft.Win32.
SystemEvents
.SessionEnding'/> event.</para>
compmod\microsoft\win32\SessionSwitchEventArgs.cs (1)
15
/// <para>Provides data for the <see cref='Microsoft.Win32.
SystemEvents
.SessionSwitch'/> event.</para>
compmod\microsoft\win32\SessionSwitchEventHandler.cs (1)
15
/// <para>Represents the method that will handle the <see cref='Microsoft.Win32.
SystemEvents
.SessionSwitch'/> event.</para>
compmod\microsoft\win32\SystemEvents.cs (4)
46
private static volatile
SystemEvents
systemEvents;
753
AppDomain.CurrentDomain.ProcessExit += new EventHandler(
SystemEvents
.Shutdown);
754
AppDomain.CurrentDomain.DomainUnload += new EventHandler(
SystemEvents
.Shutdown);
1628
if (_syncContext == null ||
SystemEvents
.UseEverettThreadAffinity) {
compmod\microsoft\win32\TimerElapsedEvenArgs.cs (1)
13
/// <para>Provides data for the <see cref='Microsoft.Win32.
SystemEvents
.TimerElapsed'/> event.</para>
compmod\microsoft\win32\TimerElapsedEventHandler.cs (1)
15
/// <para>Represents the method that will handle the <see cref='Microsoft.Win32.
SystemEvents
.TimerElapsed'/> event.</para>
compmod\microsoft\win32\UserPreferenceChangedEventArgs.cs (1)
15
/// <para>Provides data for the <see cref='Microsoft.Win32.
SystemEvents
.UserPreferenceChanged'/> event.</para>
compmod\microsoft\win32\UserPreferenceChangedEventHandler.cs (1)
15
/// <para>Represents the method that will handle the <see cref='Microsoft.Win32.
SystemEvents
.UserPreferenceChanged'/> event.</para>
compmod\microsoft\win32\UserPreferenceChangingEventArgs.cs (1)
15
/// <para>Provides data for the <see cref='Microsoft.Win32.
SystemEvents
.UserPreferenceChanging'/> event.</para>
compmod\microsoft\win32\UserPreferenceChangingEventHandler.cs (1)
15
/// <para>Represents the method that will handle the <see cref='Microsoft.Win32.
SystemEvents
.UserPreferenceChanging'/> event.</para>
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (2)
83
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(OnUserPreferenceChanged);
151
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(OnUserPreferenceChanged);
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (2)
83
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(OnUserPreferenceChanged);
151
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(OnUserPreferenceChanged);
System.Drawing (4)
commonui\System\Drawing\Advanced\SystemColorTracker.cs (1)
48
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(OnUserPreferenceChanged);
commonui\System\Drawing\FontConverter.cs (2)
553
SystemEvents
.InstalledFontsChanged += new EventHandler(this.OnInstalledFontsChanged);
585
SystemEvents
.InstalledFontsChanged -= new EventHandler(this.OnInstalledFontsChanged);
commonui\System\Drawing\KnownColorTable.cs (1)
61
SystemEvents
.UserPreferenceChanging += new UserPreferenceChangingEventHandler(OnUserPreferenceChanging);
System.ServiceModel (2)
System\ServiceModel\Channels\PeerMaintainer.cs (2)
153
SystemEvents
.PowerModeChanged -= new PowerModeChangedEventHandler(SystemEvents_PowerModeChanged);
510
SystemEvents
.PowerModeChanged += new PowerModeChangedEventHandler(SystemEvents_PowerModeChanged);
System.Web.Mobile (6)
UI\MobileControls\Design\Converters\FontNameConverter.cs (2)
34
SystemEvents
.InstalledFontsChanged += new EventHandler(this.OnInstalledFontsChanged);
67
SystemEvents
.InstalledFontsChanged -= new EventHandler(this.OnInstalledFontsChanged);
UI\MobileControls\Design\FormDesigner.cs (2)
87
SystemEvents
.UserPreferenceChanged -=
150
SystemEvents
.UserPreferenceChanged +=
UI\MobileControls\Design\PanelDesigner.cs (2)
57
SystemEvents
.UserPreferenceChanged -=
116
SystemEvents
.UserPreferenceChanged +=
System.Windows.Forms (35)
winforms\Managed\System\WinForms\Control.cs (4)
7720
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(this.UserPreferenceChanged);
7725
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(this.UserPreferenceChanged);
18147
MethodInfo method = typeof(
SystemEvents
).GetMethod("Shutdown",
18222
MethodInfo method = typeof(
SystemEvents
).GetMethod("Startup",
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
15745
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(this.OnUserPreferenceChanged);
15751
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(this.OnUserPreferenceChanged);
winforms\Managed\System\WinForms\DateTimePicker.cs (2)
1252
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(this.MarshaledUserPreferenceChanged);
1261
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(this.MarshaledUserPreferenceChanged);
winforms\Managed\System\WinForms\DisplayInformation.cs (2)
30
SystemEvents
.UserPreferenceChanging += new UserPreferenceChangingEventHandler(UserPreferenceChanging);
31
SystemEvents
.DisplaySettingsChanging += new EventHandler(DisplaySettingsChanging);
winforms\Managed\System\WinForms\MonthCalendar.cs (2)
1660
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(this.MarshaledUserPreferenceChanged);
1670
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(this.MarshaledUserPreferenceChanged);
winforms\Managed\System\WinForms\ProfessionalColors.cs (1)
31
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(OnUserPreferenceChanged);
winforms\Managed\System\WinForms\ProgressBar.cs (2)
791
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(UserPreferenceChangedHandler);
801
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(UserPreferenceChangedHandler);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
2456
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(this.OnSysColorChange);
2460
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(this.OnSysColorChange);
winforms\Managed\System\WinForms\RichTextBox.cs (2)
2616
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(UserPreferenceChangedHandler);
2633
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(UserPreferenceChangedHandler);
winforms\Managed\System\WinForms\Screen.cs (3)
142
SystemEvents
.DisplaySettingsChanging += new EventHandler(OnDisplaySettingsChanging);
272
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(OnUserPreferenceChanged);
456
SystemEvents
.DisplaySettingsChanging -= new EventHandler(OnDisplaySettingsChanging);
winforms\Managed\System\WinForms\SystemInformation.cs (1)
1170
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(SystemInformation.OnUserPreferenceChanged);
winforms\Managed\System\WinForms\ToolStrip.cs (2)
2683
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(OnUserPreferenceChanged);
2693
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(OnUserPreferenceChanged);
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
60
SystemEvents
.UserPreferenceChanging += new UserPreferenceChangingEventHandler(OnUserPreferenceChanging);
winforms\Managed\System\WinForms\ToolStripTextBox.cs (2)
792
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(OnUserPreferenceChanged);
801
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(OnUserPreferenceChanged);
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (2)
422
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(this.OnUserPreferenceChanged);
427
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(this.OnUserPreferenceChanged);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (2)
820
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(this.OnUserPreferenceChanged);
825
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(this.OnUserPreferenceChanged);
winforms\Managed\System\WinForms\UpDownBase.cs (2)
778
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(this.UserPreferenceChanged);
790
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(this.UserPreferenceChanged);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
48
SystemEvents
.UserPreferenceChanging += new UserPreferenceChangingEventHandler(OnUserPreferenceChanging);
System.Workflow.ComponentModel (6)
AuthoringOM\Design\DesignerWidgets.cs (2)
1723
Microsoft.Win32.
SystemEvents
.UserPreferenceChanged += new Microsoft.Win32.UserPreferenceChangedEventHandler(SystemEvents_UserPreferenceChanged);
1729
Microsoft.Win32.
SystemEvents
.UserPreferenceChanged -= new Microsoft.Win32.UserPreferenceChangedEventHandler(SystemEvents_UserPreferenceChanged);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
91
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(OnOperatingSystemSettingsChanged);
104
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(OnOperatingSystemSettingsChanged);
AuthoringOM\Design\Themes.cs (2)
2184
SystemEvents
.UserPreferenceChanged += new UserPreferenceChangedEventHandler(OnOperatingSystemSettingsChanged);
2189
SystemEvents
.UserPreferenceChanged -= new UserPreferenceChangedEventHandler(OnOperatingSystemSettingsChanged);