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
- HttpConfigurationContext.cs
- WebConvert.cs
- UnknownWrapper.cs
- WebPartPersonalization.cs
- DataServiceHostFactory.cs
- SmiRecordBuffer.cs
- DataGridViewCellLinkedList.cs
- Run.cs
- WebRequestModulesSection.cs
- ScaleTransform3D.cs
- XmlILConstructAnalyzer.cs
- XmlQueryContext.cs
- NamespaceEmitter.cs
- TypeSource.cs
- NameTable.cs
- RegistrySecurity.cs
- NameGenerator.cs
- UInt32Converter.cs
- HtmlToClrEventProxy.cs
- ToolStripSeparatorRenderEventArgs.cs
- ActivityLocationReferenceEnvironment.cs
- ConfigurationSectionGroupCollection.cs
- DataGridViewSelectedCellCollection.cs
- SqlDataSourceQueryEditorForm.cs
- MultipleViewPatternIdentifiers.cs
- EncodingTable.cs
- DesigntimeLicenseContextSerializer.cs
- StdValidatorsAndConverters.cs
- ShowExpandedMultiValueConverter.cs
- InheritanceAttribute.cs
- HandlerFactoryCache.cs
- FrameworkReadOnlyPropertyMetadata.cs
- SafePointer.cs
- MessageBox.cs
- StateChangeEvent.cs
- HMACSHA1.cs
- AsyncInvokeOperation.cs
- PasswordDeriveBytes.cs
- Rules.cs
- FilteredDataSetHelper.cs
- DataChangedEventManager.cs
- PolygonHotSpot.cs
- EditorZone.cs
- ToolStripDesignerAvailabilityAttribute.cs
- UpdateTranslator.cs
- LongValidator.cs
- AnnotationDocumentPaginator.cs
- CSharpCodeProvider.cs
- RoleManagerSection.cs
- HttpVersion.cs
- SizeAnimation.cs
- EventProvider.cs
- XPathDocument.cs
- Rect.cs
- Effect.cs
- AttributeTable.cs
- PackageRelationshipSelector.cs
- TreeNodeClickEventArgs.cs
- EditorZoneBase.cs
- OracleConnection.cs
- HandledEventArgs.cs
- TaskFileService.cs
- ResourceDescriptionAttribute.cs
- NamespaceTable.cs
- CompleteWizardStep.cs
- XmlEncoding.cs
- HttpWebRequestElement.cs
- SQLInt32.cs
- WsdlBuildProvider.cs
- BamlTreeNode.cs
- XmlSchemaComplexContentRestriction.cs
- PerformanceCounterPermissionEntry.cs
- SvcMapFileSerializer.cs
- DataStreamFromComStream.cs
- SafeThreadHandle.cs
- DBPropSet.cs
- EmptyEnumerable.cs
- SqlDataSourceTableQuery.cs
- TreeNodeStyleCollectionEditor.cs
- State.cs
- BigInt.cs
- MemberPath.cs
- MimeFormImporter.cs
- ProfilePropertySettings.cs
- CommandBindingCollection.cs
- ScrollItemPattern.cs
- RegexCode.cs
- EventRoute.cs
- DependencyPropertyChangedEventArgs.cs
- LOSFormatter.cs
- Bidi.cs
- PropertyValidationContext.cs
- EncoderExceptionFallback.cs
- XmlValidatingReader.cs
- StorageScalarPropertyMapping.cs
- RegexMatch.cs
- QilBinary.cs
- SkinBuilder.cs
- XmlEntityReference.cs
- RepeatInfo.cs