Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SafeNativeMethods.cs
- ApplicationInfo.cs
- DataRowCollection.cs
- PeerName.cs
- GenericEnumConverter.cs
- PrintPreviewControl.cs
- InstanceDataCollection.cs
- VirtualPathProvider.cs
- MethodBuilder.cs
- ButtonBase.cs
- DeploymentExceptionMapper.cs
- OleDbRowUpdatingEvent.cs
- RegexMatch.cs
- InsufficientMemoryException.cs
- SoapCodeExporter.cs
- Span.cs
- EventEntry.cs
- ErrorInfoXmlDocument.cs
- XmlTypeAttribute.cs
- XmlSchemaObjectTable.cs
- DesignerVerbCollection.cs
- BamlVersionHeader.cs
- XmlSecureResolver.cs
- AuthenticatingEventArgs.cs
- ConfigXmlAttribute.cs
- HMACSHA512.cs
- hwndwrapper.cs
- FloatUtil.cs
- cookie.cs
- SecurityProtocol.cs
- TypeCodeDomSerializer.cs
- PreservationFileWriter.cs
- VectorAnimationBase.cs
- DataContractAttribute.cs
- SQLBinaryStorage.cs
- DesignerImageAdapter.cs
- DemultiplexingClientMessageFormatter.cs
- RewritingProcessor.cs
- ObjectSelectorEditor.cs
- ConstructorArgumentAttribute.cs
- BeginStoryboard.cs
- NavigateEvent.cs
- DataGridViewColumnHeaderCell.cs
- LineUtil.cs
- TableStyle.cs
- DataObjectMethodAttribute.cs
- MediaEntryAttribute.cs
- LayoutManager.cs
- TransactedBatchContext.cs
- documentation.cs
- PtsContext.cs
- DataGridViewRowsAddedEventArgs.cs
- EntityConnection.cs
- DefaultTextStoreTextComposition.cs
- TextAnchor.cs
- ResourceSet.cs
- JournalEntryListConverter.cs
- AuthStoreRoleProvider.cs
- InlineCategoriesDocument.cs
- PrintDialogException.cs
- SystemThemeKey.cs
- EnumMember.cs
- AsyncResult.cs
- WhereaboutsReader.cs
- ISAPIApplicationHost.cs
- WorkflowViewManager.cs
- IEnumerable.cs
- httpserverutility.cs
- HttpCacheParams.cs
- IndentTextWriter.cs
- Compress.cs
- PhysicalFontFamily.cs
- HitTestParameters3D.cs
- XmlElement.cs
- Token.cs
- XmlSchemaInferenceException.cs
- NameValueCollection.cs
- ToolStripPanelSelectionBehavior.cs
- XPathBuilder.cs
- LayoutSettings.cs
- LinearGradientBrush.cs
- SafeHandles.cs
- embossbitmapeffect.cs
- diagnosticsswitches.cs
- KnownBoxes.cs
- UndoManager.cs
- Image.cs
- ScriptBehaviorDescriptor.cs
- UiaCoreProviderApi.cs
- WindowsStatusBar.cs
- SharedPerformanceCounter.cs
- RunClient.cs
- Parameter.cs
- X509CertificateValidator.cs
- DataColumn.cs
- AutomationElementIdentifiers.cs
- EngineSiteSapi.cs
- ViewCellRelation.cs
- BitmapEffect.cs
- Semaphore.cs