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
- ScrollViewer.cs
- DynamicControl.cs
- ScheduleChanges.cs
- QueryComponents.cs
- DataGridViewComboBoxColumn.cs
- RequiredFieldValidator.cs
- FixedSOMImage.cs
- HttpMethodConstraint.cs
- PrimitiveDataContract.cs
- TableRow.cs
- XmlnsCompatibleWithAttribute.cs
- ReaderOutput.cs
- TdsParser.cs
- SchemaImporterExtension.cs
- SoapCodeExporter.cs
- PngBitmapDecoder.cs
- ClientBuildManager.cs
- RegexStringValidatorAttribute.cs
- SchemaImporterExtension.cs
- IsolatedStorage.cs
- QueueException.cs
- EncryptedXml.cs
- ColumnPropertiesGroup.cs
- NamespaceList.cs
- TimeSpanStorage.cs
- TextPointerBase.cs
- JournalEntryStack.cs
- Unit.cs
- ConditionalAttribute.cs
- EqualityComparer.cs
- Rect3DConverter.cs
- SHA512Managed.cs
- TokenFactoryFactory.cs
- SafeSystemMetrics.cs
- HandlerFactoryCache.cs
- ResourceExpressionBuilder.cs
- Vector.cs
- ValidationErrorCollection.cs
- AppDomain.cs
- PartialCachingControl.cs
- HttpListenerPrefixCollection.cs
- ThicknessKeyFrameCollection.cs
- XPathNavigatorReader.cs
- JumpList.cs
- SubpageParaClient.cs
- ResXFileRef.cs
- PageThemeBuildProvider.cs
- ContextMenuStrip.cs
- TabletDeviceInfo.cs
- SemanticResolver.cs
- ImageListStreamer.cs
- CheckBox.cs
- ModelUIElement3D.cs
- GeometryModel3D.cs
- IisTraceWebEventProvider.cs
- PerformanceCounterPermissionEntry.cs
- AppendHelper.cs
- BamlWriter.cs
- PKCS1MaskGenerationMethod.cs
- ClassicBorderDecorator.cs
- SchemaNames.cs
- BamlLocalizableResource.cs
- MetadataProperty.cs
- DbDataSourceEnumerator.cs
- ContainerParaClient.cs
- thaishape.cs
- XmlCharCheckingWriter.cs
- Int64KeyFrameCollection.cs
- CharKeyFrameCollection.cs
- DataTableMapping.cs
- BlockExpression.cs
- SystemResources.cs
- View.cs
- MasterPageBuildProvider.cs
- QueryAccessibilityHelpEvent.cs
- XmlSchemaDocumentation.cs
- SpeechSeg.cs
- TextBreakpoint.cs
- Separator.cs
- DictionaryEntry.cs
- OpenFileDialog.cs
- CfgParser.cs
- HeaderUtility.cs
- StringFunctions.cs
- SendKeys.cs
- MediaElementAutomationPeer.cs
- BaseConfigurationRecord.cs
- DefaultTextStore.cs
- XmlSchemaInclude.cs
- CodeSnippetTypeMember.cs
- EntityDataSourceContextCreatingEventArgs.cs
- PolygonHotSpot.cs
- LocatorBase.cs
- GetKeyedHashRequest.cs
- ScopedMessagePartSpecification.cs
- ToolStripItemDesigner.cs
- EpmTargetTree.cs
- JournalEntryStack.cs
- WebBrowserPermission.cs
- ModuleElement.cs