Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- GetCardDetailsRequest.cs
- ServicePoint.cs
- BrowserCapabilitiesCodeGenerator.cs
- QueryResult.cs
- HtmlLink.cs
- PhonemeConverter.cs
- Cell.cs
- CodeArrayCreateExpression.cs
- Rights.cs
- Section.cs
- SharedPersonalizationStateInfo.cs
- DataControlFieldHeaderCell.cs
- UpdateTranslator.cs
- TabPage.cs
- DependencyObjectProvider.cs
- ArcSegment.cs
- DynamicField.cs
- DrawItemEvent.cs
- HtmlShimManager.cs
- HostingPreferredMapPath.cs
- TextAutomationPeer.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- ViewEvent.cs
- MustUnderstandBehavior.cs
- LogEntryUtils.cs
- PasswordRecovery.cs
- FileDialogCustomPlacesCollection.cs
- CannotUnloadAppDomainException.cs
- RenderData.cs
- WindowsStatusBar.cs
- EdmComplexTypeAttribute.cs
- CompoundFileDeflateTransform.cs
- PeerInputChannel.cs
- IMembershipProvider.cs
- ServiceDescriptionReflector.cs
- ActivityTypeResolver.xaml.cs
- WebPartsPersonalization.cs
- RegexGroup.cs
- Region.cs
- RestHandler.cs
- ImmutableCollection.cs
- isolationinterop.cs
- ColorBlend.cs
- BaseConfigurationRecord.cs
- AttributeQuery.cs
- InputBinding.cs
- sqlnorm.cs
- AbstractSvcMapFileLoader.cs
- DBSqlParserColumnCollection.cs
- ByteStreamGeometryContext.cs
- AssemblyName.cs
- PassportIdentity.cs
- ConstraintEnumerator.cs
- ResourceDisplayNameAttribute.cs
- ParameterCollection.cs
- IItemContainerGenerator.cs
- ScopedKnownTypes.cs
- _CommandStream.cs
- EnvelopedPkcs7.cs
- ClientRuntimeConfig.cs
- RecognizedPhrase.cs
- StringFormat.cs
- FlowDocument.cs
- AnimationClockResource.cs
- DataSourceDesigner.cs
- ReachObjectContext.cs
- listitem.cs
- Code.cs
- ServiceParser.cs
- ContainerActivationHelper.cs
- MaskedTextProvider.cs
- Bookmark.cs
- TextLine.cs
- DiscoveryMessageSequenceGenerator.cs
- XhtmlBasicListAdapter.cs
- HandlerBase.cs
- TargetInvocationException.cs
- TextStore.cs
- EntityDataSourceConfigureObjectContext.cs
- Models.cs
- Light.cs
- QilNode.cs
- MergePropertyDescriptor.cs
- TemplateBindingExpression.cs
- VisualBrush.cs
- LinqDataSourceDisposeEventArgs.cs
- Win32SafeHandles.cs
- IdentifierCollection.cs
- XamlSerializerUtil.cs
- DataGridItem.cs
- MessagePartProtectionMode.cs
- ClipboardData.cs
- RuleAttributes.cs
- SoapExtension.cs
- UpdateException.cs
- StorageMappingItemLoader.cs
- ByteAnimation.cs
- UntrustedRecipientException.cs
- Char.cs
- EntityModelSchemaGenerator.cs