System.Diagnostics.Switch.OnSwitchSettingChanged C# (CSharp) Method