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
- SystemIcons.cs
- TextBox.cs
- TextElementEnumerator.cs
- AnnotationObservableCollection.cs
- XmlEntityReference.cs
- ContentDefinition.cs
- PointAnimationBase.cs
- smtpconnection.cs
- WebProxyScriptElement.cs
- DBConnectionString.cs
- TextTreeObjectNode.cs
- EmbeddedMailObject.cs
- DynamicControl.cs
- StreamingContext.cs
- Int32Rect.cs
- HealthMonitoringSection.cs
- BitmapEffectState.cs
- Style.cs
- SelectorAutomationPeer.cs
- ToolStripContentPanelRenderEventArgs.cs
- ParameterToken.cs
- cookiecontainer.cs
- TemplateBamlRecordReader.cs
- LinkButton.cs
- Profiler.cs
- HttpHandlersSection.cs
- UnauthorizedWebPart.cs
- OrderedDictionaryStateHelper.cs
- Msmq4SubqueuePoisonHandler.cs
- BufferedReadStream.cs
- ComponentConverter.cs
- CompositeKey.cs
- MenuItem.cs
- ChineseLunisolarCalendar.cs
- Vector3DCollectionConverter.cs
- DbRetry.cs
- TaiwanCalendar.cs
- SerializationEventsCache.cs
- StylusButton.cs
- _NTAuthentication.cs
- HttpModuleCollection.cs
- XmlStreamStore.cs
- DynamicResourceExtensionConverter.cs
- DataGridViewCellEventArgs.cs
- CannotUnloadAppDomainException.cs
- BitmapVisualManager.cs
- RightsManagementEncryptionTransform.cs
- CodeDomLocalizationProvider.cs
- PasswordTextContainer.cs
- DataGridViewRowPrePaintEventArgs.cs
- BitmapCacheBrush.cs
- View.cs
- BasePattern.cs
- DataGridColumnHeadersPresenter.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- Rotation3D.cs
- ByeMessageCD1.cs
- ResourcePart.cs
- RadioButtonBaseAdapter.cs
- NonParentingControl.cs
- MeshGeometry3D.cs
- SQLInt16.cs
- ShutDownListener.cs
- WebPartTracker.cs
- UniformGrid.cs
- GridViewDesigner.cs
- DbConnectionStringBuilder.cs
- HttpModulesInstallComponent.cs
- parserscommon.cs
- InsufficientMemoryException.cs
- Rotation3DAnimationUsingKeyFrames.cs
- commandenforcer.cs
- TimeSpanValidator.cs
- RawTextInputReport.cs
- ProbeMatchesCD1.cs
- TdsParserHelperClasses.cs
- StylusShape.cs
- PrimaryKeyTypeConverter.cs
- RootNamespaceAttribute.cs
- ViewManager.cs
- EntryPointNotFoundException.cs
- MenuEventArgs.cs
- ObjectListDataBindEventArgs.cs
- CreationContext.cs
- Trace.cs
- LinkedList.cs
- Transactions.cs
- LocalIdKeyIdentifierClause.cs
- RowToParametersTransformer.cs
- ActivationArguments.cs
- XpsFilter.cs
- Encoder.cs
- HwndSourceParameters.cs
- ChameleonKey.cs
- NativeMethods.cs
- Blend.cs
- WSDualHttpSecurityMode.cs
- DesignerVerbCollection.cs
- JsonServiceDocumentSerializer.cs