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
- ServiceEndpointElementCollection.cs
- TitleStyle.cs
- OracleTimeSpan.cs
- PageAdapter.cs
- ComponentEvent.cs
- CodeExporter.cs
- DurableRuntimeValidator.cs
- PrePostDescendentsWalker.cs
- WebPartVerb.cs
- KeyboardDevice.cs
- CallSite.cs
- RectangleGeometry.cs
- ThemeableAttribute.cs
- RegexCaptureCollection.cs
- UserControlAutomationPeer.cs
- BaseComponentEditor.cs
- InvalidWMPVersionException.cs
- _FtpDataStream.cs
- DataGridViewRowCollection.cs
- WindowsGrip.cs
- BooleanSwitch.cs
- TextRenderer.cs
- PKCS1MaskGenerationMethod.cs
- RoutedEventConverter.cs
- HtmlContainerControl.cs
- XmlArrayItemAttribute.cs
- ChtmlImageAdapter.cs
- ZipIOExtraFieldZip64Element.cs
- OrderByBuilder.cs
- Compensate.cs
- DockingAttribute.cs
- ConstantExpression.cs
- StylusButton.cs
- DifferencingCollection.cs
- ProviderConnectionPointCollection.cs
- ConfigLoader.cs
- Msmq3PoisonHandler.cs
- ValidationSummary.cs
- CommonProperties.cs
- AutoResetEvent.cs
- ActivityValidator.cs
- XmlSchemaImporter.cs
- RefreshPropertiesAttribute.cs
- DesignerActionList.cs
- TreeViewItem.cs
- Conditional.cs
- UnmanagedMemoryStreamWrapper.cs
- WindowsSysHeader.cs
- IIS7WorkerRequest.cs
- EmptyQuery.cs
- HashAlgorithm.cs
- RowCache.cs
- PipeSecurity.cs
- Ref.cs
- GradientStop.cs
- DbgUtil.cs
- GeneralTransform3DTo2D.cs
- Parser.cs
- XappLauncher.cs
- CountAggregationOperator.cs
- SecurityChannel.cs
- SequenceNumber.cs
- SecurityTokenParameters.cs
- SchemaDeclBase.cs
- DataList.cs
- RoutedEventHandlerInfo.cs
- XmlnsDictionary.cs
- PixelFormats.cs
- DocumentApplicationJournalEntry.cs
- AlgoModule.cs
- EncodingDataItem.cs
- Setter.cs
- Pkcs7Signer.cs
- XamlPoint3DCollectionSerializer.cs
- RequiredFieldValidator.cs
- DecoderReplacementFallback.cs
- ImageSource.cs
- StringUtil.cs
- Exceptions.cs
- WindowsSolidBrush.cs
- SynchronizationFilter.cs
- DrawingContext.cs
- TickBar.cs
- Transaction.cs
- AsnEncodedData.cs
- ChineseLunisolarCalendar.cs
- SessionStateItemCollection.cs
- DataGridViewTextBoxColumn.cs
- contentDescriptor.cs
- PackUriHelper.cs
- versioninfo.cs
- ReadOnlyDictionary.cs
- XmlQualifiedName.cs
- FilteredDataSetHelper.cs
- WorkflowItemsPresenter.cs
- DataGridColumnCollection.cs
- InvariantComparer.cs
- SchemaTypeEmitter.cs
- Vector3D.cs
- HierarchicalDataTemplate.cs