Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ButtonAutomationPeer.cs
- BindingManagerDataErrorEventArgs.cs
- ApplicationTrust.cs
- Localizer.cs
- StreamGeometry.cs
- SQLSingleStorage.cs
- ListViewSortEventArgs.cs
- EntityKeyElement.cs
- DesignerCalendarAdapter.cs
- SelfIssuedAuthProofToken.cs
- SQLDecimalStorage.cs
- EventInfo.cs
- ImageDrawing.cs
- RegexCapture.cs
- ProcessRequestArgs.cs
- ColumnWidthChangingEvent.cs
- BinaryExpression.cs
- SqlGatherConsumedAliases.cs
- PackageDigitalSignatureManager.cs
- LinkTarget.cs
- ResourcesBuildProvider.cs
- UidPropertyAttribute.cs
- KnownTypesHelper.cs
- TableItemProviderWrapper.cs
- TextSelectionProcessor.cs
- ToolBarButtonClickEvent.cs
- CommonDialog.cs
- Validator.cs
- RuntimeHelpers.cs
- basecomparevalidator.cs
- DeclarativeCatalogPart.cs
- KeyFrames.cs
- ValidatorCompatibilityHelper.cs
- SubqueryRules.cs
- Range.cs
- RadioButtonList.cs
- SerializationBinder.cs
- Inflater.cs
- XmlDataSourceView.cs
- AssemblyCollection.cs
- ClientSettingsSection.cs
- ADMembershipProvider.cs
- SqlNotificationEventArgs.cs
- SAPIEngineTypes.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- MemberAccessException.cs
- ConstrainedDataObject.cs
- OutputCacheSection.cs
- MimeTypePropertyAttribute.cs
- IDQuery.cs
- StopStoryboard.cs
- HttpCapabilitiesEvaluator.cs
- ButtonPopupAdapter.cs
- AdornerPresentationContext.cs
- DeviceFiltersSection.cs
- GlobalizationAssembly.cs
- WeakReadOnlyCollection.cs
- MeasureItemEvent.cs
- NotCondition.cs
- ContextMenuService.cs
- CompilerHelpers.cs
- QuestionEventArgs.cs
- SoapExtensionTypeElementCollection.cs
- XamlFilter.cs
- Helper.cs
- HwndAppCommandInputProvider.cs
- CompiledRegexRunnerFactory.cs
- ErrorTableItemStyle.cs
- AuthorizationPolicyTypeElement.cs
- LinkTarget.cs
- DiscreteKeyFrames.cs
- AssociationProvider.cs
- ResXResourceReader.cs
- DirtyTextRange.cs
- OdbcConnection.cs
- MulticastIPAddressInformationCollection.cs
- ToolStripGrip.cs
- Parameter.cs
- ProfileServiceManager.cs
- PhysicalOps.cs
- StringArrayConverter.cs
- Content.cs
- XmlSchemaElement.cs
- AuthenticateEventArgs.cs
- DataTemplate.cs
- PropertyPushdownHelper.cs
- SqlDataReaderSmi.cs
- OleDbErrorCollection.cs
- ParseHttpDate.cs
- BitArray.cs
- XamlSerializer.cs
- GenerateScriptTypeAttribute.cs
- DataGridRowsPresenter.cs
- ModelTreeEnumerator.cs
- TypeConstant.cs
- DispatcherOperation.cs
- GridViewUpdateEventArgs.cs
- ExpanderAutomationPeer.cs
- HtmlTableCell.cs
- DataBoundLiteralControl.cs