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
- LinkUtilities.cs
- SingleSelectRootGridEntry.cs
- SchemaMapping.cs
- dataobject.cs
- EnumValAlphaComparer.cs
- RowType.cs
- Int64Storage.cs
- PrePostDescendentsWalker.cs
- Itemizer.cs
- mediaeventargs.cs
- CriticalFinalizerObject.cs
- CodeMethodInvokeExpression.cs
- BitmapInitialize.cs
- PreloadedPackages.cs
- ObjectFullSpanRewriter.cs
- BypassElementCollection.cs
- NativeWindow.cs
- DbBuffer.cs
- SamlSubject.cs
- XXXInfos.cs
- ExtendedPropertyCollection.cs
- User.cs
- PartManifestEntry.cs
- SessionSwitchEventArgs.cs
- InvokeBase.cs
- DtrList.cs
- PointConverter.cs
- HtmlInputText.cs
- PrimitiveSchema.cs
- StickyNoteContentControl.cs
- NamedElement.cs
- DataServiceQueryException.cs
- ClosableStream.cs
- RangeBaseAutomationPeer.cs
- FontWeight.cs
- WasEndpointConfigContainer.cs
- ExtendLockAsyncResult.cs
- DynamicRenderer.cs
- KnownIds.cs
- ElementHost.cs
- webproxy.cs
- TypeDescriptor.cs
- SourceExpressionException.cs
- View.cs
- AlphaSortedEnumConverter.cs
- SettingsSavedEventArgs.cs
- CompilerWrapper.cs
- SQLInt64.cs
- MenuItemBinding.cs
- OptimisticConcurrencyException.cs
- ListControlDesigner.cs
- TracingConnectionListener.cs
- NullableFloatSumAggregationOperator.cs
- Model3DCollection.cs
- InputScopeConverter.cs
- FamilyTypefaceCollection.cs
- AssemblyNameEqualityComparer.cs
- Thickness.cs
- ThreadStaticAttribute.cs
- ConfigXmlCDataSection.cs
- _DisconnectOverlappedAsyncResult.cs
- IPAddressCollection.cs
- MSG.cs
- GlyphTypeface.cs
- CultureMapper.cs
- EdmMember.cs
- odbcmetadatacolumnnames.cs
- GregorianCalendarHelper.cs
- DataGridViewComboBoxCell.cs
- ParallelRangeManager.cs
- FieldMetadata.cs
- SelectionRangeConverter.cs
- StandardToolWindows.cs
- PropertyOverridesDialog.cs
- Metafile.cs
- RSAOAEPKeyExchangeFormatter.cs
- Operand.cs
- InternalPermissions.cs
- TypeRefElement.cs
- TextHidden.cs
- SecureConversationServiceElement.cs
- XamlInt32CollectionSerializer.cs
- Keyboard.cs
- ComAdminWrapper.cs
- CodeParameterDeclarationExpression.cs
- GlyphRunDrawing.cs
- EventsTab.cs
- WindowsListViewScroll.cs
- WindowsHyperlink.cs
- DataGridItemCollection.cs
- AssemblyBuilder.cs
- CreateSequenceResponse.cs
- XPathExpr.cs
- SafeBitVector32.cs
- AdCreatedEventArgs.cs
- TimeZone.cs
- XmlQueryCardinality.cs
- TabControlAutomationPeer.cs
- DocumentViewer.cs
- BindUriHelper.cs