Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- cryptoapiTransform.cs
- FontCacheUtil.cs
- ReadOnlyHierarchicalDataSourceView.cs
- HandleCollector.cs
- BamlLocalizabilityResolver.cs
- SuppressMessageAttribute.cs
- X500Name.cs
- DebugHandleTracker.cs
- FixedBufferAttribute.cs
- Helper.cs
- SqlNotificationRequest.cs
- MetadataException.cs
- DebugControllerThread.cs
- ChannelAcceptor.cs
- DrawingBrush.cs
- StringToken.cs
- NetworkInformationPermission.cs
- FileUtil.cs
- StringDictionary.cs
- PropertyGridDesigner.cs
- StorageAssociationTypeMapping.cs
- StylusDevice.cs
- InkCanvasSelectionAdorner.cs
- XmlUtil.cs
- ChannelManagerHelpers.cs
- FileDialogCustomPlaces.cs
- ObjectListFieldsPage.cs
- ExpressionBindingCollection.cs
- ContentFilePart.cs
- DataView.cs
- XPathExpr.cs
- Soap12ProtocolImporter.cs
- RsaKeyIdentifierClause.cs
- CodeComment.cs
- BindToObject.cs
- ToggleButtonAutomationPeer.cs
- ConfigXmlComment.cs
- StructuredCompositeActivityDesigner.cs
- OLEDB_Util.cs
- RepeatInfo.cs
- ParameterSubsegment.cs
- PropertyBuilder.cs
- URLIdentityPermission.cs
- SizeFConverter.cs
- PagesSection.cs
- DiscardableAttribute.cs
- ColumnResult.cs
- EntityDesignerDataSourceView.cs
- XPathChildIterator.cs
- CodeCatchClause.cs
- ParseNumbers.cs
- FixedSchema.cs
- ForAllOperator.cs
- XmlChoiceIdentifierAttribute.cs
- CannotUnloadAppDomainException.cs
- CodePropertyReferenceExpression.cs
- ObjectListTitleAttribute.cs
- Restrictions.cs
- SortQueryOperator.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- SafeTimerHandle.cs
- InputLanguageProfileNotifySink.cs
- ListControlBoundActionList.cs
- SafeRightsManagementSessionHandle.cs
- WebPartMovingEventArgs.cs
- DataGridViewComboBoxCell.cs
- JapaneseLunisolarCalendar.cs
- TextEffect.cs
- FillErrorEventArgs.cs
- BooleanAnimationUsingKeyFrames.cs
- PropertyCondition.cs
- InplaceBitmapMetadataWriter.cs
- linebase.cs
- BuildProvidersCompiler.cs
- VirtualPath.cs
- PeerApplication.cs
- CellLabel.cs
- DataGridViewButtonColumn.cs
- ArraySortHelper.cs
- PropertyIDSet.cs
- OdbcConnectionHandle.cs
- NameValueSectionHandler.cs
- LoadRetryConstantStrategy.cs
- SettingsPropertyWrongTypeException.cs
- Schema.cs
- TextProperties.cs
- PropertyChange.cs
- SerializationAttributes.cs
- SoapElementAttribute.cs
- BitmapEffect.cs
- DebugInfoExpression.cs
- OracleMonthSpan.cs
- CookielessHelper.cs
- EntityDataSourceColumn.cs
- ResourceManager.cs
- DataGridParentRows.cs
- CatalogPart.cs
- DebugControllerThread.cs
- MetaModel.cs
- ConcurrencyMode.cs