Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- recordstate.cs
- ClientRuntimeConfig.cs
- Timer.cs
- Enum.cs
- Byte.cs
- ClosableStream.cs
- PolicyLevel.cs
- DuplexChannelBinder.cs
- SqlNotificationEventArgs.cs
- StrokeRenderer.cs
- Action.cs
- BooleanFunctions.cs
- ValueTypeFixupInfo.cs
- LeafCellTreeNode.cs
- LedgerEntryCollection.cs
- EventSinkHelperWriter.cs
- CryptographicAttribute.cs
- CompositeCollectionView.cs
- PolyBezierSegment.cs
- RegexCompiler.cs
- RepeaterCommandEventArgs.cs
- HtmlInputImage.cs
- BasicSecurityProfileVersion.cs
- WinFormsSpinner.cs
- TableLayoutCellPaintEventArgs.cs
- Pts.cs
- DBSqlParserColumnCollection.cs
- MetadataAssemblyHelper.cs
- DbConnectionClosed.cs
- FixedSOMImage.cs
- RbTree.cs
- KeyBinding.cs
- RealProxy.cs
- WindowsTooltip.cs
- WebException.cs
- DBConcurrencyException.cs
- FileDetails.cs
- ListControlConvertEventArgs.cs
- ConstantSlot.cs
- SecurityPermission.cs
- ToolboxDataAttribute.cs
- IHttpResponseInternal.cs
- Enumerable.cs
- XmlTypeMapping.cs
- UniqueContractNameValidationBehavior.cs
- Selection.cs
- CompilerScopeManager.cs
- ImmComposition.cs
- ProcessModule.cs
- RegexCapture.cs
- Help.cs
- SchemaImporterExtensionElement.cs
- SimpleHandlerBuildProvider.cs
- JsonXmlDataContract.cs
- XamlPathDataSerializer.cs
- ReservationNotFoundException.cs
- ViewDesigner.cs
- BadImageFormatException.cs
- FormDocumentDesigner.cs
- DetailsViewPageEventArgs.cs
- DeferredElementTreeState.cs
- ApplicationContext.cs
- ApplicationInfo.cs
- DirectoryRedirect.cs
- Int32.cs
- InvocationExpression.cs
- PropertyPathConverter.cs
- LocalIdKeyIdentifierClause.cs
- InvokePatternIdentifiers.cs
- MailWriter.cs
- TransactionManager.cs
- SByteStorage.cs
- ModelChangedEventArgsImpl.cs
- LinearKeyFrames.cs
- XmlSchemaInfo.cs
- EventBuilder.cs
- Subset.cs
- SetStateDesigner.cs
- RotateTransform.cs
- EntityClassGenerator.cs
- SchemaManager.cs
- cryptoapiTransform.cs
- UrlParameterReader.cs
- MulticastOption.cs
- mactripleDES.cs
- NamedPipeAppDomainProtocolHandler.cs
- GatewayDefinition.cs
- ChannelServices.cs
- SByteStorage.cs
- PriorityBinding.cs
- CheckBoxPopupAdapter.cs
- InputReferenceExpression.cs
- MessageProperties.cs
- XsdDataContractImporter.cs
- AxisAngleRotation3D.cs
- SerializationHelper.cs
- MatrixKeyFrameCollection.cs
- SecurityDocument.cs
- _AutoWebProxyScriptHelper.cs
- DecoderBestFitFallback.cs