Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECT.cs / 2 / GPRECT.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Internal { using System.Diagnostics; using System; using System.Drawing; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] internal struct GPRECT { internal int X; internal int Y; internal int Width; internal int Height; internal GPRECT(int x, int y, int width, int height) { X = x; Y = y; Width = width; Height = height; } internal GPRECT(Rectangle rect) { X = rect.X; Y = rect.Y; Width = rect.Width; Height = rect.Height; } internal Rectangle ToRectangle() { return new Rectangle(X, Y, Width, Height); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Internal { using System.Diagnostics; using System; using System.Drawing; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] internal struct GPRECT { internal int X; internal int Y; internal int Width; internal int Height; internal GPRECT(int x, int y, int width, int height) { X = x; Y = y; Width = width; Height = height; } internal GPRECT(Rectangle rect) { X = rect.X; Y = rect.Y; Width = rect.Width; Height = rect.Height; } internal Rectangle ToRectangle() { return new Rectangle(X, Y, Width, Height); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OpacityConverter.cs
- DynamicFilterExpression.cs
- PropertyTabChangedEvent.cs
- DataListItemCollection.cs
- ResourceDictionary.cs
- MultipartIdentifier.cs
- ArglessEventHandlerProxy.cs
- Canvas.cs
- ForeignKeyConstraint.cs
- DataSetSchema.cs
- StrongNameIdentityPermission.cs
- ListBoxItem.cs
- XmlSchema.cs
- PropertyInfo.cs
- MediaPlayerState.cs
- XmlSchemaSubstitutionGroup.cs
- Keyboard.cs
- StackSpiller.Bindings.cs
- TextFormatterContext.cs
- InputGestureCollection.cs
- embossbitmapeffect.cs
- RuleInfoComparer.cs
- MetadataArtifactLoaderCompositeResource.cs
- MatrixTransform3D.cs
- WbmpConverter.cs
- TableHeaderCell.cs
- ClientTargetSection.cs
- SiteMapProvider.cs
- LocalizableAttribute.cs
- ResourceManager.cs
- VerificationException.cs
- WebPartDescriptionCollection.cs
- BitmapFrame.cs
- SplineQuaternionKeyFrame.cs
- ResourceReferenceExpression.cs
- TypeSystem.cs
- SerializationSectionGroup.cs
- XmlMtomReader.cs
- FormatConvertedBitmap.cs
- SmtpDigestAuthenticationModule.cs
- PartitionedStream.cs
- SynchronizationHandlesCodeDomSerializer.cs
- PageSettings.cs
- ExpandSegmentCollection.cs
- MembershipAdapter.cs
- DomNameTable.cs
- ContextMenu.cs
- PassportIdentity.cs
- PersonalizationProvider.cs
- HierarchicalDataSourceControl.cs
- CodeSnippetTypeMember.cs
- DrawingGroupDrawingContext.cs
- querybuilder.cs
- DBAsyncResult.cs
- COM2ExtendedTypeConverter.cs
- ContextBase.cs
- XmlObjectSerializerReadContextComplex.cs
- SqlCacheDependencySection.cs
- EntityViewGenerator.cs
- DataGridViewAutoSizeModeEventArgs.cs
- TypeUtils.cs
- SqlDataSourceQueryConverter.cs
- _PooledStream.cs
- PublisherIdentityPermission.cs
- Int32AnimationUsingKeyFrames.cs
- HMACSHA256.cs
- BaseDataList.cs
- ADConnectionHelper.cs
- ColumnReorderedEventArgs.cs
- InternalTypeHelper.cs
- StringBuilder.cs
- SqlCacheDependency.cs
- TextServicesContext.cs
- RowParagraph.cs
- SafeEventLogReadHandle.cs
- XmlText.cs
- StorageRoot.cs
- WebPartConnectionsCancelVerb.cs
- VirtualDirectoryMapping.cs
- MediaElementAutomationPeer.cs
- InternalConfigSettingsFactory.cs
- ParameterCollection.cs
- RadioButtonList.cs
- HttpCookie.cs
- BStrWrapper.cs
- WindowExtensionMethods.cs
- ICspAsymmetricAlgorithm.cs
- FormsAuthenticationConfiguration.cs
- ADRoleFactory.cs
- OpenFileDialog.cs
- EastAsianLunisolarCalendar.cs
- DiscoveryProxy.cs
- DrawingVisual.cs
- XmlSchemaAnnotation.cs
- BaseParser.cs
- VisualTarget.cs
- Decimal.cs
- ConnectionStringSettings.cs
- DataFormats.cs
- DateTime.cs