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
- SimpleLine.cs
- X500Name.cs
- SpecialNameAttribute.cs
- InputScopeNameConverter.cs
- ConnectionOrientedTransportBindingElement.cs
- ToolStripDropDownMenu.cs
- SqlGenericUtil.cs
- WebScriptEnablingBehavior.cs
- ProcessProtocolHandler.cs
- ResizingMessageFilter.cs
- MatrixConverter.cs
- Opcode.cs
- CodeDomSerializer.cs
- StaticExtension.cs
- XNodeNavigator.cs
- EventProxy.cs
- MsmqProcessProtocolHandler.cs
- CharConverter.cs
- SqlParameterizer.cs
- WindowsPrincipal.cs
- WinEventWrap.cs
- ItemsControl.cs
- Transform.cs
- Knowncolors.cs
- ForAllOperator.cs
- MemoryFailPoint.cs
- LifetimeServices.cs
- ListViewDataItem.cs
- Point3DKeyFrameCollection.cs
- TTSVoice.cs
- WorkflowServiceHostFactory.cs
- ToolStripDropDownButton.cs
- MatcherBuilder.cs
- PropertyBuilder.cs
- _NestedMultipleAsyncResult.cs
- TimeSpanParse.cs
- FontFamily.cs
- Matrix3DValueSerializer.cs
- TablePattern.cs
- FlowDocumentFormatter.cs
- DatePickerDateValidationErrorEventArgs.cs
- ReceiveContext.cs
- TransformedBitmap.cs
- DataQuery.cs
- OleDbConnectionInternal.cs
- SinglePageViewer.cs
- OracleDataReader.cs
- IgnoreDataMemberAttribute.cs
- ScrollData.cs
- SourceLineInfo.cs
- PathGeometry.cs
- SQLBoolean.cs
- DataGridTextColumn.cs
- remotingproxy.cs
- BitmapEffectState.cs
- httpserverutility.cs
- DataTemplateSelector.cs
- DebugTrace.cs
- DataSet.cs
- LocalizationParserHooks.cs
- CodeBlockBuilder.cs
- XPathItem.cs
- PackagePartCollection.cs
- DesignerLoader.cs
- MissingManifestResourceException.cs
- UdpTransportSettings.cs
- SourceFilter.cs
- compensatingcollection.cs
- SqlCommandSet.cs
- TypeDescriptionProvider.cs
- XPathAncestorIterator.cs
- XmlSchemaAppInfo.cs
- ValueTypeFixupInfo.cs
- bidPrivateBase.cs
- TextBounds.cs
- TextEndOfParagraph.cs
- DataRow.cs
- ParameterCollection.cs
- Stack.cs
- DBSchemaTable.cs
- EventBookmark.cs
- DisableDpiAwarenessAttribute.cs
- CallbackHandler.cs
- ChangeBlockUndoRecord.cs
- GZipDecoder.cs
- GACMembershipCondition.cs
- VolatileEnlistmentMultiplexing.cs
- EventlogProvider.cs
- RoleGroupCollection.cs
- ColumnBinding.cs
- StrongName.cs
- BamlTreeNode.cs
- FixedPageProcessor.cs
- ActivityTypeResolver.xaml.cs
- IndexedString.cs
- DataListItem.cs
- HttpCapabilitiesBase.cs
- SQLSingle.cs
- _Win32.cs
- ControlValuePropertyAttribute.cs