Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MergePropertyDescriptor.cs
- validation.cs
- IpcManager.cs
- RIPEMD160Managed.cs
- CaseInsensitiveComparer.cs
- CodeSnippetExpression.cs
- DynamicPropertyReader.cs
- StorageBasedPackageProperties.cs
- AnnotationComponentChooser.cs
- ActivationArguments.cs
- TrackingValidationObjectDictionary.cs
- PageThemeCodeDomTreeGenerator.cs
- EditingMode.cs
- DynamicPropertyHolder.cs
- TextSelectionHighlightLayer.cs
- DataTableClearEvent.cs
- CompoundFileStreamReference.cs
- XmlSchemaAttributeGroupRef.cs
- XPathAncestorQuery.cs
- JournalEntryListConverter.cs
- WindowsAuthenticationEventArgs.cs
- PlanCompilerUtil.cs
- RecordsAffectedEventArgs.cs
- MouseDevice.cs
- RIPEMD160Managed.cs
- TextEditorSelection.cs
- EmptyQuery.cs
- DeviceSpecificDialogCachedState.cs
- MeasureItemEvent.cs
- SqlBinder.cs
- Attribute.cs
- ListViewDeleteEventArgs.cs
- SystemIcmpV6Statistics.cs
- RuntimeResourceSet.cs
- CAGDesigner.cs
- BufferedStream.cs
- OdbcTransaction.cs
- BamlRecordWriter.cs
- Perspective.cs
- DoWorkEventArgs.cs
- ManipulationInertiaStartingEventArgs.cs
- FormattedTextSymbols.cs
- MetaChildrenColumn.cs
- RIPEMD160.cs
- PassportAuthentication.cs
- WaitingCursor.cs
- webeventbuffer.cs
- DBParameter.cs
- TextDecorationCollection.cs
- InputManager.cs
- Model3D.cs
- PackagingUtilities.cs
- x509store.cs
- MoveSizeWinEventHandler.cs
- CodeNamespaceImport.cs
- StorageInfo.cs
- SystemIPGlobalProperties.cs
- InteropAutomationProvider.cs
- BindingMAnagerBase.cs
- TextEditorMouse.cs
- OutputCacheProfile.cs
- DynamicMetaObjectBinder.cs
- HtmlMeta.cs
- BindingRestrictions.cs
- ToolbarAUtomationPeer.cs
- Item.cs
- XmlSerializerOperationGenerator.cs
- CommandField.cs
- MsmqOutputSessionChannel.cs
- SmiContextFactory.cs
- WebZone.cs
- ACL.cs
- MailMessageEventArgs.cs
- DataTableReaderListener.cs
- SecurityListenerSettingsLifetimeManager.cs
- ValueConversionAttribute.cs
- SelectedCellsChangedEventArgs.cs
- CodeDOMProvider.cs
- SspiHelper.cs
- DataGridViewCellEventArgs.cs
- HttpDictionary.cs
- HitTestResult.cs
- ObjectView.cs
- EncryptedXml.cs
- GridViewUpdateEventArgs.cs
- PipelineModuleStepContainer.cs
- CultureInfoConverter.cs
- MemberNameValidator.cs
- SplineQuaternionKeyFrame.cs
- ColumnBinding.cs
- ExpressionConverter.cs
- CheckBoxAutomationPeer.cs
- TextChange.cs
- DbConnectionOptions.cs
- SafeCryptContextHandle.cs
- SchemaElementLookUpTableEnumerator.cs
- ExpressionEditor.cs
- mactripleDES.cs
- FakeModelPropertyImpl.cs
- Rijndael.cs