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
- ColorContext.cs
- MSAAEventDispatcher.cs
- EntityUtil.cs
- ScriptingAuthenticationServiceSection.cs
- MatrixKeyFrameCollection.cs
- PrivilegeNotHeldException.cs
- ConstraintCollection.cs
- ItemCheckedEvent.cs
- WpfGeneratedKnownTypes.cs
- CommandDevice.cs
- Queue.cs
- ResourceReader.cs
- MonthCalendar.cs
- LineBreak.cs
- basenumberconverter.cs
- CalendarDateRange.cs
- IPCCacheManager.cs
- UserControlCodeDomTreeGenerator.cs
- DataStorage.cs
- PropertyStore.cs
- CfgParser.cs
- MemoryPressure.cs
- ConnectionStringsExpressionBuilder.cs
- TreeBuilderXamlTranslator.cs
- CodeDOMUtility.cs
- SystemKeyConverter.cs
- AccessDataSourceView.cs
- GridViewSelectEventArgs.cs
- FontFamily.cs
- SchemaCollectionCompiler.cs
- CopyEncoder.cs
- IisTraceWebEventProvider.cs
- WebPartsSection.cs
- IndependentAnimationStorage.cs
- ForeignKeyConstraint.cs
- WorkerRequest.cs
- FrameworkContentElement.cs
- OdbcError.cs
- PrintDialogDesigner.cs
- DemultiplexingDispatchMessageFormatter.cs
- StaticDataManager.cs
- ClientBuildManager.cs
- DelegateTypeInfo.cs
- BitSet.cs
- DoubleConverter.cs
- SqlUtils.cs
- NamespaceQuery.cs
- SoapSchemaExporter.cs
- RegistrationServices.cs
- Int16AnimationBase.cs
- Tokenizer.cs
- HebrewNumber.cs
- VisualBrush.cs
- AutomationEvent.cs
- KnowledgeBase.cs
- Menu.cs
- basemetadatamappingvisitor.cs
- WebPartExportVerb.cs
- PathStreamGeometryContext.cs
- NamespaceList.cs
- TransactionsSectionGroup.cs
- ExtentCqlBlock.cs
- GenericAuthenticationEventArgs.cs
- DateTimeFormatInfo.cs
- FontWeightConverter.cs
- PictureBoxDesigner.cs
- TerminateDesigner.cs
- BuildManagerHost.cs
- ClientSettingsStore.cs
- CancelEventArgs.cs
- Win32.cs
- ExpressionBindings.cs
- SqlDataSource.cs
- SectionUpdates.cs
- DbConnectionFactory.cs
- SoapObjectWriter.cs
- CollectionEditVerbManager.cs
- CommonProperties.cs
- XmlMembersMapping.cs
- HyperLinkDesigner.cs
- DiscoveryExceptionDictionary.cs
- ServiceHttpModule.cs
- SqlBooleanizer.cs
- UserNamePasswordValidator.cs
- SmuggledIUnknown.cs
- NullRuntimeConfig.cs
- AxParameterData.cs
- FormViewInsertedEventArgs.cs
- DataPagerFieldCollection.cs
- XmlSecureResolver.cs
- LocatorGroup.cs
- TextBoxView.cs
- ListControlConvertEventArgs.cs
- RowVisual.cs
- RelationshipEndMember.cs
- Win32SafeHandles.cs
- AttributeData.cs
- TextElementEnumerator.cs
- SuppressMessageAttribute.cs
- EntityDataSourceContainerNameItem.cs