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
- XPathAncestorIterator.cs
- OpCodes.cs
- WebBodyFormatMessageProperty.cs
- KeyedHashAlgorithm.cs
- ErrorActivity.cs
- XPathDocumentNavigator.cs
- DataGridViewCellStateChangedEventArgs.cs
- EntityCollection.cs
- BackStopAuthenticationModule.cs
- ContainerControl.cs
- StringHelper.cs
- BooleanKeyFrameCollection.cs
- DateTimeValueSerializerContext.cs
- ObjectStateManager.cs
- QueryAccessibilityHelpEvent.cs
- HandleExceptionArgs.cs
- PartitionerQueryOperator.cs
- DynamicValueConverter.cs
- ScrollBar.cs
- PassportPrincipal.cs
- ProfilePropertySettingsCollection.cs
- DataServiceHostWrapper.cs
- ConfigWriter.cs
- LinqDataSourceDisposeEventArgs.cs
- OleDbError.cs
- SqlTriggerAttribute.cs
- ManifestResourceInfo.cs
- TemplateModeChangedEventArgs.cs
- CodeMemberProperty.cs
- DataControlReference.cs
- SqlServer2KCompatibilityCheck.cs
- ChangeNode.cs
- SerializationSectionGroup.cs
- TransformCryptoHandle.cs
- mda.cs
- AspCompat.cs
- GlobalAclOperationRequirement.cs
- CodeParameterDeclarationExpressionCollection.cs
- SqlBooleanizer.cs
- CodeExpressionCollection.cs
- _CookieModule.cs
- DynamicDocumentPaginator.cs
- TextPointerBase.cs
- RangeContentEnumerator.cs
- TCPListener.cs
- _NetworkingPerfCounters.cs
- BamlResourceDeserializer.cs
- SafeSecurityHelper.cs
- PageHandlerFactory.cs
- DefinitionUpdate.cs
- DesignerPerfEventProvider.cs
- StringFunctions.cs
- Scene3D.cs
- Options.cs
- ListenerHandler.cs
- RewritingPass.cs
- CapabilitiesRule.cs
- ConstantSlot.cs
- AdRotator.cs
- UrlPath.cs
- EditableRegion.cs
- VersionPair.cs
- HtmlInputPassword.cs
- FixedTextView.cs
- IssuedTokenServiceElement.cs
- HierarchicalDataBoundControl.cs
- TypeContext.cs
- RegisteredDisposeScript.cs
- IdentifierService.cs
- QuestionEventArgs.cs
- ScaleTransform3D.cs
- RootProfilePropertySettingsCollection.cs
- RegisterResponseInfo.cs
- SourceInterpreter.cs
- AstNode.cs
- DispatcherHookEventArgs.cs
- Event.cs
- TextCompositionManager.cs
- AmbientLight.cs
- XslNumber.cs
- SQLInt16Storage.cs
- BoundColumn.cs
- ParagraphVisual.cs
- Crypto.cs
- FixedPosition.cs
- RenderOptions.cs
- StringValueConverter.cs
- CatalogPartChrome.cs
- GenerateHelper.cs
- DescendantBaseQuery.cs
- XPathArrayIterator.cs
- FontUnitConverter.cs
- RemotingException.cs
- ConfigurationSchemaErrors.cs
- SqlBooleanMismatchVisitor.cs
- HuffCodec.cs
- ScrollData.cs
- MatchAttribute.cs
- ResolvedKeyFrameEntry.cs
- XmlArrayItemAttribute.cs