Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CompilerGeneratedAttribute.cs
- APCustomTypeDescriptor.cs
- PerfCounters.cs
- ScriptingWebServicesSectionGroup.cs
- DrawingServices.cs
- Int64Converter.cs
- SoapReflectionImporter.cs
- DependencyPropertyKey.cs
- Hashtable.cs
- FilteredSchemaElementLookUpTable.cs
- RenderCapability.cs
- ColorMatrix.cs
- wmiutil.cs
- AdapterDictionary.cs
- AndCondition.cs
- CompareInfo.cs
- CodeSubDirectory.cs
- ScrollChrome.cs
- SoapObjectWriter.cs
- SectionInput.cs
- Cursor.cs
- ImportFileRequest.cs
- ServiceBusyException.cs
- Error.cs
- ColumnResult.cs
- MultiBinding.cs
- FontWeight.cs
- DataGridPagerStyle.cs
- CategoryValueConverter.cs
- OracleException.cs
- WindowsScrollBarBits.cs
- _SecureChannel.cs
- X509CertificateCollection.cs
- ActivationArguments.cs
- UpdateException.cs
- Calendar.cs
- EventDescriptor.cs
- TextTreeNode.cs
- TypeLoadException.cs
- SqlDataSourceConfigureFilterForm.cs
- FocusWithinProperty.cs
- DoubleUtil.cs
- ResponseBodyWriter.cs
- BitmapImage.cs
- VarRemapper.cs
- StyleBamlRecordReader.cs
- MethodRental.cs
- DesignerDataParameter.cs
- StackOverflowException.cs
- ClientTargetCollection.cs
- PartitionedStream.cs
- AssemblySettingAttributes.cs
- PrintDialogException.cs
- ListControlDesigner.cs
- ApplyTemplatesAction.cs
- TrackPointCollection.cs
- XmlSchemaChoice.cs
- DispatcherFrame.cs
- CardSpacePolicyElement.cs
- DocComment.cs
- GlyphRun.cs
- SymbolUsageManager.cs
- DesignerView.xaml.cs
- Msec.cs
- GraphicsContainer.cs
- Util.cs
- OleDbWrapper.cs
- GrammarBuilderPhrase.cs
- LightweightCodeGenerator.cs
- FilteredReadOnlyMetadataCollection.cs
- QilReference.cs
- BackgroundWorker.cs
- InvalidPropValue.cs
- Viewport3DVisual.cs
- SmtpNegotiateAuthenticationModule.cs
- DesignerSerializerAttribute.cs
- SerialStream.cs
- EventProviderWriter.cs
- ZipIOLocalFileBlock.cs
- RegexParser.cs
- SynchronizationFilter.cs
- KoreanCalendar.cs
- DateTimeParse.cs
- MarshalByRefObject.cs
- ExceptionHelpers.cs
- WebPartTransformerCollection.cs
- SQLDoubleStorage.cs
- Transform.cs
- TabControl.cs
- Condition.cs
- ConnectorSelectionGlyph.cs
- Sentence.cs
- Util.cs
- ControlCommandSet.cs
- Brush.cs
- DockPanel.cs
- PriorityItem.cs
- ComboBoxAutomationPeer.cs
- RectAnimationClockResource.cs
- DataGridViewComboBoxColumn.cs