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
- DataColumnMapping.cs
- ButtonFlatAdapter.cs
- Point3DCollectionConverter.cs
- TdsEnums.cs
- DataSourceXmlElementAttribute.cs
- LineServicesCallbacks.cs
- BlockUIContainer.cs
- BaseValidator.cs
- ListItemParagraph.cs
- InternalEnumValidatorAttribute.cs
- XmlILAnnotation.cs
- securestring.cs
- SerializationException.cs
- COM2ICategorizePropertiesHandler.cs
- APCustomTypeDescriptor.cs
- KnownTypeHelper.cs
- Subtree.cs
- ExpressionVisitor.cs
- SqlConnectionManager.cs
- RegexCompilationInfo.cs
- ComponentChangingEvent.cs
- RSACryptoServiceProvider.cs
- WebExceptionStatus.cs
- cookiecollection.cs
- FlowLayoutPanel.cs
- ToolBarButton.cs
- IntPtr.cs
- CollectionConverter.cs
- DnsPermission.cs
- Calendar.cs
- DataGridViewRowCancelEventArgs.cs
- SqlStream.cs
- DataGridBoolColumn.cs
- DataListItemCollection.cs
- SelectionGlyph.cs
- FormViewPageEventArgs.cs
- FileUpload.cs
- EncryptedXml.cs
- SqlVisitor.cs
- OperandQuery.cs
- Table.cs
- VScrollBar.cs
- SpeechSeg.cs
- Exceptions.cs
- ConnectionStringSettingsCollection.cs
- SkipStoryboardToFill.cs
- EventLogLink.cs
- EmptyCollection.cs
- FastPropertyAccessor.cs
- ColorContextHelper.cs
- WebPartsSection.cs
- ApplicationException.cs
- DownloadProgressEventArgs.cs
- MetadataAssemblyHelper.cs
- ZeroOpNode.cs
- CustomCredentialPolicy.cs
- SpanIndex.cs
- SqlAliasesReferenced.cs
- HttpInputStream.cs
- DecimalKeyFrameCollection.cs
- SchemaImporterExtensionElement.cs
- TrackBarDesigner.cs
- ProfileSection.cs
- XmlSchemaInferenceException.cs
- XmlUrlResolver.cs
- RtfControls.cs
- FileVersionInfo.cs
- PrintController.cs
- BroadcastEventHelper.cs
- BamlTreeUpdater.cs
- EnterpriseServicesHelper.cs
- ListSourceHelper.cs
- ErrorTableItemStyle.cs
- ConstantCheck.cs
- COM2Properties.cs
- MetaTableHelper.cs
- infer.cs
- ImpersonationContext.cs
- ProxyWebPartConnectionCollection.cs
- ProcessModule.cs
- Bind.cs
- XXXOnTypeBuilderInstantiation.cs
- BuildManager.cs
- SoapClientProtocol.cs
- SystemException.cs
- RayMeshGeometry3DHitTestResult.cs
- EventHandlersDesigner.cs
- WebPartUtil.cs
- ToolStripSplitStackLayout.cs
- SqlBuffer.cs
- CodeThrowExceptionStatement.cs
- ClonableStack.cs
- OdbcConnectionOpen.cs
- MouseEventArgs.cs
- SendActivity.cs
- FixedStringLookup.cs
- CodeDomConfigurationHandler.cs
- MarkupCompilePass1.cs
- XmlCodeExporter.cs
- CancelEventArgs.cs