Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / CommandEventArgs.cs / 1305376 / CommandEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; ////// 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; ////// 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
- MailHeaderInfo.cs
- xdrvalidator.cs
- SQLDecimalStorage.cs
- DataPagerField.cs
- TokenBasedSet.cs
- CodeAttachEventStatement.cs
- HttpModuleCollection.cs
- Vector3DKeyFrameCollection.cs
- WebDisplayNameAttribute.cs
- BitmapCodecInfo.cs
- CompilerLocalReference.cs
- SchemaCollectionCompiler.cs
- ResourceDisplayNameAttribute.cs
- XsdDataContractExporter.cs
- BamlBinaryReader.cs
- RootBrowserWindowProxy.cs
- webeventbuffer.cs
- PageContentAsyncResult.cs
- X509Chain.cs
- DynamicPropertyReader.cs
- UnsafeNativeMethodsMilCoreApi.cs
- ColumnHeaderConverter.cs
- FormConverter.cs
- TrustManagerMoreInformation.cs
- EnumerableValidator.cs
- SupportedAddressingMode.cs
- IndexedSelectQueryOperator.cs
- ObjectSecurity.cs
- TextEditorContextMenu.cs
- ObjectParameter.cs
- TransformConverter.cs
- HtmlControlAdapter.cs
- CustomValidator.cs
- XslCompiledTransform.cs
- MimeReflector.cs
- AsymmetricSignatureDeformatter.cs
- ForeignKeyConstraint.cs
- HashHelper.cs
- ToolStripControlHost.cs
- SocketManager.cs
- FormsIdentity.cs
- UIElement.cs
- InputManager.cs
- SequenceNumber.cs
- Rijndael.cs
- DocumentEventArgs.cs
- GetLedgerEntryForRecipientRequest.cs
- AssociatedControlConverter.cs
- UdpRetransmissionSettings.cs
- VBCodeProvider.cs
- SubtreeProcessor.cs
- XmlRawWriter.cs
- ExpressionDumper.cs
- ScrollViewerAutomationPeer.cs
- Style.cs
- ImageMapEventArgs.cs
- ImpersonationOption.cs
- MatrixTransform3D.cs
- Win32Native.cs
- Storyboard.cs
- StylusPlugInCollection.cs
- HostProtectionPermission.cs
- Operand.cs
- DSASignatureDeformatter.cs
- UpdateEventArgs.cs
- DateTimeFormatInfo.cs
- SequentialOutput.cs
- GenericTextProperties.cs
- WebControlAdapter.cs
- ExpressionCopier.cs
- ForeignKeyFactory.cs
- OperationAbortedException.cs
- DetailsViewDeletedEventArgs.cs
- RegexReplacement.cs
- TreeChangeInfo.cs
- ReflectPropertyDescriptor.cs
- MasterPageParser.cs
- Timer.cs
- ExceptionUtil.cs
- SortedList.cs
- PrefixHandle.cs
- BitmapScalingModeValidation.cs
- QuarticEase.cs
- InertiaRotationBehavior.cs
- IndexingContentUnit.cs
- HandleExceptionArgs.cs
- VisualState.cs
- ConfigurationPermission.cs
- TextBounds.cs
- TextTreeNode.cs
- TextViewBase.cs
- ToolStripItemDesigner.cs
- ToolStripRenderer.cs
- LinearGradientBrush.cs
- TimeSpanValidatorAttribute.cs
- DateTimeSerializationSection.cs
- DragCompletedEventArgs.cs
- AppliedDeviceFiltersEditor.cs
- GlobalDataBindingHandler.cs
- ProfileSettingsCollection.cs