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
- DataBindingCollection.cs
- SmtpAuthenticationManager.cs
- UrlAuthorizationModule.cs
- EdmRelationshipRoleAttribute.cs
- ReliabilityContractAttribute.cs
- BufferedWebEventProvider.cs
- CommunicationObject.cs
- XmlKeywords.cs
- COM2PropertyDescriptor.cs
- Accessible.cs
- HitTestWithPointDrawingContextWalker.cs
- SrgsElementList.cs
- RangeValidator.cs
- EncodingDataItem.cs
- BuildProvidersCompiler.cs
- SafeNativeMethods.cs
- MDIControlStrip.cs
- CodeIndexerExpression.cs
- Tag.cs
- PreservationFileReader.cs
- FormsIdentity.cs
- Panel.cs
- AnnotationResourceCollection.cs
- unsafeIndexingFilterStream.cs
- DBBindings.cs
- AsynchronousChannel.cs
- WorkItem.cs
- HttpProfileBase.cs
- StringSource.cs
- KeyValueSerializer.cs
- XmlWellformedWriter.cs
- InternalTypeHelper.cs
- GridViewEditEventArgs.cs
- GradientSpreadMethodValidation.cs
- SerializerWriterEventHandlers.cs
- CounterSample.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- HttpGetServerProtocol.cs
- MemberInitExpression.cs
- AlternateViewCollection.cs
- IMembershipProvider.cs
- WebPartMenuStyle.cs
- StrokeCollectionConverter.cs
- BindingNavigator.cs
- WindowsGraphics.cs
- TemplateInstanceAttribute.cs
- PropertyDescriptorCollection.cs
- ModuleConfigurationInfo.cs
- RtfControlWordInfo.cs
- BasicAsyncResult.cs
- MemoryFailPoint.cs
- GenericPrincipal.cs
- GeneralTransform.cs
- DirectionalLight.cs
- TearOffProxy.cs
- FormsAuthenticationEventArgs.cs
- StyleSheetDesigner.cs
- CustomTypeDescriptor.cs
- ProcessHostMapPath.cs
- CompoundFileDeflateTransform.cs
- FixedPageAutomationPeer.cs
- ApplicationManager.cs
- AuthenticationConfig.cs
- ThemeableAttribute.cs
- ApplicationDirectory.cs
- ConnectionDemuxer.cs
- Barrier.cs
- ViewPort3D.cs
- SectionInput.cs
- RegistrationServices.cs
- Predicate.cs
- TransformPattern.cs
- PersianCalendar.cs
- SystemNetHelpers.cs
- TemplatePartAttribute.cs
- webclient.cs
- Message.cs
- DataServiceException.cs
- PartialTrustVisibleAssembly.cs
- Label.cs
- SigningDialog.cs
- OracleNumber.cs
- ContainerTracking.cs
- BitmapPalette.cs
- TypeConverter.cs
- HttpListenerRequest.cs
- TablePattern.cs
- StatusBarPanel.cs
- IconHelper.cs
- CodeSubDirectoriesCollection.cs
- FloaterBaseParagraph.cs
- GraphicsState.cs
- MobileContainerDesigner.cs
- StorageModelBuildProvider.cs
- XmlReflectionMember.cs
- ServerType.cs
- WaitHandleCannotBeOpenedException.cs
- TextElementEditingBehaviorAttribute.cs
- Brushes.cs
- ArrayConverter.cs