Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / HScrollProperties.cs / 1 / HScrollProperties.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Runtime.InteropServices; using System.Diagnostics; using System; using System.Security.Permissions; using System.Runtime.Serialization.Formatters; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; using System.Windows.Forms; ////// /// public class HScrollProperties : ScrollProperties { ////// Basic Properties for VScroll. /// ///public HScrollProperties(ScrollableControl container) : base(container) { } internal override int PageSize { get { return ParentControl.ClientRectangle.Width; } } internal override int Orientation { get { return NativeMethods.SB_HORZ; } } internal override int HorizontalDisplayPosition { get { return -this.value; } } internal override int VerticalDisplayPosition { get { return ParentControl.DisplayRectangle.Y; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Runtime.InteropServices; using System.Diagnostics; using System; using System.Security.Permissions; using System.Runtime.Serialization.Formatters; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; using System.Windows.Forms; ////// /// public class HScrollProperties : ScrollProperties { ////// Basic Properties for VScroll. /// ///public HScrollProperties(ScrollableControl container) : base(container) { } internal override int PageSize { get { return ParentControl.ClientRectangle.Width; } } internal override int Orientation { get { return NativeMethods.SB_HORZ; } } internal override int HorizontalDisplayPosition { get { return -this.value; } } internal override int VerticalDisplayPosition { get { return ParentControl.DisplayRectangle.Y; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UrlMappingsModule.cs
- LogEntryUtils.cs
- XmlSchemaAnnotated.cs
- SelfIssuedAuthRSACryptoProvider.cs
- KnownColorTable.cs
- ListViewTableRow.cs
- MultiSelectRootGridEntry.cs
- Italic.cs
- IntPtr.cs
- MaskedTextBoxTextEditorDropDown.cs
- UnicastIPAddressInformationCollection.cs
- ReadOnlyNameValueCollection.cs
- StrongNameSignatureInformation.cs
- ToolStripCustomTypeDescriptor.cs
- ObjectListItem.cs
- RectangleGeometry.cs
- Viewport3DVisual.cs
- SqlDataSourceSelectingEventArgs.cs
- SqlProfileProvider.cs
- OraclePermission.cs
- FileDialog.cs
- MessageQueuePermission.cs
- CommunicationException.cs
- Types.cs
- RNGCryptoServiceProvider.cs
- Error.cs
- RequestQueryProcessor.cs
- SettingsSection.cs
- CodeCommentStatement.cs
- DataGridViewSelectedRowCollection.cs
- Context.cs
- EntityWithKeyStrategy.cs
- PropertyItem.cs
- ContainerUIElement3D.cs
- CachedFontFamily.cs
- Helper.cs
- FileAuthorizationModule.cs
- ButtonBase.cs
- ValidationError.cs
- DependencyObjectType.cs
- Image.cs
- ModuleElement.cs
- MultipleViewProviderWrapper.cs
- TextFormatter.cs
- WorkflowDesignerMessageFilter.cs
- MetadataCache.cs
- Roles.cs
- ProfileSettings.cs
- LambdaCompiler.Binary.cs
- CodeAccessPermission.cs
- GrammarBuilderRuleRef.cs
- FixedElement.cs
- BooleanProjectedSlot.cs
- BitmapData.cs
- Function.cs
- ToolboxItemAttribute.cs
- WebHostedComPlusServiceHost.cs
- SafeSecurityHelper.cs
- NullRuntimeConfig.cs
- FrugalList.cs
- XsltArgumentList.cs
- ResourceIDHelper.cs
- DropSource.cs
- BindingNavigatorDesigner.cs
- Win32.cs
- WebControlParameterProxy.cs
- ParserStreamGeometryContext.cs
- SelectionRangeConverter.cs
- CompilerState.cs
- StyleXamlParser.cs
- ExpressionBindings.cs
- HitTestResult.cs
- SqlTriggerContext.cs
- SortedList.cs
- Baml2006ReaderContext.cs
- ListViewEditEventArgs.cs
- CompiledIdentityConstraint.cs
- GeometryModel3D.cs
- DoubleLinkList.cs
- DynamicPhysicalDiscoSearcher.cs
- LineBreakRecord.cs
- AnnotationAuthorChangedEventArgs.cs
- DiscoveryClientChannelBase.cs
- BuildProvider.cs
- XamlSerializerUtil.cs
- _NestedSingleAsyncResult.cs
- XmlAttributeHolder.cs
- DataGridViewRowPrePaintEventArgs.cs
- BitmapCodecInfoInternal.cs
- FieldTemplateFactory.cs
- GlyphInfoList.cs
- ComponentResourceManager.cs
- DesignOnlyAttribute.cs
- LogicalTreeHelper.cs
- UIElement3DAutomationPeer.cs
- Stylus.cs
- Crc32.cs
- ResumeStoryboard.cs
- WebServiceClientProxyGenerator.cs
- webproxy.cs