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
- ElementUtil.cs
- LogFlushAsyncResult.cs
- ProviderCollection.cs
- PeerNearMe.cs
- EncryptedReference.cs
- WinEventQueueItem.cs
- CommandConverter.cs
- SqlInternalConnectionSmi.cs
- ADMembershipUser.cs
- DictationGrammar.cs
- FunctionGenerator.cs
- VisualTreeUtils.cs
- FixedPageProcessor.cs
- ConnectionString.cs
- EventSourceCreationData.cs
- WebPartManagerDesigner.cs
- ConfigurationLockCollection.cs
- WebPartConnectionsConfigureVerb.cs
- ItemMap.cs
- SafeTimerHandle.cs
- DesignerFrame.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- NameSpaceExtractor.cs
- ListControl.cs
- ExpressionConverter.cs
- ConstraintEnumerator.cs
- PublisherIdentityPermission.cs
- ConnectionPointCookie.cs
- WebSysDisplayNameAttribute.cs
- IteratorFilter.cs
- XmlSchemaType.cs
- Application.cs
- WSHttpBinding.cs
- EventQueueState.cs
- BindingCollection.cs
- ChangePassword.cs
- CodeTryCatchFinallyStatement.cs
- Transform3D.cs
- Journaling.cs
- MexHttpBindingCollectionElement.cs
- Process.cs
- EventLogLink.cs
- ContentControl.cs
- DebugView.cs
- TemplateNameScope.cs
- MSHTMLHostUtil.cs
- EpmSyndicationContentSerializer.cs
- HtmlImage.cs
- URL.cs
- OutputScopeManager.cs
- Application.cs
- RequestCachingSection.cs
- PrintDialogException.cs
- NumericPagerField.cs
- ImageKeyConverter.cs
- ScrollContentPresenter.cs
- ByteConverter.cs
- DummyDataSource.cs
- MethodBuilderInstantiation.cs
- RenderData.cs
- PipelineModuleStepContainer.cs
- SafeNativeMethods.cs
- KnownTypesProvider.cs
- PreProcessor.cs
- AsymmetricSignatureFormatter.cs
- DesignerAutoFormatCollection.cs
- TreeNodeMouseHoverEvent.cs
- HttpConfigurationSystem.cs
- TextDecorationLocationValidation.cs
- DesignerWidgets.cs
- OdbcConnectionOpen.cs
- EntryIndex.cs
- PersonalizationProviderCollection.cs
- VisualBrush.cs
- ClientOptions.cs
- UnsafeNativeMethodsTablet.cs
- FtpRequestCacheValidator.cs
- ChameleonKey.cs
- SecurityManager.cs
- DBDataPermissionAttribute.cs
- FileDialogCustomPlace.cs
- TextElementCollectionHelper.cs
- RegexRunnerFactory.cs
- HTTPNotFoundHandler.cs
- PerfCounters.cs
- NativeWindow.cs
- CircleHotSpot.cs
- ProviderException.cs
- MembershipSection.cs
- EncryptedPackageFilter.cs
- BindingMemberInfo.cs
- Membership.cs
- NetCodeGroup.cs
- InfocardExtendedInformationEntry.cs
- MetadataArtifactLoader.cs
- DataGridViewButtonCell.cs
- HtmlTable.cs
- ToolStripContentPanelDesigner.cs
- AdornerHitTestResult.cs
- ETagAttribute.cs