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
- ColorContextHelper.cs
- DbConnectionOptions.cs
- TransformerInfoCollection.cs
- CallContext.cs
- TableParaClient.cs
- CaretElement.cs
- MultiView.cs
- XmlNamespaceDeclarationsAttribute.cs
- Package.cs
- cryptoapiTransform.cs
- EventRecordWrittenEventArgs.cs
- DependencyPropertyKey.cs
- StylesEditorDialog.cs
- RadioButtonBaseAdapter.cs
- ComplexLine.cs
- ChtmlLinkAdapter.cs
- MouseActionConverter.cs
- IImplicitResourceProvider.cs
- AddingNewEventArgs.cs
- Stacktrace.cs
- DBCSCodePageEncoding.cs
- SafeLibraryHandle.cs
- DrawingBrush.cs
- UnmanagedBitmapWrapper.cs
- TransportSecurityBindingElement.cs
- autovalidator.cs
- UserMapPath.cs
- DocumentGridPage.cs
- UnsafeNativeMethods.cs
- SyntaxCheck.cs
- OdbcConnection.cs
- HtmlTitle.cs
- COM2PictureConverter.cs
- XmlValidatingReaderImpl.cs
- TypeUsage.cs
- SelectionWordBreaker.cs
- XhtmlBasicControlAdapter.cs
- WebPartConnectionsDisconnectVerb.cs
- Msmq4SubqueuePoisonHandler.cs
- GridEntryCollection.cs
- VariableAction.cs
- Lock.cs
- RtfControlWordInfo.cs
- dtdvalidator.cs
- DeviceContexts.cs
- ManagementScope.cs
- TypeValidationEventArgs.cs
- TCPListener.cs
- ObjectCloneHelper.cs
- ScrollProperties.cs
- DBSqlParser.cs
- InfoCardAsymmetricCrypto.cs
- MultipleViewPattern.cs
- ItemMap.cs
- TdsValueSetter.cs
- BinaryMethodMessage.cs
- BlockingCollection.cs
- Attributes.cs
- PartialCachingAttribute.cs
- WebPartsPersonalization.cs
- KeyToListMap.cs
- RegexCapture.cs
- ToolStripDropDownItem.cs
- SqlBulkCopy.cs
- ClientRoleProvider.cs
- ResXBuildProvider.cs
- ThicknessKeyFrameCollection.cs
- Token.cs
- WebPartDescriptionCollection.cs
- CompilationLock.cs
- QuaternionRotation3D.cs
- TextProperties.cs
- RuleSettings.cs
- NumberSubstitution.cs
- Polyline.cs
- ApplicationServiceManager.cs
- ManagementObjectSearcher.cs
- TraceContext.cs
- TextBox.cs
- RequestQueryProcessor.cs
- BamlRecordWriter.cs
- InkPresenter.cs
- HMACSHA512.cs
- Menu.cs
- DataSourceView.cs
- Helper.cs
- PropertyKey.cs
- ConversionHelper.cs
- PageWrapper.cs
- PermissionSetTriple.cs
- ReferenceConverter.cs
- StorageEndPropertyMapping.cs
- AssociationSet.cs
- SequentialUshortCollection.cs
- XamlSerializer.cs
- XmlQualifiedName.cs
- DeleteMemberBinder.cs
- SiteMapNodeItemEventArgs.cs
- HttpListenerContext.cs
- SslStream.cs