Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / MenuEventArgs.cs / 2 / MenuEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class MenuEventArgs : CommandEventArgs { private MenuItem _item; private object _commandSource; public MenuEventArgs(MenuItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { _item = item; _commandSource = commandSource; } public MenuEventArgs(MenuItem item) : this(item, null, new CommandEventArgs(String.Empty, null)) { } public object CommandSource { get { return _commandSource; } } public MenuItem Item { get { return _item; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class MenuEventArgs : CommandEventArgs { private MenuItem _item; private object _commandSource; public MenuEventArgs(MenuItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { _item = item; _commandSource = commandSource; } public MenuEventArgs(MenuItem item) : this(item, null, new CommandEventArgs(String.Empty, null)) { } public object CommandSource { get { return _commandSource; } } public MenuItem Item { get { return _item; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AuthorizationRuleCollection.cs
- ContextMenuService.cs
- HtmlHistory.cs
- ChameleonKey.cs
- ToolStripOverflow.cs
- EmbeddedMailObject.cs
- SubstitutionList.cs
- TransformationRules.cs
- SemanticKeyElement.cs
- SQLDecimal.cs
- assertwrapper.cs
- NotFiniteNumberException.cs
- SQLBytes.cs
- IISUnsafeMethods.cs
- EventBuilder.cs
- TraceContext.cs
- GenericTypeParameterBuilder.cs
- XmlSchemaAppInfo.cs
- VBCodeProvider.cs
- BasePropertyDescriptor.cs
- RootAction.cs
- AutoGeneratedField.cs
- Stack.cs
- EmptyArray.cs
- HttpCachePolicyElement.cs
- DeviceOverridableAttribute.cs
- OperationResponse.cs
- RepeatBehaviorConverter.cs
- ConfigurationSettings.cs
- CompiledIdentityConstraint.cs
- RequestResizeEvent.cs
- XPathAncestorIterator.cs
- DbSource.cs
- PartitionerQueryOperator.cs
- DataListItemEventArgs.cs
- StorageFunctionMapping.cs
- RectangleGeometry.cs
- ApplicationActivator.cs
- _ContextAwareResult.cs
- XmlDomTextWriter.cs
- ResourceType.cs
- Hex.cs
- CheckBox.cs
- WorkflowServiceAttributesTypeConverter.cs
- KnownTypesProvider.cs
- SafeFindHandle.cs
- WebPartEditorOkVerb.cs
- RelationshipSet.cs
- DataGridViewAdvancedBorderStyle.cs
- DefaultHttpHandler.cs
- TripleDESCryptoServiceProvider.cs
- IssuedTokensHeader.cs
- CodeDesigner.cs
- IMembershipProvider.cs
- milexports.cs
- HashLookup.cs
- TextRenderer.cs
- ColumnBinding.cs
- PtsHelper.cs
- CustomError.cs
- DefaultCommandConverter.cs
- XmlTypeMapping.cs
- FlowDocumentReaderAutomationPeer.cs
- Aes.cs
- BufferModesCollection.cs
- JoinCqlBlock.cs
- EntityTypeBase.cs
- HtmlInputRadioButton.cs
- Certificate.cs
- AuthenticationException.cs
- TypeForwardedToAttribute.cs
- BindStream.cs
- LayeredChannelFactory.cs
- TextReader.cs
- TimeSpanStorage.cs
- TabPanel.cs
- UpdateExpressionVisitor.cs
- CLRBindingWorker.cs
- UnionExpr.cs
- SecurityTokenReferenceStyle.cs
- OleServicesContext.cs
- InfoCardAsymmetricCrypto.cs
- DragSelectionMessageFilter.cs
- SessionStateSection.cs
- FixedHighlight.cs
- CodeArrayCreateExpression.cs
- COAUTHINFO.cs
- _IPv4Address.cs
- PowerStatus.cs
- LockedHandleGlyph.cs
- DataSourceControl.cs
- SystemIcons.cs
- transactioncontext.cs
- serverconfig.cs
- DetailsViewRowCollection.cs
- HttpCacheParams.cs
- HostingEnvironmentSection.cs
- Ref.cs
- InstanceHandle.cs
- SingleTagSectionHandler.cs