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
- HttpContext.cs
- ControlBindingsCollection.cs
- FixUp.cs
- isolationinterop.cs
- TextServicesCompartmentEventSink.cs
- IpcChannel.cs
- securestring.cs
- BufferedReadStream.cs
- AttributeCollection.cs
- FormViewUpdatedEventArgs.cs
- Point3DCollectionConverter.cs
- CheckBoxDesigner.cs
- FlowDocumentView.cs
- XamlGridLengthSerializer.cs
- ImageMap.cs
- EffectiveValueEntry.cs
- WCFServiceClientProxyGenerator.cs
- SettingsPropertyNotFoundException.cs
- BitmapEffectvisualstate.cs
- Variable.cs
- WebPartTransformer.cs
- ConditionalDesigner.cs
- DataKey.cs
- Attributes.cs
- PropertyTab.cs
- SspiSecurityToken.cs
- MailAddress.cs
- FontWeightConverter.cs
- ReachFixedDocumentSerializer.cs
- DebugHandleTracker.cs
- Hashtable.cs
- CultureTable.cs
- RemoteTokenFactory.cs
- NativeMethods.cs
- ConnectionPointCookie.cs
- SqlBulkCopy.cs
- DataStreams.cs
- EventMappingSettingsCollection.cs
- WebPartExportVerb.cs
- Int16Converter.cs
- ToolStripPanelRow.cs
- DLinqColumnProvider.cs
- SqlProviderUtilities.cs
- PasswordTextContainer.cs
- KeyValueInternalCollection.cs
- DetailsViewInsertedEventArgs.cs
- FreezableDefaultValueFactory.cs
- PropertiesTab.cs
- EntityExpressionVisitor.cs
- Debugger.cs
- Cursor.cs
- GenericEnumerator.cs
- AssemblyCollection.cs
- DefaultParameterValueAttribute.cs
- TemplateBuilder.cs
- Error.cs
- ToolTip.cs
- RSAPKCS1SignatureFormatter.cs
- ChannelCacheDefaults.cs
- Rule.cs
- WizardForm.cs
- LogReserveAndAppendState.cs
- CompilerState.cs
- HttpWriter.cs
- PropertyGridCommands.cs
- documentation.cs
- DbConnectionInternal.cs
- XmlQueryTypeFactory.cs
- HandlerFactoryWrapper.cs
- SystemResources.cs
- AdornerLayer.cs
- DbConnectionPool.cs
- NavigationFailedEventArgs.cs
- CodeDirectionExpression.cs
- NullableDecimalSumAggregationOperator.cs
- AnnotationResource.cs
- TreeNodeClickEventArgs.cs
- EditorZone.cs
- XmlIlTypeHelper.cs
- XmlNodeList.cs
- CompareValidator.cs
- MailWebEventProvider.cs
- ToolStripHighContrastRenderer.cs
- HttpValueCollection.cs
- Object.cs
- BrowserPolicyValidator.cs
- HandledEventArgs.cs
- DataTableNameHandler.cs
- DataConnectionHelper.cs
- ComponentManagerBroker.cs
- ImportContext.cs
- LabelAutomationPeer.cs
- CompilerParameters.cs
- PersonalizationProviderHelper.cs
- DataGridViewComboBoxEditingControl.cs
- TimeoutTimer.cs
- DependencyPropertyHelper.cs
- StylusEditingBehavior.cs
- SHA1.cs
- QilVisitor.cs