Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECT.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeVariableDeclarationStatement.cs
- DuplicateWaitObjectException.cs
- WorkflowServiceHost.cs
- Switch.cs
- assemblycache.cs
- RequestReplyCorrelator.cs
- SafeNativeMethods.cs
- EventDescriptorCollection.cs
- ImageDrawing.cs
- IPAddress.cs
- Internal.cs
- QueryGeneratorBase.cs
- HtmlShim.cs
- AlphabetConverter.cs
- Border.cs
- MetadataArtifactLoader.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- InputMethodStateChangeEventArgs.cs
- XmlElementAttributes.cs
- Utils.cs
- HostSecurityManager.cs
- DataListItemEventArgs.cs
- DomainUpDown.cs
- TaiwanCalendar.cs
- TextParagraphView.cs
- SystemThemeKey.cs
- BitmapCacheBrush.cs
- SchemaElementDecl.cs
- _LocalDataStoreMgr.cs
- CallbackValidatorAttribute.cs
- XmlName.cs
- DataGridViewRowsAddedEventArgs.cs
- MasterPageBuildProvider.cs
- ListBindableAttribute.cs
- Documentation.cs
- ServiceRouteHandler.cs
- ButtonStandardAdapter.cs
- BreakRecordTable.cs
- ListViewPagedDataSource.cs
- RoutedEventArgs.cs
- _AuthenticationState.cs
- ArglessEventHandlerProxy.cs
- DataGridTableCollection.cs
- WSFederationHttpBinding.cs
- AdornerHitTestResult.cs
- QueryableDataSourceEditData.cs
- PageOutputQuality.cs
- SmiMetaDataProperty.cs
- Package.cs
- DataGridViewRowHeaderCell.cs
- XmlAttributeAttribute.cs
- WebBrowserSiteBase.cs
- DocumentPageView.cs
- PenCursorManager.cs
- SystemWebCachingSectionGroup.cs
- CqlGenerator.cs
- TreeNodeBindingCollection.cs
- ElementProxy.cs
- SystemFonts.cs
- AliasedExpr.cs
- PointCollectionConverter.cs
- XmlDataSourceView.cs
- TransformPatternIdentifiers.cs
- ExpressionNode.cs
- CompilationSection.cs
- NullRuntimeConfig.cs
- GZipStream.cs
- X509RecipientCertificateServiceElement.cs
- Transform.cs
- XPathDescendantIterator.cs
- SqlLiftWhereClauses.cs
- FocusManager.cs
- LocalizationParserHooks.cs
- HttpApplicationFactory.cs
- WindowsSpinner.cs
- HtmlProps.cs
- CollectionBuilder.cs
- StorageScalarPropertyMapping.cs
- SoapIgnoreAttribute.cs
- RsaSecurityToken.cs
- WebPartHelpVerb.cs
- QueryCacheKey.cs
- UnmanagedMemoryStream.cs
- SystemInformation.cs
- VarRemapper.cs
- QuaternionAnimationUsingKeyFrames.cs
- ListBindableAttribute.cs
- Size.cs
- Utils.cs
- SqlBulkCopy.cs
- RegexInterpreter.cs
- CodeBinaryOperatorExpression.cs
- DataViewSetting.cs
- DataGridTable.cs
- DefaultPropertyAttribute.cs
- DatagridviewDisplayedBandsData.cs
- EncryptedXml.cs
- ResourceContainer.cs
- SelectionBorderGlyph.cs
- ListViewCancelEventArgs.cs