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
- UserCancellationException.cs
- FixedPosition.cs
- ResolveDuplexCD1AsyncResult.cs
- Debug.cs
- BindingMAnagerBase.cs
- OdbcDataAdapter.cs
- BitmapInitialize.cs
- MutexSecurity.cs
- SchemaNamespaceManager.cs
- ServiceObjectContainer.cs
- Currency.cs
- AliasedSlot.cs
- FormViewDeletedEventArgs.cs
- OledbConnectionStringbuilder.cs
- DirectoryGroupQuery.cs
- DataGridViewTextBoxEditingControl.cs
- EntityDataSourceMemberPath.cs
- StorageMappingItemCollection.cs
- DeleteMemberBinder.cs
- UseAttributeSetsAction.cs
- ScrollItemPattern.cs
- FrameworkTemplate.cs
- Enum.cs
- WpfXamlMember.cs
- KeyFrames.cs
- SqlNamer.cs
- IImplicitResourceProvider.cs
- NonParentingControl.cs
- Decoder.cs
- XamlClipboardData.cs
- WeakReferenceEnumerator.cs
- DispatcherSynchronizationContext.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- regiisutil.cs
- OdbcConnectionStringbuilder.cs
- XamlInterfaces.cs
- SqlBuffer.cs
- TypeForwardedToAttribute.cs
- PeerTransportCredentialType.cs
- HybridObjectCache.cs
- Rijndael.cs
- ObjectKeyFrameCollection.cs
- WebPartMenuStyle.cs
- input.cs
- DesignerUtils.cs
- Button.cs
- CompilerWrapper.cs
- ToolTipService.cs
- ContractListAdapter.cs
- EndpointDispatcherTable.cs
- XmlRawWriter.cs
- ComponentCollection.cs
- AuthenticationManager.cs
- ResourceAttributes.cs
- PaintEvent.cs
- querybuilder.cs
- HttpDebugHandler.cs
- NetTcpBindingCollectionElement.cs
- InputManager.cs
- ControlCommandSet.cs
- ParameterBuilder.cs
- ColumnHeader.cs
- DbModificationCommandTree.cs
- NameObjectCollectionBase.cs
- X509ScopedServiceCertificateElementCollection.cs
- EnumConverter.cs
- XmlArrayAttribute.cs
- ItemCheckedEvent.cs
- PreservationFileReader.cs
- InvalidWMPVersionException.cs
- StringFreezingAttribute.cs
- DWriteFactory.cs
- ColorTranslator.cs
- GraphicsPath.cs
- EntityDataSourceDesignerHelper.cs
- MetadataItemSerializer.cs
- Decorator.cs
- UnsafeNativeMethods.cs
- OdbcError.cs
- ThrowHelper.cs
- SoapTransportImporter.cs
- IRCollection.cs
- DynamicActivity.cs
- PolicyChain.cs
- RegistryKey.cs
- AttributeQuery.cs
- WebPartCatalogCloseVerb.cs
- StrongTypingException.cs
- DoubleLinkListEnumerator.cs
- ZoneButton.cs
- ToolStripSeparatorRenderEventArgs.cs
- ObjectCloneHelper.cs
- CodeExpressionCollection.cs
- DynamicMethod.cs
- VectorValueSerializer.cs
- ToolStripPanel.cs
- ListMarkerLine.cs
- EntityContainer.cs
- PathFigure.cs
- DependencySource.cs