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
- CodeGeneratorOptions.cs
- DecimalConstantAttribute.cs
- KeyConverter.cs
- CapabilitiesRule.cs
- AgileSafeNativeMemoryHandle.cs
- UnauthorizedAccessException.cs
- DataRowCollection.cs
- XsdBuildProvider.cs
- DiagnosticsConfigurationHandler.cs
- MaskedTextProvider.cs
- SqlCacheDependency.cs
- NetworkAddressChange.cs
- SemanticTag.cs
- AnnotationComponentChooser.cs
- WebBrowserSiteBase.cs
- PrinterUnitConvert.cs
- ErasingStroke.cs
- ArrayTypeMismatchException.cs
- TypeUtil.cs
- MenuItem.cs
- TransformValueSerializer.cs
- CodeMemberEvent.cs
- MenuAdapter.cs
- Zone.cs
- COSERVERINFO.cs
- XmlTextWriter.cs
- DateTime.cs
- Model3DCollection.cs
- DispatcherObject.cs
- MasterPageParser.cs
- SiteMapDataSourceView.cs
- RoutedEventConverter.cs
- ContentType.cs
- BinaryMethodMessage.cs
- MapPathBasedVirtualPathProvider.cs
- MaskPropertyEditor.cs
- AttachedPropertyMethodSelector.cs
- HttpFileCollectionWrapper.cs
- XmlNodeReader.cs
- DataSpaceManager.cs
- XPathNodeIterator.cs
- Invariant.cs
- CommandValueSerializer.cs
- PersianCalendar.cs
- HtmlInputText.cs
- PermissionListSet.cs
- DbParameterCollectionHelper.cs
- XmlNullResolver.cs
- IWorkflowDebuggerService.cs
- MarginsConverter.cs
- SchemaType.cs
- CompositeFontFamily.cs
- coordinatorfactory.cs
- Path.cs
- DataFormats.cs
- NullExtension.cs
- SoapFormatter.cs
- EntityChangedParams.cs
- ListViewAutomationPeer.cs
- ClockGroup.cs
- TextOptionsInternal.cs
- CompModHelpers.cs
- StoreAnnotationsMap.cs
- SizeConverter.cs
- IdentitySection.cs
- Comparer.cs
- glyphs.cs
- AsymmetricAlgorithm.cs
- GridViewAutomationPeer.cs
- hresults.cs
- CustomAttributeBuilder.cs
- GenerateScriptTypeAttribute.cs
- CombinedGeometry.cs
- CharEnumerator.cs
- DisplayInformation.cs
- PageAdapter.cs
- MarkupCompiler.cs
- HttpRequest.cs
- EventData.cs
- IdentifierService.cs
- DoubleStorage.cs
- RuleSettingsCollection.cs
- SplitterCancelEvent.cs
- ThreadStateException.cs
- ProfileManager.cs
- ComponentResourceKey.cs
- WindowsSolidBrush.cs
- ProfileManager.cs
- OdbcEnvironment.cs
- QilChoice.cs
- EntityContainer.cs
- Formatter.cs
- ExpressionParser.cs
- ConfigurationElement.cs
- SubtreeProcessor.cs
- securestring.cs
- BasicHttpBindingCollectionElement.cs
- RoutingSection.cs
- ClientUtils.cs
- Descriptor.cs