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
- AttachInfo.cs
- XmlSchemas.cs
- BitmapEffect.cs
- ActivityExecutionFilter.cs
- PolicyException.cs
- HttpUnhandledOperationInvoker.cs
- TdsEnums.cs
- PtsHost.cs
- Label.cs
- HttpHandlerActionCollection.cs
- Encoding.cs
- ParseElementCollection.cs
- Wizard.cs
- SafeCoTaskMem.cs
- LinkLabel.cs
- WebEvents.cs
- SafeCertificateContext.cs
- EventLogEntry.cs
- EntityDataSourceWizardForm.cs
- XmlSerializationReader.cs
- ILGenerator.cs
- InputManager.cs
- NumberFunctions.cs
- ProcessMessagesAsyncResult.cs
- HttpModuleAction.cs
- ClientSideQueueItem.cs
- WebBrowserPermission.cs
- HttpPostLocalhostServerProtocol.cs
- MultipartIdentifier.cs
- SystemColors.cs
- TableLayoutPanelCellPosition.cs
- EntityProxyTypeInfo.cs
- COM2PictureConverter.cs
- MdiWindowListItemConverter.cs
- DropTarget.cs
- Decimal.cs
- EntityUtil.cs
- BCryptNative.cs
- MissingManifestResourceException.cs
- LayoutSettings.cs
- SingleResultAttribute.cs
- CharStorage.cs
- BindingSourceDesigner.cs
- TraceInternal.cs
- ContextProperty.cs
- HtmlInputButton.cs
- ListViewItemMouseHoverEvent.cs
- DataSourceView.cs
- ContentOnlyMessage.cs
- ReadOnlyAttribute.cs
- X509ClientCertificateAuthentication.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- XsltLoader.cs
- PersistenceParticipant.cs
- RIPEMD160Managed.cs
- WsiProfilesElementCollection.cs
- ZoneLinkButton.cs
- InvalidComObjectException.cs
- CalendarDayButton.cs
- ClientScriptManagerWrapper.cs
- SingleSelectRootGridEntry.cs
- CssClassPropertyAttribute.cs
- sqlinternaltransaction.cs
- RewritingPass.cs
- DelegatingMessage.cs
- EventlogProvider.cs
- BevelBitmapEffect.cs
- ListenerConnectionModeReader.cs
- CursorEditor.cs
- RotateTransform3D.cs
- AlgoModule.cs
- SystemTcpStatistics.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- SelectionEditingBehavior.cs
- DesignerWithHeader.cs
- XmlSchemaImporter.cs
- NotificationContext.cs
- RemotingConfigParser.cs
- PasswordRecovery.cs
- ImageButton.cs
- SqlClientWrapperSmiStream.cs
- Int64AnimationUsingKeyFrames.cs
- ChtmlPageAdapter.cs
- CellTreeNodeVisitors.cs
- ExtendedProperty.cs
- CodeCatchClauseCollection.cs
- QuaternionRotation3D.cs
- Attributes.cs
- HighlightComponent.cs
- DocumentSchemaValidator.cs
- IdnMapping.cs
- Point.cs
- PartManifestEntry.cs
- ZipIOExtraFieldPaddingElement.cs
- VisualCollection.cs
- ResourcePart.cs
- QilPatternFactory.cs
- MediaContextNotificationWindow.cs
- IsolatedStorageFilePermission.cs
- CapabilitiesSection.cs