Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- StorageComplexPropertyMapping.cs
- MsdtcWrapper.cs
- BooleanConverter.cs
- Base64Encoding.cs
- ToolStripContainer.cs
- CapiHashAlgorithm.cs
- ToggleButton.cs
- StorageAssociationSetMapping.cs
- FlowLayoutSettings.cs
- EventSinkHelperWriter.cs
- PrefixHandle.cs
- SmtpLoginAuthenticationModule.cs
- TimeIntervalCollection.cs
- RepeaterItem.cs
- PolyBezierSegment.cs
- RealProxy.cs
- ContextStaticAttribute.cs
- PostBackTrigger.cs
- EventWaitHandle.cs
- LayoutEditorPart.cs
- XmlNodeChangedEventManager.cs
- FileDialog.cs
- CrossAppDomainChannel.cs
- PermissionSetEnumerator.cs
- ConditionalAttribute.cs
- Timeline.cs
- RangeValuePatternIdentifiers.cs
- MimeReturn.cs
- OutputCacheSettings.cs
- TemplateControl.cs
- ChannelServices.cs
- WindowsMenu.cs
- DataGridParentRows.cs
- SoapAttributeOverrides.cs
- StringAnimationBase.cs
- JapaneseCalendar.cs
- ConfigurationStrings.cs
- OleDbTransaction.cs
- _FtpControlStream.cs
- ObjectDataSourceStatusEventArgs.cs
- DispatcherOperation.cs
- SecurityChannelListener.cs
- BufferedResponseStream.cs
- TextRangeBase.cs
- EntityObject.cs
- ExecutionContext.cs
- RoleGroup.cs
- SessionMode.cs
- XmlDataSourceView.cs
- HttpServerProtocol.cs
- TextDecorations.cs
- SchemaElement.cs
- OdbcRowUpdatingEvent.cs
- XPathSelfQuery.cs
- InternalPolicyElement.cs
- ResXFileRef.cs
- ParenExpr.cs
- GlyphInfoList.cs
- BufferedWebEventProvider.cs
- SchemaLookupTable.cs
- LocationUpdates.cs
- SystemInformation.cs
- SelectionChangedEventArgs.cs
- OrderPreservingSpoolingTask.cs
- CodeTypeParameterCollection.cs
- TextProperties.cs
- CriticalFinalizerObject.cs
- HMACSHA512.cs
- SelectionItemProviderWrapper.cs
- CheckBoxStandardAdapter.cs
- ChangeConflicts.cs
- TableLayoutPanelBehavior.cs
- XmlCustomFormatter.cs
- XmlQualifiedName.cs
- TextPenaltyModule.cs
- LineServicesRun.cs
- SystemWebCachingSectionGroup.cs
- ValidationError.cs
- AvtEvent.cs
- HwndKeyboardInputProvider.cs
- BitmapCodecInfo.cs
- MouseGestureValueSerializer.cs
- DocumentViewerAutomationPeer.cs
- GatewayIPAddressInformationCollection.cs
- XamlClipboardData.cs
- ParameterCollection.cs
- RegistrySecurity.cs
- ContextBase.cs
- sqlmetadatafactory.cs
- Module.cs
- Panel.cs
- BindingSource.cs
- SpanIndex.cs
- OracleDateTime.cs
- LocationUpdates.cs
- BindingCompleteEventArgs.cs
- UrlPath.cs
- ValidationService.cs
- FileDialogPermission.cs
- ParameterSubsegment.cs