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
- AttributeData.cs
- OracleNumber.cs
- AllowedAudienceUriElement.cs
- NullToBooleanConverter.cs
- XmlLanguageConverter.cs
- MimeMapping.cs
- WebResponse.cs
- QueuePathEditor.cs
- PerformanceCounterManager.cs
- ItemContainerGenerator.cs
- CustomBindingElementCollection.cs
- PriorityChain.cs
- UserPreferenceChangingEventArgs.cs
- StringArrayConverter.cs
- RowSpanVector.cs
- SetStateEventArgs.cs
- LinqDataSourceInsertEventArgs.cs
- Page.cs
- MissingFieldException.cs
- XmlAnyElementAttribute.cs
- CapiHashAlgorithm.cs
- updatecommandorderer.cs
- ReferencedAssembly.cs
- PageBorderless.cs
- DesignerView.cs
- InputReportEventArgs.cs
- DbParameterHelper.cs
- CodeDomDecompiler.cs
- TextContainer.cs
- DataGridAutoFormat.cs
- IdentityValidationException.cs
- LassoSelectionBehavior.cs
- HttpWebRequest.cs
- ObjectListSelectEventArgs.cs
- ViewUtilities.cs
- X509Extension.cs
- FaultBookmark.cs
- WebServiceResponseDesigner.cs
- GenerateTemporaryAssemblyTask.cs
- DocumentSequence.cs
- RenderTargetBitmap.cs
- MultitargetUtil.cs
- DataGridViewColumnCollectionEditor.cs
- arc.cs
- ReflectPropertyDescriptor.cs
- XPathException.cs
- JoinElimination.cs
- LoginView.cs
- EntityKey.cs
- XmlDataSourceNodeDescriptor.cs
- DefaultBindingPropertyAttribute.cs
- ObjectStateManager.cs
- TimeSpanFormat.cs
- Panel.cs
- CompletedAsyncResult.cs
- TableStyle.cs
- ConnectionProviderAttribute.cs
- CompressEmulationStream.cs
- DurationConverter.cs
- VoiceChangeEventArgs.cs
- FieldBuilder.cs
- BaseTransportHeaders.cs
- StoryFragments.cs
- BufferedStream.cs
- InkCollectionBehavior.cs
- PointCollection.cs
- WebPartEventArgs.cs
- ObjectListTitleAttribute.cs
- DynamicPropertyHolder.cs
- NoneExcludedImageIndexConverter.cs
- WebPart.cs
- SqlDataSourceAdvancedOptionsForm.cs
- regiisutil.cs
- QuaternionAnimationUsingKeyFrames.cs
- TreeView.cs
- DocumentSchemaValidator.cs
- GridItemPattern.cs
- IsolatedStorageFileStream.cs
- EnterpriseServicesHelper.cs
- QilFactory.cs
- TabRenderer.cs
- CachingHintValidation.cs
- FilterException.cs
- XamlWriter.cs
- MenuAdapter.cs
- XamlReader.cs
- ConfigurationSettings.cs
- BindingNavigatorDesigner.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- EnumMember.cs
- HttpListenerElement.cs
- JapaneseCalendar.cs
- RemotingSurrogateSelector.cs
- Rect.cs
- XmlRootAttribute.cs
- BmpBitmapEncoder.cs
- MetadataPropertyvalue.cs
- printdlgexmarshaler.cs
- GenericAuthenticationEventArgs.cs
- ColumnReorderedEventArgs.cs