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
- FileVersion.cs
- DataGridBoundColumn.cs
- OutputCacheSettings.cs
- OletxTransactionHeader.cs
- OuterGlowBitmapEffect.cs
- FlowLayout.cs
- PerfProviderCollection.cs
- XPathScanner.cs
- PropertyRef.cs
- ByteAnimationUsingKeyFrames.cs
- LicenseProviderAttribute.cs
- UnsafeNativeMethods.cs
- DrawListViewColumnHeaderEventArgs.cs
- HtmlProps.cs
- NullRuntimeConfig.cs
- DebugTraceHelper.cs
- NativeRightsManagementAPIsStructures.cs
- BinaryObjectReader.cs
- ImageFormatConverter.cs
- ProgressBarRenderer.cs
- OrthographicCamera.cs
- MetadataCache.cs
- PolicyLevel.cs
- FormsIdentity.cs
- SplitterEvent.cs
- PagesSection.cs
- PathBox.cs
- SiteMapSection.cs
- DataGridViewTopRowAccessibleObject.cs
- Size3DConverter.cs
- MailAddress.cs
- FixedSOMTextRun.cs
- OnOperation.cs
- Label.cs
- AnimatedTypeHelpers.cs
- InputQueueChannelAcceptor.cs
- DataTemplate.cs
- Parser.cs
- IsolationInterop.cs
- WebPartHeaderCloseVerb.cs
- Int32CAMarshaler.cs
- DataBinder.cs
- XmlDocument.cs
- DocumentXPathNavigator.cs
- DeflateEmulationStream.cs
- LoginStatusDesigner.cs
- HashHelper.cs
- Classification.cs
- OrderedDictionaryStateHelper.cs
- TextTreeUndo.cs
- HandlerBase.cs
- CodeDomConfigurationHandler.cs
- Image.cs
- XmlSchemaObject.cs
- StringFormat.cs
- BlobPersonalizationState.cs
- CheckBoxField.cs
- DiagnosticSection.cs
- CheckBox.cs
- HttpCapabilitiesSectionHandler.cs
- PoisonMessageException.cs
- UpdateCommand.cs
- TextTreeText.cs
- StateBag.cs
- WebPartAuthorizationEventArgs.cs
- GroupByExpressionRewriter.cs
- OdbcError.cs
- OutputCacheModule.cs
- SizeAnimationUsingKeyFrames.cs
- FlatButtonAppearance.cs
- OptimalBreakSession.cs
- CodeExpressionCollection.cs
- BinaryParser.cs
- XmlILTrace.cs
- linebase.cs
- PathFigure.cs
- HttpHandlerActionCollection.cs
- SwitchElementsCollection.cs
- _UriSyntax.cs
- DeflateEmulationStream.cs
- CodeVariableDeclarationStatement.cs
- Helper.cs
- LoginCancelEventArgs.cs
- CacheRequest.cs
- XmlUtil.cs
- ExtensionFile.cs
- DataGridViewCellCollection.cs
- XmlAttributeCollection.cs
- FtpWebResponse.cs
- EmptyQuery.cs
- ResourceAttributes.cs
- Int16AnimationBase.cs
- FixedPosition.cs
- HeaderedItemsControl.cs
- XmlSchemaSimpleContent.cs
- MenuItemCollection.cs
- TreeNodeStyle.cs
- BorderGapMaskConverter.cs
- SoapAttributeAttribute.cs
- DataServiceHost.cs