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
- InstanceDataCollectionCollection.cs
- MetadataItemCollectionFactory.cs
- IsolatedStorage.cs
- AssemblyAssociatedContentFileAttribute.cs
- RichTextBox.cs
- DBCSCodePageEncoding.cs
- ArraySegment.cs
- PageRequestManager.cs
- DNS.cs
- ApplicationProxyInternal.cs
- X509ChainElement.cs
- Request.cs
- SafeCryptHandles.cs
- Zone.cs
- UTF32Encoding.cs
- CommunicationException.cs
- FormViewInsertEventArgs.cs
- DataTablePropertyDescriptor.cs
- HtmlControlDesigner.cs
- EnterpriseServicesHelper.cs
- LowerCaseStringConverter.cs
- FontStretch.cs
- Attachment.cs
- HtmlAnchor.cs
- PeerName.cs
- CoTaskMemUnicodeSafeHandle.cs
- XmlSerializerSection.cs
- AtomEntry.cs
- ErrorItem.cs
- FontStretch.cs
- QilInvoke.cs
- RouteValueExpressionBuilder.cs
- NullableLongMinMaxAggregationOperator.cs
- ComplexPropertyEntry.cs
- XmlCodeExporter.cs
- DataGridTextBoxColumn.cs
- NCryptSafeHandles.cs
- MergePropertyDescriptor.cs
- ConstraintManager.cs
- QuaternionKeyFrameCollection.cs
- EntityKeyElement.cs
- CustomWebEventKey.cs
- RowToParametersTransformer.cs
- ToolStripDesignerAvailabilityAttribute.cs
- MultipleViewPatternIdentifiers.cs
- AuthenticationSection.cs
- SoapFault.cs
- ChineseLunisolarCalendar.cs
- Interlocked.cs
- Size.cs
- DataGridTableCollection.cs
- Nodes.cs
- DataGridViewAdvancedBorderStyle.cs
- XmlAnyElementAttributes.cs
- ResourceManagerWrapper.cs
- SchemaCollectionCompiler.cs
- XmlMemberMapping.cs
- GPPOINT.cs
- HttpListenerException.cs
- NativeCompoundFileAPIs.cs
- JsonServiceDocumentSerializer.cs
- CharacterShapingProperties.cs
- XPathParser.cs
- CodeDOMProvider.cs
- ServiceProviders.cs
- ProfileManager.cs
- OrderedDictionaryStateHelper.cs
- SafeLibraryHandle.cs
- PagerSettings.cs
- NameValueFileSectionHandler.cs
- PageThemeParser.cs
- Rect.cs
- KeyValuePair.cs
- TrustManagerMoreInformation.cs
- CompositionCommandSet.cs
- ConfigXmlSignificantWhitespace.cs
- SortKey.cs
- ConsumerConnectionPoint.cs
- BinaryMethodMessage.cs
- EdmRelationshipRoleAttribute.cs
- NamedServiceModelExtensionCollectionElement.cs
- XmlBinaryReaderSession.cs
- SqlDataSourceStatusEventArgs.cs
- X509Extension.cs
- Main.cs
- XmlSchemaAttributeGroup.cs
- filewebresponse.cs
- EpmTargetTree.cs
- QueueProcessor.cs
- FilteredSchemaElementLookUpTable.cs
- PingOptions.cs
- WebControlsSection.cs
- ColorInterpolationModeValidation.cs
- SessionIDManager.cs
- SqlDataSourceEnumerator.cs
- HotSpot.cs
- StreamGeometry.cs
- CodeBinaryOperatorExpression.cs
- OpCopier.cs
- EraserBehavior.cs