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
- UshortList2.cs
- NCryptNative.cs
- SqlResolver.cs
- NullRuntimeConfig.cs
- ConfigUtil.cs
- __TransparentProxy.cs
- Switch.cs
- ApplicationServicesHostFactory.cs
- SmiEventStream.cs
- SQLDecimalStorage.cs
- ScriptingSectionGroup.cs
- DoubleStorage.cs
- IODescriptionAttribute.cs
- UnionCodeGroup.cs
- DataListItemEventArgs.cs
- DocumentSchemaValidator.cs
- ScaleTransform.cs
- Transform3DCollection.cs
- List.cs
- CustomPopupPlacement.cs
- EncoderNLS.cs
- GridViewUpdateEventArgs.cs
- AuthenticationService.cs
- QuadraticBezierSegment.cs
- RuntimeConfigurationRecord.cs
- AppDomainGrammarProxy.cs
- FileChangesMonitor.cs
- Wildcard.cs
- ExpressionConverter.cs
- SystemResourceHost.cs
- ResourceManagerWrapper.cs
- CodeStatementCollection.cs
- Manipulation.cs
- HtmlTextArea.cs
- ButtonChrome.cs
- DesignerOptionService.cs
- _NestedMultipleAsyncResult.cs
- CreateUserErrorEventArgs.cs
- XmlSchemaElement.cs
- SizeFConverter.cs
- BindStream.cs
- KeyProperty.cs
- ClientTargetSection.cs
- Bidi.cs
- CursorConverter.cs
- Cursors.cs
- SettingsSavedEventArgs.cs
- ParseChildrenAsPropertiesAttribute.cs
- CmsUtils.cs
- Int32.cs
- RouteItem.cs
- EffectiveValueEntry.cs
- DataProviderNameConverter.cs
- FieldTemplateUserControl.cs
- FrugalList.cs
- RectAnimationUsingKeyFrames.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- XmlSchemaGroup.cs
- IPEndPointCollection.cs
- TextWriterTraceListener.cs
- ProxyHwnd.cs
- FileLevelControlBuilderAttribute.cs
- CatalogZoneBase.cs
- IgnoreDeviceFilterElementCollection.cs
- GridViewCellAutomationPeer.cs
- NavigationPropertyEmitter.cs
- DocumentViewerHelper.cs
- XmlReflectionImporter.cs
- MailWebEventProvider.cs
- TextTreeTextElementNode.cs
- OleStrCAMarshaler.cs
- RuntimeConfigLKG.cs
- TableCellCollection.cs
- _UriSyntax.cs
- Size.cs
- EmptyImpersonationContext.cs
- PackWebRequestFactory.cs
- ExtensionWindow.cs
- TranslateTransform.cs
- PointHitTestParameters.cs
- SettingsSection.cs
- GeometryCombineModeValidation.cs
- GenerateTemporaryTargetAssembly.cs
- TreeViewCancelEvent.cs
- PersistStreamTypeWrapper.cs
- HtmlFormWrapper.cs
- FontWeight.cs
- MessagingActivityHelper.cs
- DataGridViewCellStyle.cs
- PathStreamGeometryContext.cs
- TextElement.cs
- RoleManagerSection.cs
- SchemaImporterExtension.cs
- HwndStylusInputProvider.cs
- ContentPlaceHolder.cs
- ContextActivityUtils.cs
- storepermission.cs
- SpStreamWrapper.cs
- MiniModule.cs
- AnnotationResource.cs