Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- _NativeSSPI.cs
- XamlSerializer.cs
- DrawingCollection.cs
- EntityDataSourceDesignerHelper.cs
- XmlTextAttribute.cs
- NumericPagerField.cs
- AuthenticationException.cs
- CharEntityEncoderFallback.cs
- TextTreeTextBlock.cs
- SoapAttributes.cs
- DebuggerAttributes.cs
- ClockGroup.cs
- Registry.cs
- PassportPrincipal.cs
- MimeBasePart.cs
- SiteOfOriginContainer.cs
- TypographyProperties.cs
- SiteMapDataSourceView.cs
- TabControlAutomationPeer.cs
- BitStack.cs
- GlyphInfoList.cs
- OleDbSchemaGuid.cs
- SqlDataSourceFilteringEventArgs.cs
- _ConnectStream.cs
- DependencyPropertyValueSerializer.cs
- ClientSideQueueItem.cs
- RegionInfo.cs
- DataGridTable.cs
- LayoutTableCell.cs
- XamlToRtfWriter.cs
- HtmlImage.cs
- NoneExcludedImageIndexConverter.cs
- DebugView.cs
- Vector3DAnimation.cs
- __TransparentProxy.cs
- RegexFCD.cs
- HtmlInputSubmit.cs
- HtmlInputImage.cs
- Int32Storage.cs
- GridViewColumnHeader.cs
- SqlBulkCopy.cs
- EventDescriptor.cs
- PenContexts.cs
- DesignerVerbToolStripMenuItem.cs
- Ppl.cs
- SoapProtocolReflector.cs
- StylusCollection.cs
- coordinator.cs
- Repeater.cs
- RightNameExpirationInfoPair.cs
- ClientScriptManager.cs
- _SSPIWrapper.cs
- x509utils.cs
- GifBitmapEncoder.cs
- CellParagraph.cs
- DynamicDocumentPaginator.cs
- FreeFormPanel.cs
- ContextMenuService.cs
- NonVisualControlAttribute.cs
- IPHostEntry.cs
- SqlReorderer.cs
- Animatable.cs
- NavigatorInput.cs
- SHA1Managed.cs
- CacheAxisQuery.cs
- ListenerConfig.cs
- CreateDataSourceDialog.cs
- SqlTriggerAttribute.cs
- TextSelection.cs
- ListBoxChrome.cs
- DynamicMethod.cs
- MetadataPropertyAttribute.cs
- ServiceNameElement.cs
- MediaTimeline.cs
- Int32CollectionConverter.cs
- URLMembershipCondition.cs
- SingleTagSectionHandler.cs
- RangeContentEnumerator.cs
- DecimalMinMaxAggregationOperator.cs
- sqlnorm.cs
- RawStylusActions.cs
- BindingCollection.cs
- ApplicationSettingsBase.cs
- WindowCollection.cs
- SymLanguageVendor.cs
- Int32RectValueSerializer.cs
- SolidColorBrush.cs
- PropertyManager.cs
- OrderablePartitioner.cs
- ParameterElementCollection.cs
- WpfSharedBamlSchemaContext.cs
- BindingSourceDesigner.cs
- ReadWriteObjectLock.cs
- WebControlParameterProxy.cs
- StickyNoteHelper.cs
- NamespaceQuery.cs
- EventLogPermissionEntryCollection.cs
- ConnectionPoolManager.cs
- ObjectAnimationBase.cs
- OutgoingWebRequestContext.cs