Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewRowContextMenuStripNeededEventArgs.cs / 1305376 / DataGridViewRowContextMenuStripNeededEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; ///public class DataGridViewRowContextMenuStripNeededEventArgs : EventArgs { private int rowIndex; private ContextMenuStrip contextMenuStrip; /// public DataGridViewRowContextMenuStripNeededEventArgs(int rowIndex) { if (rowIndex < -1) { throw new ArgumentOutOfRangeException("rowIndex"); } this.rowIndex = rowIndex; } internal DataGridViewRowContextMenuStripNeededEventArgs(int rowIndex, ContextMenuStrip contextMenuStrip) : this(rowIndex) { this.contextMenuStrip = contextMenuStrip; } /// public int RowIndex { get { return this.rowIndex; } } /// public ContextMenuStrip ContextMenuStrip { get { return this.contextMenuStrip; } set { this.contextMenuStrip = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; ///public class DataGridViewRowContextMenuStripNeededEventArgs : EventArgs { private int rowIndex; private ContextMenuStrip contextMenuStrip; /// public DataGridViewRowContextMenuStripNeededEventArgs(int rowIndex) { if (rowIndex < -1) { throw new ArgumentOutOfRangeException("rowIndex"); } this.rowIndex = rowIndex; } internal DataGridViewRowContextMenuStripNeededEventArgs(int rowIndex, ContextMenuStrip contextMenuStrip) : this(rowIndex) { this.contextMenuStrip = contextMenuStrip; } /// public int RowIndex { get { return this.rowIndex; } } /// public ContextMenuStrip ContextMenuStrip { get { return this.contextMenuStrip; } set { this.contextMenuStrip = value; } } } } // 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
- oledbconnectionstring.cs
- ObjectDataSource.cs
- UIntPtr.cs
- HandleCollector.cs
- BindMarkupExtensionSerializer.cs
- Knowncolors.cs
- PathSegmentCollection.cs
- KnownTypeAttribute.cs
- DockPattern.cs
- SchemaSetCompiler.cs
- RuntimeResourceSet.cs
- UdpDiscoveryEndpointElement.cs
- FrameworkElementFactoryMarkupObject.cs
- SqlConnection.cs
- DelayDesigner.cs
- ReferencedCollectionType.cs
- UxThemeWrapper.cs
- EdmProviderManifest.cs
- XmlChildEnumerator.cs
- WindowsRichEdit.cs
- IdentitySection.cs
- DataGridItemCollection.cs
- FormsIdentity.cs
- LineServices.cs
- NonSerializedAttribute.cs
- DeflateEmulationStream.cs
- SchemaImporter.cs
- WmpBitmapDecoder.cs
- ListBindableAttribute.cs
- WinInetCache.cs
- FileReader.cs
- RegistryPermission.cs
- XmlSchemaComplexType.cs
- WebPartCancelEventArgs.cs
- ProgressBarBrushConverter.cs
- ExtentKey.cs
- SynchronizationLockException.cs
- SvcMapFile.cs
- WebPartPersonalization.cs
- ConfigXmlAttribute.cs
- MailWriter.cs
- ScriptingWebServicesSectionGroup.cs
- Attributes.cs
- RectKeyFrameCollection.cs
- DbProviderFactory.cs
- FileSystemInfo.cs
- Focus.cs
- MarkupCompiler.cs
- XmlSchemaSimpleTypeList.cs
- XmlDataSourceView.cs
- ImageListImage.cs
- NullableLongMinMaxAggregationOperator.cs
- FixedDocument.cs
- filewebresponse.cs
- AppDomainProtocolHandler.cs
- InvalidCommandTreeException.cs
- KernelTypeValidation.cs
- UpdatePanelControlTrigger.cs
- Fx.cs
- DocumentCollection.cs
- DataTablePropertyDescriptor.cs
- XmlEnumAttribute.cs
- GridViewSortEventArgs.cs
- RegularExpressionValidator.cs
- DetailsViewRowCollection.cs
- TiffBitmapEncoder.cs
- DbConnectionOptions.cs
- HashAlgorithm.cs
- SqlFactory.cs
- ExpandableObjectConverter.cs
- HealthMonitoringSectionHelper.cs
- ProcessInputEventArgs.cs
- CheckBoxList.cs
- validationstate.cs
- LassoHelper.cs
- ResXResourceReader.cs
- HeaderedItemsControl.cs
- SQLBoolean.cs
- ClientRolePrincipal.cs
- HttpStreamXmlDictionaryReader.cs
- RelatedCurrencyManager.cs
- printdlgexmarshaler.cs
- XmlDictionaryReader.cs
- DecimalConstantAttribute.cs
- PropertyTab.cs
- SecureConversationServiceCredential.cs
- ServerValidateEventArgs.cs
- WorkflowViewElement.cs
- HostedTransportConfigurationBase.cs
- ListComponentEditorPage.cs
- Freezable.cs
- TypeValidationEventArgs.cs
- XmlSchemaObjectTable.cs
- IEnumerable.cs
- XPathMessageFilterElementComparer.cs
- ChannelSinkStacks.cs
- OutKeywords.cs
- ExtendedPropertyDescriptor.cs
- TemplateField.cs
- GeometryCollection.cs