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
- MLangCodePageEncoding.cs
- SafePEFileHandle.cs
- BufferedGraphicsContext.cs
- TemplatePartAttribute.cs
- DocumentOrderQuery.cs
- Descriptor.cs
- LinkArea.cs
- HideDisabledControlAdapter.cs
- ConfigXmlCDataSection.cs
- TypeInitializationException.cs
- LambdaCompiler.Logical.cs
- BitConverter.cs
- TableLayoutRowStyleCollection.cs
- ListViewGroupItemCollection.cs
- ExpressionConverter.cs
- PowerModeChangedEventArgs.cs
- XmlAttributeProperties.cs
- XhtmlBasicTextViewAdapter.cs
- ExtractedStateEntry.cs
- XmlChildEnumerator.cs
- HtmlInputSubmit.cs
- WebPartTransformerCollection.cs
- LinkedList.cs
- DllHostedComPlusServiceHost.cs
- StorageAssociationSetMapping.cs
- EntityType.cs
- Console.cs
- FactoryMaker.cs
- FixedFlowMap.cs
- SoapElementAttribute.cs
- FusionWrap.cs
- Matrix.cs
- QuadraticBezierSegment.cs
- DescendantQuery.cs
- LicenseException.cs
- CallbackHandler.cs
- RouteParametersHelper.cs
- URLMembershipCondition.cs
- FixUp.cs
- XmlUtil.cs
- TimeoutException.cs
- ShaderEffect.cs
- MenuAutoFormat.cs
- ProviderConnectionPoint.cs
- SignatureGenerator.cs
- TypographyProperties.cs
- Int64Storage.cs
- LassoHelper.cs
- AssociationType.cs
- HtmlToClrEventProxy.cs
- RolePrincipal.cs
- ControlPaint.cs
- Win32.cs
- MailFileEditor.cs
- OdbcConnectionHandle.cs
- BufferBuilder.cs
- SqlRetyper.cs
- ServicesExceptionNotHandledEventArgs.cs
- ConnectionConsumerAttribute.cs
- FlagsAttribute.cs
- ServiceProviders.cs
- DataGridViewImageColumn.cs
- DeleteMemberBinder.cs
- ConnectionManagementSection.cs
- CustomErrorCollection.cs
- XPathParser.cs
- PerSessionInstanceContextProvider.cs
- JournalEntryListConverter.cs
- TransformGroup.cs
- RoleManagerEventArgs.cs
- ILGen.cs
- SequentialWorkflowRootDesigner.cs
- GZipStream.cs
- KeyInstance.cs
- TransactionBridge.cs
- Effect.cs
- HelloOperationCD1AsyncResult.cs
- DesignerUtility.cs
- ReaderOutput.cs
- LoginView.cs
- PointAnimationUsingKeyFrames.cs
- FilterRepeater.cs
- GradientSpreadMethodValidation.cs
- Binding.cs
- ObjectStateFormatter.cs
- ECDiffieHellmanCngPublicKey.cs
- ElementFactory.cs
- AssociationType.cs
- CanonicalFontFamilyReference.cs
- PocoEntityKeyStrategy.cs
- ParentControlDesigner.cs
- SqlDataReader.cs
- TemplatedWizardStep.cs
- ConfigurationConverterBase.cs
- SafeEventHandle.cs
- ToolboxItem.cs
- CodeDelegateInvokeExpression.cs
- XmlNamespaceMapping.cs
- SoapSchemaMember.cs
- PageThemeBuildProvider.cs