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
- ApplicationServiceHelper.cs
- AutoCompleteStringCollection.cs
- FormatConvertedBitmap.cs
- PropertyDescriptorCollection.cs
- ByteKeyFrameCollection.cs
- ListBindableAttribute.cs
- InstanceHandleReference.cs
- RtfNavigator.cs
- TrackingConditionCollection.cs
- RelationshipEntry.cs
- SettingsPropertyValueCollection.cs
- ColorTransform.cs
- TextBoxView.cs
- CodeDefaultValueExpression.cs
- CalculatedColumn.cs
- ColumnMapTranslator.cs
- DynamicDocumentPaginator.cs
- WinInetCache.cs
- DebugControllerThread.cs
- SoapTypeAttribute.cs
- XmlSerializationWriter.cs
- AutomationTextAttribute.cs
- SequentialOutput.cs
- QueryHandler.cs
- CommunicationException.cs
- Normalizer.cs
- ComplexLine.cs
- AssemblyAssociatedContentFileAttribute.cs
- IODescriptionAttribute.cs
- WebResourceUtil.cs
- BindingMAnagerBase.cs
- Native.cs
- UpdateManifestForBrowserApplication.cs
- WeakHashtable.cs
- CorrelationService.cs
- RenderData.cs
- GroupItem.cs
- FacetEnabledSchemaElement.cs
- SizeConverter.cs
- ContainerParagraph.cs
- LinkLabel.cs
- ProfileBuildProvider.cs
- ObjectTag.cs
- Util.cs
- DesignerTextViewAdapter.cs
- EndpointDiscoveryMetadataCD1.cs
- DataBoundControlAdapter.cs
- SoapClientProtocol.cs
- FixedDocument.cs
- ClusterSafeNativeMethods.cs
- DefaultBinder.cs
- WindowsTitleBar.cs
- PageThemeCodeDomTreeGenerator.cs
- BrowserCapabilitiesFactoryBase.cs
- PropertyRef.cs
- GridViewPageEventArgs.cs
- RoleManagerSection.cs
- PropertyGrid.cs
- KeyedCollection.cs
- BamlLocalizableResource.cs
- InvokeMethodActivityDesigner.cs
- PageContentCollection.cs
- ListBase.cs
- ConnectionManagementSection.cs
- DbCommandTree.cs
- RelationshipSet.cs
- XmlValidatingReader.cs
- AlgoModule.cs
- Int64AnimationUsingKeyFrames.cs
- SelfIssuedSamlTokenFactory.cs
- ExternalFile.cs
- RectKeyFrameCollection.cs
- InheritanceContextHelper.cs
- Table.cs
- SafeFileMappingHandle.cs
- ReliabilityContractAttribute.cs
- TextDecoration.cs
- HtmlProps.cs
- CornerRadiusConverter.cs
- ScrollEvent.cs
- DrawingCollection.cs
- GACMembershipCondition.cs
- GenericWebPart.cs
- Region.cs
- EmptyControlCollection.cs
- RotateTransform.cs
- RemotingException.cs
- GeometryCollection.cs
- SafeNativeMethods.cs
- DataExpression.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Rijndael.cs
- ReaderWriterLock.cs
- StringToken.cs
- ResourcePermissionBaseEntry.cs
- FixedHyperLink.cs
- BeginGetFileNameFromUserRequest.cs
- CommentAction.cs
- ExtensionQuery.cs
- ConnectionPoolRegistry.cs