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
- HttpCookiesSection.cs
- DataService.cs
- RetrieveVirtualItemEventArgs.cs
- HttpCachePolicyElement.cs
- ChangePasswordDesigner.cs
- EdmFunction.cs
- XsdValidatingReader.cs
- StatusBarAutomationPeer.cs
- ScrollBarAutomationPeer.cs
- SystemPens.cs
- NativeMethods.cs
- KeyValuePairs.cs
- DefaultExpressionVisitor.cs
- FilterQuery.cs
- IncomingWebResponseContext.cs
- FontResourceCache.cs
- ProjectionCamera.cs
- WindowsFormsLinkLabel.cs
- ActiveDocumentEvent.cs
- AnimationException.cs
- ReadContentAsBinaryHelper.cs
- MiniMapControl.xaml.cs
- Inflater.cs
- FormsAuthenticationTicket.cs
- Figure.cs
- sqlser.cs
- Highlights.cs
- TraceLog.cs
- SafeWaitHandle.cs
- DataServiceQuery.cs
- HtmlInputRadioButton.cs
- MaskedTextBoxDesigner.cs
- NameValueCollection.cs
- nulltextcontainer.cs
- TryExpression.cs
- DoneReceivingAsyncResult.cs
- EntityContainerRelationshipSet.cs
- sqlcontext.cs
- InputElement.cs
- AnimationClock.cs
- BuildTopDownAttribute.cs
- UnconditionalPolicy.cs
- SqlTrackingWorkflowInstance.cs
- VoiceInfo.cs
- DataControlFieldHeaderCell.cs
- CustomCategoryAttribute.cs
- BinaryCommonClasses.cs
- precedingquery.cs
- SecurityException.cs
- DrawingGroupDrawingContext.cs
- StateRuntime.cs
- cache.cs
- PersonalizationAdministration.cs
- SQLDateTime.cs
- ReliabilityContractAttribute.cs
- HttpListenerException.cs
- DuplicateMessageDetector.cs
- GlyphManager.cs
- TableLayoutStyleCollection.cs
- ComponentChangingEvent.cs
- LinqToSqlWrapper.cs
- CodeEntryPointMethod.cs
- QilInvoke.cs
- DbDataReader.cs
- PageOutputQuality.cs
- EventPropertyMap.cs
- ObjectStateFormatter.cs
- CommonProperties.cs
- PropertyNames.cs
- ViewBox.cs
- CodeNamespaceCollection.cs
- TraceListeners.cs
- VectorAnimationBase.cs
- Types.cs
- RoleGroup.cs
- Documentation.cs
- Keywords.cs
- FlowDocumentReader.cs
- DataRowChangeEvent.cs
- TableCell.cs
- RoutedCommand.cs
- DataServiceQueryProvider.cs
- Clipboard.cs
- MarkedHighlightComponent.cs
- Grant.cs
- Oci.cs
- HtmlControlPersistable.cs
- BlobPersonalizationState.cs
- WebServiceErrorEvent.cs
- AmbientProperties.cs
- FlatButtonAppearance.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- DataGridViewMethods.cs
- DBParameter.cs
- ProfileGroupSettingsCollection.cs
- DelimitedListTraceListener.cs
- OpCodes.cs
- PlatformCulture.cs
- KeyValueInternalCollection.cs
- XmlSchemaAll.cs