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
- ZipArchive.cs
- Helpers.cs
- InOutArgumentConverter.cs
- ValueOfAction.cs
- GenericParameterDataContract.cs
- SimpleFieldTemplateUserControl.cs
- PropertyDescriptorComparer.cs
- FileLogRecordHeader.cs
- PagerStyle.cs
- Registry.cs
- ProfileManager.cs
- ToolStripItem.cs
- InputProcessorProfilesLoader.cs
- WindowsListBox.cs
- WebServiceTypeData.cs
- XmlDownloadManager.cs
- ThicknessKeyFrameCollection.cs
- BuildResult.cs
- WebPartsPersonalizationAuthorization.cs
- SqlGatherProducedAliases.cs
- ChannelPool.cs
- MissingSatelliteAssemblyException.cs
- HttpListenerRequest.cs
- EventLogQuery.cs
- AppendHelper.cs
- HealthMonitoringSection.cs
- XmlSchema.cs
- SpeakCompletedEventArgs.cs
- SubpageParagraph.cs
- UriTemplateQueryValue.cs
- SystemIPv4InterfaceProperties.cs
- MediaElementAutomationPeer.cs
- SynchronizedDispatch.cs
- BrowserDefinition.cs
- WinFormsComponentEditor.cs
- SiteMapPath.cs
- ObjectDataSourceView.cs
- PermissionRequestEvidence.cs
- TempFiles.cs
- TransportSecurityHelpers.cs
- infer.cs
- TextMessageEncoder.cs
- ProxyManager.cs
- HiddenFieldDesigner.cs
- DesignTimeParseData.cs
- WinInet.cs
- AcceleratedTokenProviderState.cs
- DictionaryEntry.cs
- SystemIcons.cs
- ProtectedConfiguration.cs
- TextUtf8RawTextWriter.cs
- Trace.cs
- WrapPanel.cs
- ControlIdConverter.cs
- TTSVoice.cs
- Odbc32.cs
- NativeActivityAbortContext.cs
- DesignerVerb.cs
- JournalEntryStack.cs
- MimeWriter.cs
- DataGridTextColumn.cs
- ScriptResourceAttribute.cs
- XamlPathDataSerializer.cs
- DesignerTextViewAdapter.cs
- FragmentQuery.cs
- SourceCollection.cs
- LocatorPart.cs
- LocatorBase.cs
- AutoGeneratedFieldProperties.cs
- DataControlLinkButton.cs
- DataListDesigner.cs
- TabControl.cs
- UserControlBuildProvider.cs
- ObfuscateAssemblyAttribute.cs
- EventProviderWriter.cs
- RoleGroupCollection.cs
- SignHashRequest.cs
- Set.cs
- SvcMapFileSerializer.cs
- SystemTcpStatistics.cs
- InternalResources.cs
- ISAPIApplicationHost.cs
- CqlLexerHelpers.cs
- SqlDeflator.cs
- TargetParameterCountException.cs
- AspProxy.cs
- ControlParameter.cs
- TCPListener.cs
- filewebrequest.cs
- MethodCallConverter.cs
- TimeSpan.cs
- WebPartCatalogCloseVerb.cs
- TransformerInfoCollection.cs
- BrowserTree.cs
- BuildProviderCollection.cs
- Selector.cs
- GridViewSelectEventArgs.cs
- SqlAliaser.cs
- ScriptControlManager.cs
- FtpWebRequest.cs