Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NameValueCollection.cs
- ParameterModifier.cs
- HandledEventArgs.cs
- ViewManager.cs
- AlphabetConverter.cs
- OpCodes.cs
- XmlnsPrefixAttribute.cs
- TimeEnumHelper.cs
- NativeMethods.cs
- MenuEventArgs.cs
- DragDrop.cs
- CollectionsUtil.cs
- SponsorHelper.cs
- PointAnimation.cs
- TextStore.cs
- EventData.cs
- IResourceProvider.cs
- XpsFixedPageReaderWriter.cs
- ZipIOFileItemStream.cs
- WebBrowserNavigatingEventHandler.cs
- LinkClickEvent.cs
- TraceContextEventArgs.cs
- ScrollEvent.cs
- CqlParser.cs
- BaseInfoTable.cs
- GlyphCache.cs
- Stack.cs
- EventListener.cs
- HitTestParameters3D.cs
- StreamSecurityUpgradeProvider.cs
- DispatcherObject.cs
- RootDesignerSerializerAttribute.cs
- BooleanAnimationUsingKeyFrames.cs
- OuterGlowBitmapEffect.cs
- CompilerError.cs
- TreeNodeStyle.cs
- MemberInfoSerializationHolder.cs
- CmsUtils.cs
- ContentType.cs
- ToolStripOverflowButton.cs
- Stack.cs
- CompilationSection.cs
- FlowLayout.cs
- CellParagraph.cs
- OLEDB_Enum.cs
- SelectionItemProviderWrapper.cs
- PeerDefaultCustomResolverClient.cs
- AtomServiceDocumentSerializer.cs
- HtmlInputReset.cs
- ValidationUtility.cs
- Drawing.cs
- ValidationEventArgs.cs
- TypeRefElement.cs
- ConfigurationPropertyAttribute.cs
- WebPartTracker.cs
- DESCryptoServiceProvider.cs
- SystemUnicastIPAddressInformation.cs
- ComboBoxItem.cs
- SystemThemeKey.cs
- TreeNodeBinding.cs
- ApplicationFileParser.cs
- BindingExpressionBase.cs
- SafeMILHandle.cs
- CalculatedColumn.cs
- GeometryHitTestParameters.cs
- ThreadInterruptedException.cs
- SharedUtils.cs
- UshortList2.cs
- MapPathBasedVirtualPathProvider.cs
- Int32Animation.cs
- MetadataUtilsSmi.cs
- EntryPointNotFoundException.cs
- ServiceDurableInstance.cs
- RichTextBox.cs
- TypeProvider.cs
- ExpressionBuilder.cs
- DBConcurrencyException.cs
- DataGridViewCellValidatingEventArgs.cs
- RadioButton.cs
- AttachedPropertyBrowsableAttribute.cs
- RelatedEnd.cs
- DataGridState.cs
- FolderBrowserDialog.cs
- DynamicValueConverter.cs
- DocumentGridPage.cs
- ApplicationFileParser.cs
- WinCategoryAttribute.cs
- ObjectItemCachedAssemblyLoader.cs
- SapiRecoContext.cs
- XmlArrayAttribute.cs
- AsyncCallback.cs
- SafeMILHandleMemoryPressure.cs
- WinFormsSpinner.cs
- ProfileParameter.cs
- XhtmlConformanceSection.cs
- BStrWrapper.cs
- Comparer.cs
- Throw.cs
- Base64Decoder.cs
- WebContentFormatHelper.cs