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
- DesignerRegionMouseEventArgs.cs
- XmlSchemaAppInfo.cs
- GACMembershipCondition.cs
- UrlPropertyAttribute.cs
- Dynamic.cs
- ContentElement.cs
- RevocationPoint.cs
- SemanticBasicElement.cs
- DataGridViewDataConnection.cs
- DtrList.cs
- VirtualPathUtility.cs
- KeyPressEvent.cs
- StickyNoteHelper.cs
- FormViewDeleteEventArgs.cs
- hwndwrapper.cs
- IOThreadScheduler.cs
- NativeMethods.cs
- ItemsChangedEventArgs.cs
- MaterialCollection.cs
- EmptyElement.cs
- Random.cs
- Size.cs
- ServiceDocument.cs
- ClassValidator.cs
- TypeUsageBuilder.cs
- StrokeNodeEnumerator.cs
- UInt32.cs
- Timer.cs
- UTF7Encoding.cs
- UnescapedXmlDiagnosticData.cs
- ReflectionTypeLoadException.cs
- XmlSchemaComplexContentExtension.cs
- MultiPageTextView.cs
- SqlDataSourceConfigureFilterForm.cs
- PostBackOptions.cs
- DataGridViewRowPostPaintEventArgs.cs
- ObjectComplexPropertyMapping.cs
- WebDisplayNameAttribute.cs
- AssemblyBuilderData.cs
- TypedElement.cs
- PropertySegmentSerializer.cs
- SwitchLevelAttribute.cs
- EndpointIdentity.cs
- DBSchemaTable.cs
- WebPartConnectionsDisconnectVerb.cs
- InheritablePropertyChangeInfo.cs
- LockRecursionException.cs
- InstanceCreationEditor.cs
- ActiveXSite.cs
- ByteStream.cs
- OperatingSystem.cs
- TempEnvironment.cs
- UnmanagedBitmapWrapper.cs
- RectangleF.cs
- StrokeCollectionConverter.cs
- ZipIOCentralDirectoryBlock.cs
- XmlWellformedWriter.cs
- DataGridViewRowCollection.cs
- Cursors.cs
- HeaderedContentControl.cs
- SelectionChangedEventArgs.cs
- CodeComment.cs
- SqlDataSourceView.cs
- Point4DValueSerializer.cs
- ComNativeDescriptor.cs
- ServiceDescription.cs
- SyndicationSerializer.cs
- Mutex.cs
- FormatVersion.cs
- ConfigurationElement.cs
- ListViewGroupItemCollection.cs
- GeometryGroup.cs
- SchemaEntity.cs
- DataSourceHelper.cs
- WsatAdminException.cs
- HtmlEmptyTagControlBuilder.cs
- DataBinder.cs
- StateInitializationDesigner.cs
- Lease.cs
- NetworkInterface.cs
- BaseTreeIterator.cs
- TextSpanModifier.cs
- EncoderExceptionFallback.cs
- SelectionEditingBehavior.cs
- DispatchRuntime.cs
- CodeGen.cs
- PropertyValueChangedEvent.cs
- GeometryModel3D.cs
- X509Certificate.cs
- CompilerWrapper.cs
- TransformerInfo.cs
- Selector.cs
- ItemChangedEventArgs.cs
- HttpRequestWrapper.cs
- BoundsDrawingContextWalker.cs
- SessionIDManager.cs
- LicenseContext.cs
- ToolbarAUtomationPeer.cs
- CustomAttributeSerializer.cs
- XmlIlGenerator.cs