Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewSortCompareEventArgs.cs / 1305376 / 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
- FileAuthorizationModule.cs
- XmlChildNodes.cs
- WrappedKeySecurityTokenParameters.cs
- X500Name.cs
- SerialPort.cs
- PseudoWebRequest.cs
- RangeBaseAutomationPeer.cs
- RequestTimeoutManager.cs
- HtmlInputButton.cs
- WebPageTraceListener.cs
- MemberAccessException.cs
- XDRSchema.cs
- AppDomainProtocolHandler.cs
- IsolatedStoragePermission.cs
- NativeMethods.cs
- TargetException.cs
- DbUpdateCommandTree.cs
- ByteStream.cs
- RootNamespaceAttribute.cs
- CurrentChangingEventManager.cs
- QilGenerator.cs
- ClientTargetSection.cs
- MailMessageEventArgs.cs
- userdatakeys.cs
- UrlMappingsModule.cs
- WindowsSysHeader.cs
- TextBoxView.cs
- CharAnimationUsingKeyFrames.cs
- WebBrowsableAttribute.cs
- HMACSHA1.cs
- QueueProcessor.cs
- EdmProviderManifest.cs
- ActionMessageFilterTable.cs
- SqlCacheDependencyDatabaseCollection.cs
- DataRowComparer.cs
- GenericUI.cs
- LinqDataSourceDeleteEventArgs.cs
- ReturnType.cs
- ForceCopyBuildProvider.cs
- QueryContinueDragEventArgs.cs
- MatrixAnimationUsingPath.cs
- DependencySource.cs
- WsdlBuildProvider.cs
- DiagnosticTraceSource.cs
- RuntimeResourceSet.cs
- Input.cs
- BindingElement.cs
- NameNode.cs
- HostedHttpContext.cs
- SecurityRuntime.cs
- SoapAttributeAttribute.cs
- IdentityValidationException.cs
- VisualStyleRenderer.cs
- Delegate.cs
- DataBoundControlAdapter.cs
- AppDomainProtocolHandler.cs
- SimpleTableProvider.cs
- XPathCompileException.cs
- ReadOnlyDataSource.cs
- TypeReference.cs
- InvokeGenerator.cs
- OdbcEnvironmentHandle.cs
- NullableFloatAverageAggregationOperator.cs
- AudioLevelUpdatedEventArgs.cs
- ServicePoint.cs
- Types.cs
- SocketCache.cs
- WebReferenceOptions.cs
- RadioButtonBaseAdapter.cs
- TextEffect.cs
- unsafeIndexingFilterStream.cs
- PersonalizationProvider.cs
- querybuilder.cs
- ActivityCodeGenerator.cs
- VScrollProperties.cs
- DiscoveryCallbackBehavior.cs
- WebPartCatalogCloseVerb.cs
- PageHandlerFactory.cs
- ConnectionPointCookie.cs
- thaishape.cs
- SpellCheck.cs
- TypeUtils.cs
- TextRangeEdit.cs
- PathNode.cs
- AttributeEmitter.cs
- EmbeddedMailObjectsCollection.cs
- x509store.cs
- DefaultValueTypeConverter.cs
- OdbcConnectionFactory.cs
- TdsEnums.cs
- DataGridBoolColumn.cs
- hresults.cs
- SmtpNtlmAuthenticationModule.cs
- Options.cs
- AutomationPatternInfo.cs
- RunWorkerCompletedEventArgs.cs
- NamespaceQuery.cs
- AuthorizationRule.cs
- DependencyPropertyConverter.cs
- EntityProxyFactory.cs