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
- AffineTransform3D.cs
- Blend.cs
- TypeDependencyAttribute.cs
- XmlUrlResolver.cs
- BaseAddressPrefixFilterElement.cs
- safelink.cs
- Pointer.cs
- GeneratedCodeAttribute.cs
- LocalizabilityAttribute.cs
- ColumnProvider.cs
- _NegoStream.cs
- PolicyUnit.cs
- TableLayoutPanelCellPosition.cs
- designeractionbehavior.cs
- WebControlAdapter.cs
- SelectionEditingBehavior.cs
- SelectorItemAutomationPeer.cs
- FrameworkPropertyMetadata.cs
- Scripts.cs
- Int32CollectionValueSerializer.cs
- Latin1Encoding.cs
- ping.cs
- LOSFormatter.cs
- OfTypeExpression.cs
- HttpResponse.cs
- CounterSample.cs
- SpeakInfo.cs
- AffineTransform3D.cs
- MessagePropertyVariants.cs
- XhtmlBasicPanelAdapter.cs
- XmlAttributes.cs
- ModelServiceImpl.cs
- ArrayConverter.cs
- MultiTargetingUtil.cs
- ToolStripStatusLabel.cs
- ConfigXmlReader.cs
- BaseProcessor.cs
- SecurityUtils.cs
- HttpWriter.cs
- SoapExtensionReflector.cs
- WindowsStatusBar.cs
- SvcMapFileLoader.cs
- TextSelection.cs
- typedescriptorpermission.cs
- OutputCacheProfile.cs
- TextElementEditingBehaviorAttribute.cs
- QueueAccessMode.cs
- ExclusiveNamedPipeTransportManager.cs
- RemotingConfigParser.cs
- SerializationEventsCache.cs
- DBNull.cs
- EUCJPEncoding.cs
- RegistryKey.cs
- RemotingServices.cs
- EasingKeyFrames.cs
- KeyNotFoundException.cs
- ProfileBuildProvider.cs
- ConfigurationCollectionAttribute.cs
- ExceptionUtil.cs
- XD.cs
- dataobject.cs
- WorkflowRuntimeServicesBehavior.cs
- SqlGatherConsumedAliases.cs
- ValueChangedEventManager.cs
- Utils.cs
- HebrewNumber.cs
- EntityDataSourceState.cs
- BitmapEffectDrawingContent.cs
- DataBindingCollection.cs
- DataSetFieldSchema.cs
- ViewRendering.cs
- AppLevelCompilationSectionCache.cs
- DataServiceRequestException.cs
- TreeNodeClickEventArgs.cs
- util.cs
- RequestNavigateEventArgs.cs
- ListControlConvertEventArgs.cs
- WorkflowElementDialog.cs
- StylusSystemGestureEventArgs.cs
- ItemCheckedEvent.cs
- XpsSerializationManager.cs
- HttpDictionary.cs
- BaseCollection.cs
- SizeAnimationBase.cs
- MaskDescriptors.cs
- BindingValueChangedEventArgs.cs
- TextRangeEditTables.cs
- DataGridSortCommandEventArgs.cs
- MailHeaderInfo.cs
- UIElementIsland.cs
- RadioButtonFlatAdapter.cs
- ProcessManager.cs
- UIntPtr.cs
- SqlBooleanMismatchVisitor.cs
- HttpHeaderCollection.cs
- Point4D.cs
- RotateTransform.cs
- DataConnectionHelper.cs
- MsmqVerifier.cs
- EnumDataContract.cs