2 writes to _settingsCheckbox
aspire-tray (2)
TrayApplication.Settings.cs (2)
68_settingsCheckbox = AddSettingsControl("BUTTON", "&" + TraySettingsText.StartupOption, 363_settingsCheckbox = 0;
16 references to _settingsCheckbox
aspire-tray (16)
TrayApplication.NativeSmoke.cs (6)
420"Startup" => _settingsCheckbox, 462NativeSmokeHarness.Require(NativeMethods.SendMessage(_settingsCheckbox, NativeMethods.BmGetCheck, 0, 0) == (nint)checkState 463&& (NativeMethods.IsWindowEnabled(_settingsCheckbox) != 0) == enabled, "The native startup checkbox misrepresents backend state."); 511NativeSmokeHarness.Require(ReadControlText(_settingsCheckbox) == "&Launch Aspire Tray when I sign in", 543NativeMethods.SetFocus(_settingsCheckbox); 544VerifySettingsFocusVisibleForSmoke(_settingsCheckbox);
TrayApplication.Settings.cs (9)
159var target = NativeMethods.IsWindowEnabled(_settingsCheckbox) != 0 ? _settingsCheckbox : _settingsRefresh; 175NativeMethods.SendMessage(_settingsCheckbox, NativeMethods.BmSetCheck, 2, 0); 187NativeMethods.SendMessage(_settingsCheckbox, NativeMethods.BmSetCheck, state.Enabled ? 1u : 0u, 0); 199NativeMethods.SetFocus(NativeMethods.IsWindowEnabled(_settingsCheckbox) != 0 ? _settingsCheckbox : _settingsClose); 208var moveFocus = !enabled && NativeMethods.GetFocus() == _settingsCheckbox; 209NativeMethods.EnableWindow(_settingsCheckbox, enabled ? 1 : 0); 341if (id == StartupCheckboxId && lParam == _settingsCheckbox)
TrayApplication.SettingsAppearance.cs (1)
67_settingsControlBounds[_settingsCheckbox] = SettingsRect(16, 43, 424, 20);