Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewSortCompareEventArgs.cs / 1 / DataGridViewSortCompareEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; using System.ComponentModel; ///public class DataGridViewSortCompareEventArgs : HandledEventArgs { private DataGridViewColumn dataGridViewColumn; private object cellValue1, cellValue2; private int sortResult, rowIndex1, rowIndex2; /// public DataGridViewSortCompareEventArgs(DataGridViewColumn dataGridViewColumn, object cellValue1, object cellValue2, int rowIndex1, int rowIndex2) { Debug.Assert(dataGridViewColumn != null); Debug.Assert(dataGridViewColumn.Index >= 0); this.dataGridViewColumn = dataGridViewColumn; this.cellValue1 = cellValue1; this.cellValue2 = cellValue2; this.rowIndex1 = rowIndex1; this.rowIndex2 = rowIndex2; } /// public object CellValue1 { get { return this.cellValue1; } } /// public object CellValue2 { get { return this.cellValue2; } } /// public DataGridViewColumn Column { get { return this.dataGridViewColumn; } } /// public int RowIndex1 { get { return this.rowIndex1; } } /// public int RowIndex2 { get { return this.rowIndex2; } } /// public int SortResult { get { return this.sortResult; } set { this.sortResult = 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; using System.ComponentModel; ///public class DataGridViewSortCompareEventArgs : HandledEventArgs { private DataGridViewColumn dataGridViewColumn; private object cellValue1, cellValue2; private int sortResult, rowIndex1, rowIndex2; /// public DataGridViewSortCompareEventArgs(DataGridViewColumn dataGridViewColumn, object cellValue1, object cellValue2, int rowIndex1, int rowIndex2) { Debug.Assert(dataGridViewColumn != null); Debug.Assert(dataGridViewColumn.Index >= 0); this.dataGridViewColumn = dataGridViewColumn; this.cellValue1 = cellValue1; this.cellValue2 = cellValue2; this.rowIndex1 = rowIndex1; this.rowIndex2 = rowIndex2; } /// public object CellValue1 { get { return this.cellValue1; } } /// public object CellValue2 { get { return this.cellValue2; } } /// public DataGridViewColumn Column { get { return this.dataGridViewColumn; } } /// public int RowIndex1 { get { return this.rowIndex1; } } /// public int RowIndex2 { get { return this.rowIndex2; } } /// public int SortResult { get { return this.sortResult; } set { this.sortResult = 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
- SingleAnimationUsingKeyFrames.cs
- XmlCollation.cs
- CommandLibraryHelper.cs
- ConnectionPoint.cs
- PageBreakRecord.cs
- FilteredReadOnlyMetadataCollection.cs
- Light.cs
- ValueUtilsSmi.cs
- ListViewGroup.cs
- WebZone.cs
- OleDbErrorCollection.cs
- LazyTextWriterCreator.cs
- DisplayMemberTemplateSelector.cs
- CollaborationHelperFunctions.cs
- ScrollEventArgs.cs
- ConfigurationCollectionAttribute.cs
- SspiHelper.cs
- ADMembershipProvider.cs
- GroupBox.cs
- SparseMemoryStream.cs
- FlowLayoutPanelDesigner.cs
- LinkLabel.cs
- DiscardableAttribute.cs
- ContextInformation.cs
- StrongNamePublicKeyBlob.cs
- SqlResolver.cs
- SamlAction.cs
- TokenFactoryCredential.cs
- RetrieveVirtualItemEventArgs.cs
- DiagnosticTraceSource.cs
- PngBitmapEncoder.cs
- DBConcurrencyException.cs
- XPathDocument.cs
- SimpleMailWebEventProvider.cs
- ObjectSerializerFactory.cs
- ReceiveActivityValidator.cs
- ConfigurationElementProperty.cs
- WebZone.cs
- AccessedThroughPropertyAttribute.cs
- TransactionContextManager.cs
- WebSysDefaultValueAttribute.cs
- SubMenuStyleCollection.cs
- Point3DCollectionConverter.cs
- DesignerCatalogPartChrome.cs
- ObjectCloneHelper.cs
- Calendar.cs
- Parser.cs
- SyntaxCheck.cs
- CqlParserHelpers.cs
- DoubleAnimation.cs
- EventProviderClassic.cs
- SafePointer.cs
- SmtpClient.cs
- ClassicBorderDecorator.cs
- GridViewRowEventArgs.cs
- ToggleProviderWrapper.cs
- MemberAssignment.cs
- FrameworkElementAutomationPeer.cs
- ErrorProvider.cs
- TextCompositionManager.cs
- SettingsContext.cs
- Int32KeyFrameCollection.cs
- VectorAnimationBase.cs
- IdnMapping.cs
- ListDictionaryInternal.cs
- XmlChoiceIdentifierAttribute.cs
- TraceInternal.cs
- AssociationSetEnd.cs
- DateBoldEvent.cs
- IResourceProvider.cs
- SimpleHandlerFactory.cs
- DataGridViewRow.cs
- BamlRecords.cs
- ImageAttributes.cs
- TemplateBamlTreeBuilder.cs
- DateTimeOffsetStorage.cs
- SystemFonts.cs
- QueryConverter.cs
- TemplateKey.cs
- PixelFormat.cs
- PersonalizationEntry.cs
- HorizontalAlignConverter.cs
- SessionEndingCancelEventArgs.cs
- HttpConfigurationContext.cs
- Attributes.cs
- ApplicationManager.cs
- Rect3DValueSerializer.cs
- Container.cs
- TypeConverter.cs
- WasAdminWrapper.cs
- ColorConverter.cs
- SqlCharStream.cs
- MouseBinding.cs
- LinkDescriptor.cs
- XmlCountingReader.cs
- InlineObject.cs
- Empty.cs
- XmlSchema.cs
- CodeTypeMemberCollection.cs
- PositiveTimeSpanValidator.cs