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
- NetDataContractSerializer.cs
- ExpressionReplacer.cs
- ByeOperation11AsyncResult.cs
- oledbconnectionstring.cs
- HttpVersion.cs
- CompositeActivityTypeDescriptorProvider.cs
- MethodExpr.cs
- odbcmetadatacollectionnames.cs
- Method.cs
- XNodeNavigator.cs
- EditingMode.cs
- ForceCopyBuildProvider.cs
- BoolExpr.cs
- PersistChildrenAttribute.cs
- ColorConverter.cs
- SimpleHandlerBuildProvider.cs
- WizardSideBarListControlItem.cs
- TreeNodeBinding.cs
- WorkerRequest.cs
- HttpCacheVaryByContentEncodings.cs
- Table.cs
- VirtualPath.cs
- Process.cs
- SkewTransform.cs
- DataControlField.cs
- QueryCacheManager.cs
- ObjectTag.cs
- XmlSerializerAssemblyAttribute.cs
- Socket.cs
- CmsInterop.cs
- AdornerHitTestResult.cs
- ApplicationBuildProvider.cs
- SynchronizedDisposablePool.cs
- ThreadPool.cs
- ControlCollection.cs
- SerializationInfo.cs
- NamedElement.cs
- DataSourceConverter.cs
- MetadataHelper.cs
- FormsAuthenticationEventArgs.cs
- BitmapScalingModeValidation.cs
- TextFormatter.cs
- InkCollectionBehavior.cs
- PropertyValueUIItem.cs
- XPathArrayIterator.cs
- KeyValuePairs.cs
- ClientType.cs
- QueryCacheManager.cs
- FlowNode.cs
- CqlLexerHelpers.cs
- ClientConvert.cs
- StrongTypingException.cs
- PolygonHotSpot.cs
- _TimerThread.cs
- Polyline.cs
- SqlRowUpdatedEvent.cs
- PointHitTestResult.cs
- ModelService.cs
- ObjectDataSourceFilteringEventArgs.cs
- ImageCollectionCodeDomSerializer.cs
- DataSetViewSchema.cs
- ListViewTableCell.cs
- AccessDataSource.cs
- Annotation.cs
- HeaderElement.cs
- DrawingImage.cs
- SQLBinaryStorage.cs
- RuleInfoComparer.cs
- SettingsPropertyValueCollection.cs
- RouteParameter.cs
- MailMessageEventArgs.cs
- TextRangeEdit.cs
- DataColumnChangeEvent.cs
- DiagnosticSection.cs
- ObjectTypeMapping.cs
- EntityDesignerUtils.cs
- EditBehavior.cs
- RIPEMD160.cs
- PageFunction.cs
- ResourceBinder.cs
- InternalPolicyElement.cs
- GridViewRowPresenter.cs
- ForwardPositionQuery.cs
- BaseDataList.cs
- DataGridCellsPanel.cs
- Application.cs
- PublishLicense.cs
- XmlEventCache.cs
- NativeCppClassAttribute.cs
- ActivationServices.cs
- LocationSectionRecord.cs
- SiteMapNodeItemEventArgs.cs
- DPCustomTypeDescriptor.cs
- SafeRegistryHandle.cs
- Keywords.cs
- LocalizationCodeDomSerializer.cs
- MarkerProperties.cs
- DataGridColumnCollection.cs
- InstanceCreationEditor.cs
- webeventbuffer.cs