Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewCommandEventArgs.cs / 1305376 / GridViewCommandEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
using System.Diagnostics.CodeAnalysis;
///
/// Provides data for some events.
///
public class GridViewCommandEventArgs : CommandEventArgs {
private GridViewRow _row;
private object _commandSource;
///
/// Initializes a new instance of the
/// class.
///
public GridViewCommandEventArgs(GridViewRow row, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) {
this._row = row;
this._commandSource = commandSource;
}
///
/// Initializes a new instance of the
/// class.
///
[SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")]
public GridViewCommandEventArgs(object commandSource, CommandEventArgs originalArgs) : base(originalArgs) {
this._commandSource = commandSource;
}
///
/// Gets the source of the command. This property is read-only.
///
public object CommandSource {
get {
return _commandSource;
}
}
///
/// Gets the row in the that was clicked. This property is read-only.
///
internal GridViewRow Row {
get {
return _row;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
using System.Diagnostics.CodeAnalysis;
///
/// Provides data for some events.
///
public class GridViewCommandEventArgs : CommandEventArgs {
private GridViewRow _row;
private object _commandSource;
///
/// Initializes a new instance of the
/// class.
///
public GridViewCommandEventArgs(GridViewRow row, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) {
this._row = row;
this._commandSource = commandSource;
}
///
/// Initializes a new instance of the
/// class.
///
[SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")]
public GridViewCommandEventArgs(object commandSource, CommandEventArgs originalArgs) : base(originalArgs) {
this._commandSource = commandSource;
}
///
/// Gets the source of the command. This property is read-only.
///
public object CommandSource {
get {
return _commandSource;
}
}
///
/// Gets the row in the that was clicked. This property is read-only.
///
internal GridViewRow Row {
get {
return _row;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XPathAncestorQuery.cs
- ByteFacetDescriptionElement.cs
- CurrentChangingEventArgs.cs
- PermissionSetEnumerator.cs
- DataColumnCollection.cs
- PassportPrincipal.cs
- RoleBoolean.cs
- ApplicationServiceManager.cs
- OleDbCommandBuilder.cs
- Wildcard.cs
- PropertyMetadata.cs
- MutexSecurity.cs
- TableParaClient.cs
- lengthconverter.cs
- RandomNumberGenerator.cs
- EnumType.cs
- TypeConverterHelper.cs
- OracleTransaction.cs
- CounterCreationData.cs
- JsonClassDataContract.cs
- ObjectViewListener.cs
- LostFocusEventManager.cs
- FreeIndexList.cs
- TextModifier.cs
- Point.cs
- FixedSchema.cs
- ModelUIElement3D.cs
- invalidudtexception.cs
- SequentialUshortCollection.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- PageParser.cs
- PhysicalFontFamily.cs
- DelegatingStream.cs
- ToolboxItemAttribute.cs
- RangeBase.cs
- XmlDomTextWriter.cs
- XmlMapping.cs
- DesignerGenericWebPart.cs
- ViewStateModeByIdAttribute.cs
- PageThemeParser.cs
- SolidBrush.cs
- _SingleItemRequestCache.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- ExcludeFromCodeCoverageAttribute.cs
- ToolStripMenuItem.cs
- TableAutomationPeer.cs
- DataSourceProvider.cs
- WizardStepBase.cs
- HtmlInputRadioButton.cs
- DesignerVerbCollection.cs
- ColorConverter.cs
- InvalidCommandTreeException.cs
- Rotation3DKeyFrameCollection.cs
- DataViewManager.cs
- ToolStripDropTargetManager.cs
- ReferencedAssembly.cs
- TableHeaderCell.cs
- QueueProcessor.cs
- HtmlTable.cs
- XmlUrlEditor.cs
- D3DImage.cs
- PageTrueTypeFont.cs
- PointF.cs
- datacache.cs
- TransformFinalBlockRequest.cs
- WebPartConnectVerb.cs
- AutomationAttributeInfo.cs
- WebPartConnectionsCloseVerb.cs
- ProtocolsConfigurationHandler.cs
- SslStream.cs
- WrapPanel.cs
- ContextConfiguration.cs
- KeysConverter.cs
- SqlCachedBuffer.cs
- TableRowCollection.cs
- WebException.cs
- KnownTypeDataContractResolver.cs
- RequestUriProcessor.cs
- WebPartDescription.cs
- CellTreeNodeVisitors.cs
- InvokePatternIdentifiers.cs
- XmlMembersMapping.cs
- MTConfigUtil.cs
- XmlNamespaceDeclarationsAttribute.cs
- AssemblyHash.cs
- Blend.cs
- PersianCalendar.cs
- FileSystemEnumerable.cs
- OdbcConnectionStringbuilder.cs
- ResolvedKeyFrameEntry.cs
- ChtmlPhoneCallAdapter.cs
- DataChangedEventManager.cs
- CacheVirtualItemsEvent.cs
- ExceptionHandlers.cs
- DmlSqlGenerator.cs
- SrgsGrammar.cs
- TextRangeProviderWrapper.cs
- Scripts.cs
- SmtpTransport.cs
- XmlParserContext.cs