Code:
/ DotNET / DotNET / 8.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
- DataConnectionHelper.cs
- MemoryRecordBuffer.cs
- RegexCode.cs
- GridView.cs
- InstalledFontCollection.cs
- MimePart.cs
- NullReferenceException.cs
- VerificationAttribute.cs
- bindurihelper.cs
- OrderedDictionary.cs
- COM2ComponentEditor.cs
- XhtmlTextWriter.cs
- Pens.cs
- TCPClient.cs
- BitmapMetadata.cs
- DriveInfo.cs
- QueryGenerator.cs
- CustomValidator.cs
- OdbcFactory.cs
- XmlSchemaComplexType.cs
- HebrewCalendar.cs
- BinaryNode.cs
- PageBreakRecord.cs
- ContainerVisual.cs
- GridViewEditEventArgs.cs
- PointHitTestResult.cs
- XmlSchemaComplexContentRestriction.cs
- bidPrivateBase.cs
- TransactedBatchingElement.cs
- SQLDoubleStorage.cs
- Rect.cs
- QilBinary.cs
- ScrollBarAutomationPeer.cs
- XDRSchema.cs
- ParseElement.cs
- ReaderWriterLockWrapper.cs
- RepeaterItem.cs
- PopupRootAutomationPeer.cs
- CompensatableTransactionScopeActivityDesigner.cs
- ManagementEventArgs.cs
- DataGridViewSelectedRowCollection.cs
- xmlsaver.cs
- Image.cs
- ArrayWithOffset.cs
- SessionViewState.cs
- FreezableOperations.cs
- ByteConverter.cs
- OneToOneMappingSerializer.cs
- MediaContextNotificationWindow.cs
- AttachedAnnotation.cs
- TextServicesProperty.cs
- CompilerGeneratedAttribute.cs
- UIElementIsland.cs
- IIS7UserPrincipal.cs
- ServerProtocol.cs
- XmlSchemaComplexContentRestriction.cs
- PublisherMembershipCondition.cs
- LogSwitch.cs
- Configuration.cs
- ListComponentEditor.cs
- SourceElementsCollection.cs
- ExpandedProjectionNode.cs
- OpenFileDialog.cs
- SimpleLine.cs
- ListBase.cs
- SecurityException.cs
- MULTI_QI.cs
- IssuanceLicense.cs
- InkCanvasInnerCanvas.cs
- TextDecoration.cs
- AttributedMetaModel.cs
- RequestNavigateEventArgs.cs
- NetCodeGroup.cs
- SafeNativeMethods.cs
- TransformGroup.cs
- ToolTip.cs
- BooleanSwitch.cs
- RectangleHotSpot.cs
- PerformanceCounterLib.cs
- DesignUtil.cs
- InputLanguageSource.cs
- BackgroundWorker.cs
- SqlUserDefinedAggregateAttribute.cs
- Material.cs
- SymDocumentType.cs
- OrderingExpression.cs
- DataGridBoundColumn.cs
- XmlAttributeAttribute.cs
- SplitContainerDesigner.cs
- XmlSchemaParticle.cs
- BrowserCapabilitiesCompiler.cs
- HMAC.cs
- FormViewRow.cs
- SHA1.cs
- Environment.cs
- dataprotectionpermission.cs
- _ChunkParse.cs
- Knowncolors.cs
- SoapTransportImporter.cs
- MsmqIntegrationAppDomainProtocolHandler.cs