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
- XmlnsCompatibleWithAttribute.cs
- TableLayoutStyle.cs
- ResourcePool.cs
- XPathException.cs
- FrameworkContentElement.cs
- PeerNameRecord.cs
- AdapterDictionary.cs
- TableAdapterManagerHelper.cs
- SystemIPInterfaceProperties.cs
- TokenFactoryBase.cs
- EventlogProvider.cs
- ColorMap.cs
- RawStylusActions.cs
- PDBReader.cs
- XsltException.cs
- CustomValidator.cs
- RemotingSurrogateSelector.cs
- BehaviorEditorPart.cs
- cache.cs
- WebPartTransformerAttribute.cs
- FormViewCommandEventArgs.cs
- RepeatInfo.cs
- IndexedEnumerable.cs
- DetailsViewPagerRow.cs
- HotSpot.cs
- TypeToken.cs
- NativeMethods.cs
- SQLBinaryStorage.cs
- CultureTable.cs
- SearchExpression.cs
- EncoderReplacementFallback.cs
- DataPagerFieldCollection.cs
- BooleanFunctions.cs
- StaticSiteMapProvider.cs
- BordersPage.cs
- LineSegment.cs
- RelationalExpressions.cs
- NativeObjectSecurity.cs
- PrimarySelectionAdorner.cs
- UnmanagedMemoryStream.cs
- SessionStateItemCollection.cs
- ReferencedAssembly.cs
- DataGridViewCheckBoxCell.cs
- TextBlockAutomationPeer.cs
- CompilerGlobalScopeAttribute.cs
- WhitespaceRule.cs
- StringValidatorAttribute.cs
- MethodCallConverter.cs
- Converter.cs
- EntryPointNotFoundException.cs
- ListView.cs
- SQLUtility.cs
- PersianCalendar.cs
- XmlExpressionDumper.cs
- Line.cs
- AutoResizedEvent.cs
- DelegatedStream.cs
- DiffuseMaterial.cs
- WebReferenceCollection.cs
- StringSorter.cs
- Polyline.cs
- GestureRecognizer.cs
- SuppressMergeCheckAttribute.cs
- WebConvert.cs
- CharEntityEncoderFallback.cs
- RemoteCryptoRsaServiceProvider.cs
- EventListenerClientSide.cs
- BooleanAnimationUsingKeyFrames.cs
- SqlTriggerContext.cs
- CodeParameterDeclarationExpression.cs
- dsa.cs
- PointKeyFrameCollection.cs
- RegionIterator.cs
- DrawingAttributeSerializer.cs
- StatusBar.cs
- ScrollContentPresenter.cs
- LeaseManager.cs
- SqlConnectionHelper.cs
- EdmComplexTypeAttribute.cs
- RuleSetDialog.cs
- DataGridViewTopLeftHeaderCell.cs
- WebDisplayNameAttribute.cs
- PropertyInformation.cs
- StorageComplexTypeMapping.cs
- ComPlusTraceRecord.cs
- _UriSyntax.cs
- TableStyle.cs
- OptionUsage.cs
- DependencyPropertyDescriptor.cs
- XmlName.cs
- MessageQueueConverter.cs
- PageCatalogPart.cs
- PrimitiveType.cs
- Interop.cs
- VirtualPathExtension.cs
- PrtCap_Builder.cs
- Drawing.cs
- HttpListenerPrefixCollection.cs
- PathTooLongException.cs
- WorkflowDebuggerSteppingAttribute.cs