Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MethodAccessException.cs
- TypeSystem.cs
- SingleObjectCollection.cs
- ConsumerConnectionPointCollection.cs
- OleDbSchemaGuid.cs
- RuleRef.cs
- WebPartMenuStyle.cs
- HTTPRemotingHandler.cs
- CachedPathData.cs
- StringFunctions.cs
- StrokeDescriptor.cs
- InvokeWebService.cs
- AttributeData.cs
- HScrollProperties.cs
- TextSelectionHelper.cs
- UriTemplateClientFormatter.cs
- BooleanExpr.cs
- CatalogPartCollection.cs
- Rotation3DKeyFrameCollection.cs
- PathSegmentCollection.cs
- StringUtil.cs
- PositiveTimeSpanValidatorAttribute.cs
- PersonalizationProvider.cs
- MonitoringDescriptionAttribute.cs
- RegexReplacement.cs
- XmlCompatibilityReader.cs
- SearchForVirtualItemEventArgs.cs
- LinqDataSourceDisposeEventArgs.cs
- HandlerMappingMemo.cs
- Comparer.cs
- StyleSelector.cs
- OutputScopeManager.cs
- ColumnResizeAdorner.cs
- NumberEdit.cs
- ErrorProvider.cs
- XomlSerializationHelpers.cs
- UICuesEvent.cs
- VisualStyleTypesAndProperties.cs
- ObjectIDGenerator.cs
- CaseInsensitiveOrdinalStringComparer.cs
- MasterPageParser.cs
- ContainerParagraph.cs
- Timer.cs
- WorkflowDebuggerSteppingAttribute.cs
- RuleProcessor.cs
- SchemaNamespaceManager.cs
- mediaeventshelper.cs
- VoiceSynthesis.cs
- Screen.cs
- Control.cs
- BinarySerializer.cs
- CalendarAutoFormatDialog.cs
- OverflowException.cs
- HotCommands.cs
- ItemPager.cs
- StreamGeometry.cs
- BitmapMetadataBlob.cs
- ApplicationManager.cs
- CatalogZone.cs
- _CommandStream.cs
- PersonalizationProvider.cs
- TreeNodeStyleCollection.cs
- ProviderMetadataCachedInformation.cs
- DataServiceHost.cs
- AttributeSetAction.cs
- MimeTypePropertyAttribute.cs
- GridItem.cs
- TimersDescriptionAttribute.cs
- ResourceReader.cs
- ListViewGroup.cs
- XmlAttributeProperties.cs
- JpegBitmapEncoder.cs
- TextBoxLine.cs
- GenericTextProperties.cs
- DateTimeValueSerializer.cs
- HttpHandlerAction.cs
- PageParser.cs
- ProxyHelper.cs
- GraphicsState.cs
- IISUnsafeMethods.cs
- HttpConfigurationContext.cs
- SynchronizationValidator.cs
- Trace.cs
- XmlAttributeAttribute.cs
- StateDesigner.TransitionInfo.cs
- AuthenticationModuleElementCollection.cs
- FixedStringLookup.cs
- XamlBrushSerializer.cs
- ListCollectionView.cs
- SystemEvents.cs
- ColorMap.cs
- ToolStripButton.cs
- ItemCheckEvent.cs
- TraceListeners.cs
- SynchronizationLockException.cs
- SystemKeyConverter.cs
- VectorConverter.cs
- MaskDesignerDialog.cs
- TitleStyle.cs
- SqlProcedureAttribute.cs