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
- CultureSpecificStringDictionary.cs
- DataServiceException.cs
- CustomExpression.cs
- FolderBrowserDialog.cs
- FormViewInsertEventArgs.cs
- RequestTimeoutManager.cs
- PerfCounterSection.cs
- ContextStack.cs
- TraceHelpers.cs
- ListViewDeletedEventArgs.cs
- EntityTransaction.cs
- QueryCacheEntry.cs
- Scene3D.cs
- SafeBitVector32.cs
- DataGridColumnHeaderAutomationPeer.cs
- DataSpaceManager.cs
- WrappedIUnknown.cs
- OdbcConnectionOpen.cs
- SizeConverter.cs
- HttpCapabilitiesBase.cs
- TextLine.cs
- HijriCalendar.cs
- DataTableReaderListener.cs
- ResourceIDHelper.cs
- CharacterMetrics.cs
- ModelFunction.cs
- CatalogPartCollection.cs
- ErrorHandler.cs
- UnicodeEncoding.cs
- ProfilePropertyNameValidator.cs
- mediaeventargs.cs
- XMLDiffLoader.cs
- EnumDataContract.cs
- XmlHierarchyData.cs
- StylusPointProperties.cs
- PublisherIdentityPermission.cs
- DiscriminatorMap.cs
- DataGridItemCollection.cs
- LinearGradientBrush.cs
- COM2ColorConverter.cs
- DependencyObject.cs
- Camera.cs
- VersionPair.cs
- TextServicesManager.cs
- DeviceFilterDictionary.cs
- LinkArea.cs
- controlskin.cs
- WinFormsSpinner.cs
- OleDbSchemaGuid.cs
- LoginUtil.cs
- TreeNodeEventArgs.cs
- ListBindingConverter.cs
- CodeAttributeDeclaration.cs
- FontNamesConverter.cs
- ProcessHostFactoryHelper.cs
- DefaultHttpHandler.cs
- ResXResourceWriter.cs
- SecurityDescriptor.cs
- StateBag.cs
- EventProxy.cs
- WpfPayload.cs
- UnhandledExceptionEventArgs.cs
- CategoryAttribute.cs
- CryptoHelper.cs
- Attributes.cs
- NativeMethods.cs
- CharacterShapingProperties.cs
- FusionWrap.cs
- PenContext.cs
- ToolBarPanel.cs
- TcpTransportBindingElement.cs
- DesignerSerializationVisibilityAttribute.cs
- CatalogZone.cs
- ColumnMapVisitor.cs
- PagesChangedEventArgs.cs
- TreeView.cs
- GenericEnumerator.cs
- WorkflowPageSetupDialog.cs
- TypeRestriction.cs
- PointLight.cs
- Types.cs
- ConstraintEnumerator.cs
- ListSourceHelper.cs
- FixedTextSelectionProcessor.cs
- ContentPropertyAttribute.cs
- FacetEnabledSchemaElement.cs
- DataBoundControlParameterTarget.cs
- Drawing.cs
- UnsafeNativeMethods.cs
- BooleanAnimationBase.cs
- DecoratedNameAttribute.cs
- HtmlTextArea.cs
- DataGridPageChangedEventArgs.cs
- FunctionNode.cs
- DataGridViewImageCell.cs
- Metadata.cs
- EntityDataSourceSelectedEventArgs.cs
- SecurityElement.cs
- TextBoxRenderer.cs
- EntityDataSourceContextCreatingEventArgs.cs