Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewSortCompareEventArgs.cs / 1305376 / 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
- CryptographicAttribute.cs
- AsyncOperationManager.cs
- DateTimeConstantAttribute.cs
- FacetDescription.cs
- designeractionlistschangedeventargs.cs
- SinglePhaseEnlistment.cs
- DynamicRendererThreadManager.cs
- ListViewHitTestInfo.cs
- Scene3D.cs
- SingleStorage.cs
- XPathNodePointer.cs
- DefaultPropertyAttribute.cs
- ViewStateException.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- CacheDependency.cs
- DataGridAutoFormat.cs
- DefaultValueConverter.cs
- LinkedResource.cs
- NullableConverter.cs
- ControlBuilder.cs
- ToolBar.cs
- SvcMapFile.cs
- TextEncodedRawTextWriter.cs
- TextElement.cs
- WindowsIPAddress.cs
- IssuanceLicense.cs
- ExpandCollapseProviderWrapper.cs
- QuerySettings.cs
- WeakReferenceKey.cs
- AlternateView.cs
- SemaphoreSecurity.cs
- SQLCharsStorage.cs
- DispatcherHookEventArgs.cs
- Config.cs
- StreamInfo.cs
- EntityDesignerBuildProvider.cs
- HttpChannelFactory.cs
- StreamWriter.cs
- SoapSchemaImporter.cs
- ELinqQueryState.cs
- AsymmetricSignatureFormatter.cs
- Color.cs
- Policy.cs
- QueryContinueDragEventArgs.cs
- StrongNameIdentityPermission.cs
- Int16.cs
- SqlMethodAttribute.cs
- WebPartTracker.cs
- ImageClickEventArgs.cs
- nulltextnavigator.cs
- ArraySet.cs
- InteropDesigner.xaml.cs
- SchemaName.cs
- NetDispatcherFaultException.cs
- KeyboardEventArgs.cs
- TiffBitmapDecoder.cs
- NavigationPropertyEmitter.cs
- DocumentOrderQuery.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- XmlILModule.cs
- DataGridViewToolTip.cs
- UnsafeNativeMethods.cs
- BufferedWebEventProvider.cs
- UpdateProgress.cs
- BaseDataList.cs
- Propagator.JoinPropagator.cs
- AmbientLight.cs
- ThreadAttributes.cs
- QueryExecutionOption.cs
- HostExecutionContextManager.cs
- DisplayNameAttribute.cs
- LayoutEvent.cs
- StatusBarItemAutomationPeer.cs
- CompressedStack.cs
- GlyphTypeface.cs
- CodeMemberProperty.cs
- SqlProviderServices.cs
- ClientUtils.cs
- WebServiceReceive.cs
- HandlerMappingMemo.cs
- WindowsScroll.cs
- LassoHelper.cs
- ConnectorEditor.cs
- ComponentSerializationService.cs
- CorrelationManager.cs
- TimelineGroup.cs
- IFlowDocumentViewer.cs
- HttpResponseInternalBase.cs
- RequestCachePolicy.cs
- QueryOperatorEnumerator.cs
- DataListAutoFormat.cs
- ViewLoader.cs
- SessionIDManager.cs
- DataGrid.cs
- EntityConnectionStringBuilderItem.cs
- CounterCreationData.cs
- MergablePropertyAttribute.cs
- Cursor.cs
- UidManager.cs
- PermissionSetTriple.cs