Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Expression.cs
- SafeThemeHandle.cs
- NegationPusher.cs
- ContentIterators.cs
- ValueChangedEventManager.cs
- XsdCachingReader.cs
- ObjRef.cs
- BooleanExpr.cs
- SystemUdpStatistics.cs
- SerializationSectionGroup.cs
- ImageMap.cs
- QuaternionAnimationBase.cs
- WebPartCatalogAddVerb.cs
- Floater.cs
- AdornerDecorator.cs
- XmlDataContract.cs
- SamlAuthorizationDecisionStatement.cs
- XPathDescendantIterator.cs
- WorkflowApplication.cs
- DataGridAutoFormat.cs
- EntitySqlQueryCacheEntry.cs
- documentsequencetextcontainer.cs
- AsyncDataRequest.cs
- MobileControlsSection.cs
- NonVisualControlAttribute.cs
- MaterialGroup.cs
- QuerySubExprEliminator.cs
- RuleSetDialog.cs
- FamilyTypeface.cs
- WindowsSysHeader.cs
- UInt64Storage.cs
- RegexGroupCollection.cs
- ApplicationId.cs
- XmlTypeMapping.cs
- HandlerWithFactory.cs
- SafeBitVector32.cs
- BamlTreeNode.cs
- LiteralControl.cs
- HtmlDocument.cs
- SemanticResultValue.cs
- CoreSwitches.cs
- MenuItemCollection.cs
- EntityContainer.cs
- BuilderPropertyEntry.cs
- ScrollItemPatternIdentifiers.cs
- DoubleIndependentAnimationStorage.cs
- SecurityTokenSerializer.cs
- FormViewInsertEventArgs.cs
- ReflectionHelper.cs
- TextOptionsInternal.cs
- ThreadSafeList.cs
- CodeDomSerializerBase.cs
- Latin1Encoding.cs
- GatewayDefinition.cs
- StylusTip.cs
- OperationAbortedException.cs
- SecUtil.cs
- TextureBrush.cs
- CacheDependency.cs
- ControllableStoryboardAction.cs
- ClientScriptItemCollection.cs
- UpdatePanelTrigger.cs
- XmlTextReader.cs
- BinaryFormatterWriter.cs
- CqlWriter.cs
- WindowsPrincipal.cs
- HttpContext.cs
- QilExpression.cs
- CodeBlockBuilder.cs
- DiscoveryVersionConverter.cs
- BrowserCapabilitiesFactoryBase.cs
- SqlTriggerContext.cs
- EventLogPropertySelector.cs
- DataTableReaderListener.cs
- TreeNodeMouseHoverEvent.cs
- Attachment.cs
- CounterNameConverter.cs
- FrameworkElement.cs
- _HeaderInfoTable.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- BitmapFrameDecode.cs
- EmbeddedMailObjectsCollection.cs
- CategoryNameCollection.cs
- PreservationFileReader.cs
- ExpressionBuilder.cs
- XmlLanguageConverter.cs
- XmlSerializerSection.cs
- CodeFieldReferenceExpression.cs
- DocumentXmlWriter.cs
- ControlCollection.cs
- XPathQilFactory.cs
- RegexEditorDialog.cs
- EventHandlersStore.cs
- XmlBaseWriter.cs
- PerformanceCounterManager.cs
- ZoneIdentityPermission.cs
- SizeAnimationUsingKeyFrames.cs
- SoapDocumentServiceAttribute.cs
- PartManifestEntry.cs
- ServiceNameElementCollection.cs