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
- ViewCellSlot.cs
- CommentEmitter.cs
- WindowsStatusBar.cs
- XMLUtil.cs
- UnSafeCharBuffer.cs
- WinFormsUtils.cs
- IdentityHolder.cs
- ScrollChangedEventArgs.cs
- Crypto.cs
- InputLanguageCollection.cs
- TreeChangeInfo.cs
- AspNetSynchronizationContext.cs
- GridView.cs
- Label.cs
- QilPatternFactory.cs
- KnownTypeAttribute.cs
- GeneralTransformGroup.cs
- MenuAdapter.cs
- ClientScriptManagerWrapper.cs
- XamlTreeBuilder.cs
- BaseDataListDesigner.cs
- SpeechSynthesizer.cs
- CqlQuery.cs
- ClientProxyGenerator.cs
- DataControlFieldCollection.cs
- AddInControllerImpl.cs
- ReadContentAsBinaryHelper.cs
- HWStack.cs
- HtmlAnchor.cs
- WebBrowserNavigatedEventHandler.cs
- ConfigurationProperty.cs
- TableRow.cs
- BitHelper.cs
- XmlUtil.cs
- XmlReaderSettings.cs
- DataGridViewCellStyleChangedEventArgs.cs
- QualifiedCellIdBoolean.cs
- ZipIOExtraFieldZip64Element.cs
- CssStyleCollection.cs
- RealProxy.cs
- AdapterDictionary.cs
- ModulesEntry.cs
- XsltSettings.cs
- MetadataItemEmitter.cs
- AdapterUtil.cs
- Array.cs
- JsonDeserializer.cs
- DurableRuntimeValidator.cs
- Int32CollectionValueSerializer.cs
- StringSource.cs
- UIAgentAsyncParams.cs
- WindowExtensionMethods.cs
- CompatibleComparer.cs
- MultiDataTrigger.cs
- BoundingRectTracker.cs
- PrinterSettings.cs
- FixedTextView.cs
- fixedPageContentExtractor.cs
- XmlNamedNodeMap.cs
- SvcMapFileLoader.cs
- BaseDataBoundControl.cs
- DataControlCommands.cs
- StylusPointPropertyInfoDefaults.cs
- TraceUtils.cs
- BrowserTree.cs
- InfoCardBaseException.cs
- XmlElementCollection.cs
- x509store.cs
- NativeMethodsOther.cs
- DataBindingList.cs
- ContainerParagraph.cs
- mediapermission.cs
- XhtmlBasicListAdapter.cs
- ByteConverter.cs
- HttpProfileBase.cs
- ScrollBarRenderer.cs
- CodeTypeReferenceExpression.cs
- BulletedListEventArgs.cs
- Lazy.cs
- TargetControlTypeCache.cs
- DataIdProcessor.cs
- TypeConverter.cs
- TextureBrush.cs
- CompilerState.cs
- ButtonBase.cs
- AmbientLight.cs
- SessionStateUtil.cs
- ColumnMapTranslator.cs
- TextWriterEngine.cs
- TemplateBindingExtensionConverter.cs
- UnmanagedMemoryAccessor.cs
- RenderContext.cs
- StringValidator.cs
- ShaperBuffers.cs
- ProcessDesigner.cs
- BitmapInitialize.cs
- SmtpMail.cs
- XmlEventCache.cs
- BamlLocalizabilityResolver.cs
- DataColumnChangeEvent.cs