Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / UICuesEvent.cs / 1 / UICuesEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Windows.Forms {
///
///
///
/// Specifies UI state.
///
///
[Flags]
public enum UICues {
///
///
/// Focus rectangles are shown after the change.
///
ShowFocus = 0x01,
///
///
/// Keyboard cues are underlined after the change.
///
ShowKeyboard = 0x02,
///
///
/// [To be supplied.]
///
Shown = ShowFocus | ShowKeyboard,
///
///
/// The state of the focus cues has changed.
///
ChangeFocus = 0x04,
///
///
/// The state of the keyboard cues has changed.
///
ChangeKeyboard = 0x08,
///
///
/// [To be supplied.]
///
Changed = ChangeFocus | ChangeKeyboard,
///
///
/// [To be supplied.]
///
None = 0x00,
}
///
///
///
/// Provides data for the event.
///
///
public class UICuesEventArgs : EventArgs {
private readonly UICues uicues;
///
///
/// [To be supplied.]
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
public UICuesEventArgs(UICues uicues) {
this.uicues = uicues;
}
///
///
/// Focus rectangles are shown after the change.
///
public bool ShowFocus {
get {
return (uicues & UICues.ShowFocus) != 0;
}
}
///
///
/// Keyboard cues are underlined after the change.
///
public bool ShowKeyboard {
get {
return (uicues & UICues.ShowKeyboard) != 0;
}
}
///
///
/// The state of the focus cues has changed.
///
public bool ChangeFocus {
get {
return (uicues & UICues.ChangeFocus) != 0;
}
}
///
///
/// The state of the keyboard cues has changed.
///
public bool ChangeKeyboard {
get {
return (uicues & UICues.ChangeKeyboard) != 0;
}
}
///
///
/// [To be supplied.]
///
public UICues Changed {
get {
return (uicues & UICues.Changed);
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Windows.Forms {
///
///
///
/// Specifies UI state.
///
///
[Flags]
public enum UICues {
///
///
/// Focus rectangles are shown after the change.
///
ShowFocus = 0x01,
///
///
/// Keyboard cues are underlined after the change.
///
ShowKeyboard = 0x02,
///
///
/// [To be supplied.]
///
Shown = ShowFocus | ShowKeyboard,
///
///
/// The state of the focus cues has changed.
///
ChangeFocus = 0x04,
///
///
/// The state of the keyboard cues has changed.
///
ChangeKeyboard = 0x08,
///
///
/// [To be supplied.]
///
Changed = ChangeFocus | ChangeKeyboard,
///
///
/// [To be supplied.]
///
None = 0x00,
}
///
///
///
/// Provides data for the event.
///
///
public class UICuesEventArgs : EventArgs {
private readonly UICues uicues;
///
///
/// [To be supplied.]
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
public UICuesEventArgs(UICues uicues) {
this.uicues = uicues;
}
///
///
/// Focus rectangles are shown after the change.
///
public bool ShowFocus {
get {
return (uicues & UICues.ShowFocus) != 0;
}
}
///
///
/// Keyboard cues are underlined after the change.
///
public bool ShowKeyboard {
get {
return (uicues & UICues.ShowKeyboard) != 0;
}
}
///
///
/// The state of the focus cues has changed.
///
public bool ChangeFocus {
get {
return (uicues & UICues.ChangeFocus) != 0;
}
}
///
///
/// The state of the keyboard cues has changed.
///
public bool ChangeKeyboard {
get {
return (uicues & UICues.ChangeKeyboard) != 0;
}
}
///
///
/// [To be supplied.]
///
public UICues Changed {
get {
return (uicues & UICues.Changed);
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolStripHighContrastRenderer.cs
- RowBinding.cs
- ErrorHandler.cs
- UndoEngine.cs
- TokenBasedSetEnumerator.cs
- BinaryObjectInfo.cs
- columnmapkeybuilder.cs
- PointAnimationUsingKeyFrames.cs
- HierarchicalDataTemplate.cs
- PersistenceProviderDirectory.cs
- ReservationCollection.cs
- Clipboard.cs
- StreamInfo.cs
- CompatibleComparer.cs
- DrawingContext.cs
- List.cs
- ExpressionBuilderContext.cs
- ParserExtension.cs
- RMEnrollmentPage2.cs
- DirectionalLight.cs
- webeventbuffer.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ResourceContainer.cs
- ResolvedKeyFrameEntry.cs
- StronglyTypedResourceBuilder.cs
- TextEditorSelection.cs
- LeaseManager.cs
- LinkArea.cs
- WindowsEditBox.cs
- MachineKeyConverter.cs
- ServiceContractListItem.cs
- Constants.cs
- SelectorItemAutomationPeer.cs
- BufferedReadStream.cs
- PointConverter.cs
- OdbcErrorCollection.cs
- InvokeHandlers.cs
- FileChangesMonitor.cs
- ProtocolsSection.cs
- IEnumerable.cs
- Aggregates.cs
- CommandHelpers.cs
- SchemaLookupTable.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- DataGridAddNewRow.cs
- TabletDeviceInfo.cs
- Helper.cs
- CacheVirtualItemsEvent.cs
- BaseTemplateCodeDomTreeGenerator.cs
- MetadataFile.cs
- validationstate.cs
- SapiInterop.cs
- Action.cs
- TabOrder.cs
- EventLogPermissionEntry.cs
- ItemMap.cs
- RequestBringIntoViewEventArgs.cs
- GroupStyle.cs
- WebPartEventArgs.cs
- DrawingBrush.cs
- AsyncOperation.cs
- TextFindEngine.cs
- NumericUpDown.cs
- AsymmetricKeyExchangeDeformatter.cs
- RecipientIdentity.cs
- SerialPinChanges.cs
- EncoderReplacementFallback.cs
- ObjectDataSourceMethodEventArgs.cs
- ParameterElement.cs
- UserValidatedEventArgs.cs
- KernelTypeValidation.cs
- DependencyPropertyKey.cs
- Unit.cs
- ChtmlTextWriter.cs
- PixelFormat.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Rotation3D.cs
- Camera.cs
- NativeMethodsCLR.cs
- CodeMemberMethod.cs
- SafeMarshalContext.cs
- TransformProviderWrapper.cs
- NamespaceCollection.cs
- PolicyChain.cs
- PermissionSetTriple.cs
- ConfigurationElementCollection.cs
- DataGridViewButtonColumn.cs
- SoapFormatter.cs
- CodeAttributeArgumentCollection.cs
- AssemblyBuilder.cs
- ZipFileInfo.cs
- BasicHttpSecurity.cs
- ProcessModelInfo.cs
- LinkLabel.cs
- CharKeyFrameCollection.cs
- SqlUdtInfo.cs
- MethodRental.cs
- TypeConvertions.cs
- ServerValidateEventArgs.cs
- GotoExpression.cs