Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECT.cs / 1 / 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
- Util.cs
- RedistVersionInfo.cs
- EventNotify.cs
- StorageComplexTypeMapping.cs
- WebPartDeleteVerb.cs
- AmbiguousMatchException.cs
- SerializationAttributes.cs
- EFDataModelProvider.cs
- ProviderManager.cs
- PartialCachingAttribute.cs
- CompilerParameters.cs
- DataSourceXmlClassAttribute.cs
- KnownTypesHelper.cs
- Row.cs
- DefaultValueAttribute.cs
- StreamGeometry.cs
- StringUtil.cs
- CommonRemoteMemoryBlock.cs
- WindowsBrush.cs
- PropertyInformationCollection.cs
- EnvelopeVersion.cs
- DependencyPropertyValueSerializer.cs
- HttpHandlersSection.cs
- DataGridTablesFactory.cs
- PeerInvitationResponse.cs
- TextBlock.cs
- URL.cs
- Helper.cs
- _BasicClient.cs
- StaticSiteMapProvider.cs
- CopyNamespacesAction.cs
- TiffBitmapDecoder.cs
- BoundPropertyEntry.cs
- PriorityQueue.cs
- PrivateFontCollection.cs
- XamlTemplateSerializer.cs
- CrossAppDomainChannel.cs
- SynchronizationLockException.cs
- DefaultPropertyAttribute.cs
- ExpressionLink.cs
- AppModelKnownContentFactory.cs
- UriTemplateQueryValue.cs
- SiteIdentityPermission.cs
- ParseChildrenAsPropertiesAttribute.cs
- TextLine.cs
- OleDbDataReader.cs
- InternalConfirm.cs
- XsdBuildProvider.cs
- SignedPkcs7.cs
- AspNetHostingPermission.cs
- MatrixStack.cs
- CacheChildrenQuery.cs
- BrowserCapabilitiesFactoryBase.cs
- LockRecursionException.cs
- Debugger.cs
- ArrayElementGridEntry.cs
- BindingNavigator.cs
- ClientUrlResolverWrapper.cs
- DataKeyCollection.cs
- IISUnsafeMethods.cs
- PrintDialog.cs
- HtmlFormWrapper.cs
- ServicePointManagerElement.cs
- _StreamFramer.cs
- PreviewControlDesigner.cs
- MarkupCompilePass2.cs
- ContainerParaClient.cs
- BlurBitmapEffect.cs
- ErrorWebPart.cs
- SpoolingTaskBase.cs
- TextBoxBaseDesigner.cs
- StickyNoteHelper.cs
- XsltInput.cs
- PasswordTextNavigator.cs
- Int32RectConverter.cs
- ActionMessageFilterTable.cs
- SqlDataRecord.cs
- SymbolPair.cs
- CodeCastExpression.cs
- UnsafeNativeMethods.cs
- SQLBinary.cs
- OdbcErrorCollection.cs
- TransformConverter.cs
- TemplateAction.cs
- Transform3DGroup.cs
- Dictionary.cs
- SecurityPermission.cs
- ValidatorCollection.cs
- OleDbCommand.cs
- _NetRes.cs
- Tuple.cs
- FormsAuthenticationTicket.cs
- RegexFCD.cs
- Soap.cs
- ListViewUpdatedEventArgs.cs
- TripleDESCryptoServiceProvider.cs
- DelegatingConfigHost.cs
- XmlEventCache.cs
- PageAdapter.cs
- DataGridLinkButton.cs