Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebControls / CommandEventArgs.cs / 1 / CommandEventArgs.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)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class CommandEventArgs : EventArgs { private string commandName; private object argument; ///Provides data for the ///event. /// public CommandEventArgs(CommandEventArgs e) : this(e.CommandName, e.CommandArgument) { } ///Initializes a new instance of the ///class with another . /// public CommandEventArgs(string commandName, object argument) { this.commandName = commandName; this.argument = argument; } ///Initializes a new instance of the ///class with the specified command name /// and argument. /// public string CommandName { get { return commandName; } } ///Gets the name of the command. This property is read-only. ////// public object CommandArgument { get { return argument; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the argument for the command. This property is read-only. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class CommandEventArgs : EventArgs { private string commandName; private object argument; ///Provides data for the ///event. /// public CommandEventArgs(CommandEventArgs e) : this(e.CommandName, e.CommandArgument) { } ///Initializes a new instance of the ///class with another . /// public CommandEventArgs(string commandName, object argument) { this.commandName = commandName; this.argument = argument; } ///Initializes a new instance of the ///class with the specified command name /// and argument. /// public string CommandName { get { return commandName; } } ///Gets the name of the command. This property is read-only. ////// public object CommandArgument { get { return argument; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the argument for the command. This property is read-only. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Rotation3DAnimationBase.cs
- HTTPNotFoundHandler.cs
- diagnosticsswitches.cs
- PointHitTestParameters.cs
- FixedNode.cs
- DiscoveryDefaults.cs
- DecoderBestFitFallback.cs
- NamespaceEmitter.cs
- sapiproxy.cs
- JpegBitmapDecoder.cs
- StorageMappingItemLoader.cs
- CollectionType.cs
- VectorValueSerializer.cs
- DbCommandDefinition.cs
- HwndKeyboardInputProvider.cs
- PropertyChangedEventManager.cs
- EventlogProvider.cs
- AttributeUsageAttribute.cs
- ComponentDesigner.cs
- StrokeNode.cs
- ListBindingHelper.cs
- TimeoutException.cs
- TableParaClient.cs
- ClockGroup.cs
- Exceptions.cs
- FileDetails.cs
- TrackingDataItem.cs
- MergePropertyDescriptor.cs
- SystemTcpStatistics.cs
- PolyBezierSegment.cs
- XPathScanner.cs
- XappLauncher.cs
- Selection.cs
- RequestQueue.cs
- SessionStateModule.cs
- SamlSubject.cs
- ParseNumbers.cs
- ProcessInfo.cs
- VariableReference.cs
- TheQuery.cs
- WsatTransactionHeader.cs
- NameService.cs
- DecoderBestFitFallback.cs
- IntegerFacetDescriptionElement.cs
- SingleKeyFrameCollection.cs
- RectAnimationClockResource.cs
- CodeGeneratorOptions.cs
- PathFigureCollection.cs
- CultureInfo.cs
- GridViewSortEventArgs.cs
- WrapPanel.cs
- NopReturnReader.cs
- WebPartTransformerAttribute.cs
- pingexception.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- UnsafeNativeMethods.cs
- BufferModesCollection.cs
- BaseResourcesBuildProvider.cs
- ExtendedProtectionPolicy.cs
- CLSCompliantAttribute.cs
- AvTraceDetails.cs
- TemplateControlBuildProvider.cs
- FixedTextView.cs
- CqlErrorHelper.cs
- WorkflowExecutor.cs
- ConfigXmlComment.cs
- MethodToken.cs
- SessionPageStatePersister.cs
- KnownBoxes.cs
- Script.cs
- XmlLinkedNode.cs
- DocumentApplication.cs
- SecurityStandardsManager.cs
- CollectionViewSource.cs
- HyperLinkStyle.cs
- DependentList.cs
- PreviewKeyDownEventArgs.cs
- SocketInformation.cs
- SchemaSetCompiler.cs
- AppSettingsExpressionBuilder.cs
- MappedMetaModel.cs
- AssemblyBuilderData.cs
- Polygon.cs
- COM2ComponentEditor.cs
- RenameRuleObjectDialog.Designer.cs
- TableLayoutPanel.cs
- SystemInfo.cs
- Hash.cs
- CodeDomConfigurationHandler.cs
- SelectiveScrollingGrid.cs
- XPathAxisIterator.cs
- PropertyBuilder.cs
- XmlWrappingWriter.cs
- DataControlField.cs
- DefaultEventAttribute.cs
- XamlLoadErrorInfo.cs
- Themes.cs
- Material.cs
- PersonalizationProvider.cs
- DebugInfo.cs