Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / ScrollEvent.cs / 1 / ScrollEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class ScrollEventArgs : EventArgs { readonly ScrollEventType type; int newValue; private ScrollOrientation scrollOrientation; int oldValue = -1; ///Provides data for the ////// event. /// /// public ScrollEventArgs(ScrollEventType type, int newValue) { this.type = type; this.newValue = newValue; } ////// Initializes a new instance of the ///class. /// /// /// /// public ScrollEventArgs(ScrollEventType type, int newValue, ScrollOrientation scroll) { this.type = type; this.newValue = newValue; this.scrollOrientation = scroll; } ////// Initializes a new instance of the ///class. /// /// public ScrollEventArgs(ScrollEventType type, int oldValue, int newValue) { this.type = type; this.newValue = newValue; this.oldValue = oldValue; } /// public ScrollEventArgs(ScrollEventType type, int oldValue, int newValue, ScrollOrientation scroll) { this.type = type; this.newValue = newValue; this.scrollOrientation = scroll; this.oldValue = oldValue; } /// /// /// public ScrollOrientation ScrollOrientation { get { return scrollOrientation; } } ////// Specifies the type of scroll event that occurred. /// /// ////// /// public ScrollEventType Type { get { return type; } } ////// Specifies the type of scroll event that occurred. /// /// ////// /// public int NewValue { get { return newValue; } set { newValue = value; } } ////// Specifies the new location of the scroll box /// within the /// scroll bar. /// /// ////// /// public int OldValue { get { return oldValue; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Specifies the last position /// within the /// scroll bar. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class ScrollEventArgs : EventArgs { readonly ScrollEventType type; int newValue; private ScrollOrientation scrollOrientation; int oldValue = -1; ///Provides data for the ////// event. /// /// public ScrollEventArgs(ScrollEventType type, int newValue) { this.type = type; this.newValue = newValue; } ////// Initializes a new instance of the ///class. /// /// /// /// public ScrollEventArgs(ScrollEventType type, int newValue, ScrollOrientation scroll) { this.type = type; this.newValue = newValue; this.scrollOrientation = scroll; } ////// Initializes a new instance of the ///class. /// /// public ScrollEventArgs(ScrollEventType type, int oldValue, int newValue) { this.type = type; this.newValue = newValue; this.oldValue = oldValue; } /// public ScrollEventArgs(ScrollEventType type, int oldValue, int newValue, ScrollOrientation scroll) { this.type = type; this.newValue = newValue; this.scrollOrientation = scroll; this.oldValue = oldValue; } /// /// /// public ScrollOrientation ScrollOrientation { get { return scrollOrientation; } } ////// Specifies the type of scroll event that occurred. /// /// ////// /// public ScrollEventType Type { get { return type; } } ////// Specifies the type of scroll event that occurred. /// /// ////// /// public int NewValue { get { return newValue; } set { newValue = value; } } ////// Specifies the new location of the scroll box /// within the /// scroll bar. /// /// ////// /// public int OldValue { get { return oldValue; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Specifies the last position /// within the /// scroll bar. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextInfo.cs
- DesignBindingConverter.cs
- ISSmlParser.cs
- DoWorkEventArgs.cs
- JsonDataContract.cs
- HostExecutionContextManager.cs
- SystemNetworkInterface.cs
- SqlDataSourceEnumerator.cs
- WaveHeader.cs
- StructuralCache.cs
- SharedPerformanceCounter.cs
- PersistChildrenAttribute.cs
- UnsafeNativeMethodsPenimc.cs
- RepeaterItemEventArgs.cs
- ControlBuilderAttribute.cs
- WebExceptionStatus.cs
- DetailsViewRowCollection.cs
- TableParaClient.cs
- AuthorizationRuleCollection.cs
- BuildManager.cs
- TypeBuilder.cs
- DbConnectionPoolGroupProviderInfo.cs
- ComponentChangedEvent.cs
- RenderingBiasValidation.cs
- SplitterCancelEvent.cs
- RotateTransform.cs
- DrawingState.cs
- PlainXmlWriter.cs
- sqlser.cs
- CalloutQueueItem.cs
- ModelItem.cs
- MainMenu.cs
- NavigationFailedEventArgs.cs
- RegisteredDisposeScript.cs
- NaturalLanguageHyphenator.cs
- EventTrigger.cs
- ListenerPerfCounters.cs
- EditorZoneAutoFormat.cs
- TagMapCollection.cs
- TextServicesProperty.cs
- Column.cs
- AliasExpr.cs
- StringFormat.cs
- ListChunk.cs
- SafeHandle.cs
- HashSetEqualityComparer.cs
- UInt64Storage.cs
- DataGridViewAutoSizeModeEventArgs.cs
- DataGridColumn.cs
- ImageAttributes.cs
- CertificateManager.cs
- IntPtr.cs
- WebConfigurationHost.cs
- BasicBrowserDialog.designer.cs
- CodeMethodInvokeExpression.cs
- PolyLineSegment.cs
- ReceiveContent.cs
- _LocalDataStore.cs
- ScriptRegistrationManager.cs
- DependencySource.cs
- LZCodec.cs
- AlignmentXValidation.cs
- ApplicationBuildProvider.cs
- KeyFrames.cs
- ObjectTag.cs
- XpsException.cs
- ConstraintStruct.cs
- ACE.cs
- DecimalConverter.cs
- XpsImageSerializationService.cs
- ArgumentOutOfRangeException.cs
- Condition.cs
- OptimizedTemplateContentHelper.cs
- FilterElement.cs
- BindableAttribute.cs
- CopyOfAction.cs
- DiagnosticSection.cs
- XamlStream.cs
- OperatingSystem.cs
- BitmapEffectState.cs
- BinaryMethodMessage.cs
- OdbcConnectionFactory.cs
- XmlDocumentSerializer.cs
- NamedPipeTransportSecurityElement.cs
- CommandManager.cs
- QueryComponents.cs
- ItemCheckedEvent.cs
- CachedPathData.cs
- WaitHandle.cs
- Condition.cs
- UriWriter.cs
- DataControlFieldsEditor.cs
- CustomErrorsSectionWrapper.cs
- BypassElement.cs
- SspiNegotiationTokenProviderState.cs
- WhitespaceRule.cs
- RuntimeHandles.cs
- MetaModel.cs
- SignatureGenerator.cs
- FrameworkElementFactory.cs