Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripDropDownClosingEventArgs.cs / 1 / ToolStripDropDownClosingEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System;
using System.ComponentModel;
// SECREVIEW - for the "Cancel" to be honored, you must have AllWindowsPermission
// i.e. ToolStripDropDown.IsRestrictedWindow MUST be false.
// for more details see ToolStripDropDown.SetVisibleCore
public class ToolStripDropDownClosingEventArgs : CancelEventArgs {
ToolStripDropDownCloseReason closeReason;
public ToolStripDropDownClosingEventArgs(ToolStripDropDownCloseReason reason) {
closeReason = reason;
}
public ToolStripDropDownCloseReason CloseReason {
get { return closeReason; }
}
// TBD: CloseReason
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System;
using System.ComponentModel;
// SECREVIEW - for the "Cancel" to be honored, you must have AllWindowsPermission
// i.e. ToolStripDropDown.IsRestrictedWindow MUST be false.
// for more details see ToolStripDropDown.SetVisibleCore
public class ToolStripDropDownClosingEventArgs : CancelEventArgs {
ToolStripDropDownCloseReason closeReason;
public ToolStripDropDownClosingEventArgs(ToolStripDropDownCloseReason reason) {
closeReason = reason;
}
public ToolStripDropDownCloseReason CloseReason {
get { return closeReason; }
}
// TBD: CloseReason
}
}
// 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
- SafeViewOfFileHandle.cs
- GroupBox.cs
- PageAsyncTaskManager.cs
- MonthCalendar.cs
- ItemContainerGenerator.cs
- BinaryObjectWriter.cs
- IconHelper.cs
- PowerModeChangedEventArgs.cs
- ErrorHandlerModule.cs
- FlowDocumentFormatter.cs
- DefaultSerializationProviderAttribute.cs
- MessageFormatterConverter.cs
- DebugTraceHelper.cs
- ArgIterator.cs
- MultiDataTrigger.cs
- GlyphElement.cs
- EmptyTextWriter.cs
- CodePageUtils.cs
- TakeOrSkipQueryOperator.cs
- EventToken.cs
- Dictionary.cs
- FormatException.cs
- OptionUsage.cs
- ToolStripTextBox.cs
- SplineKeyFrames.cs
- Pair.cs
- FrameworkTextComposition.cs
- StructuredProperty.cs
- _FixedSizeReader.cs
- BuildProvider.cs
- Activity.cs
- CrossAppDomainChannel.cs
- LeftCellWrapper.cs
- CompilerScope.Storage.cs
- ModifierKeysValueSerializer.cs
- SmiRecordBuffer.cs
- Context.cs
- DbDeleteCommandTree.cs
- SpecialFolderEnumConverter.cs
- IntSecurity.cs
- DurableTimerExtension.cs
- DefaultProxySection.cs
- XmlnsDefinitionAttribute.cs
- httpstaticobjectscollection.cs
- ClientConfigurationSystem.cs
- Positioning.cs
- XmlSchemaAppInfo.cs
- Int32CAMarshaler.cs
- ZipFileInfoCollection.cs
- ManagedIStream.cs
- oledbconnectionstring.cs
- AddressHeaderCollection.cs
- SerializationFieldInfo.cs
- FileUpload.cs
- FlowPanelDesigner.cs
- WebPartChrome.cs
- UrlMappingCollection.cs
- ValidationErrorEventArgs.cs
- Pool.cs
- MouseButton.cs
- BinaryObjectReader.cs
- LabelLiteral.cs
- TreeViewImageKeyConverter.cs
- _HeaderInfoTable.cs
- StringAttributeCollection.cs
- ProviderCollection.cs
- TextBoxView.cs
- DbProviderConfigurationHandler.cs
- LogFlushAsyncResult.cs
- DESCryptoServiceProvider.cs
- EntityConnectionStringBuilder.cs
- XmlNamedNodeMap.cs
- SafeLocalAllocation.cs
- WebPartDescription.cs
- ResourceContainer.cs
- RichTextBoxContextMenu.cs
- CharacterBuffer.cs
- PrimitiveCodeDomSerializer.cs
- _NegoStream.cs
- PersistenceProviderDirectory.cs
- NamespaceDisplayAutomationPeer.cs
- CharStorage.cs
- EntityProviderServices.cs
- Geometry3D.cs
- MaskedTextBox.cs
- TypeToArgumentTypeConverter.cs
- SingleObjectCollection.cs
- PermissionAttributes.cs
- BitmapEffectvisualstate.cs
- FamilyCollection.cs
- MetadataPropertyAttribute.cs
- ObjectAnimationUsingKeyFrames.cs
- QueryResult.cs
- TimeManager.cs
- GradientStopCollection.cs
- Char.cs
- CustomErrorsSection.cs
- InputScopeConverter.cs
- FilteredXmlReader.cs
- HttpAsyncResult.cs