Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- TokenBasedSet.cs
- SqlDataRecord.cs
- X509SubjectKeyIdentifierClause.cs
- ObjectViewQueryResultData.cs
- IdentifierCollection.cs
- columnmapkeybuilder.cs
- CommandField.cs
- TrustManager.cs
- AsyncStreamReader.cs
- DataGridItemEventArgs.cs
- entityreference_tresulttype.cs
- LZCodec.cs
- XXXOnTypeBuilderInstantiation.cs
- DesigntimeLicenseContext.cs
- MsmqBindingElementBase.cs
- CodeExpressionStatement.cs
- FontDifferentiator.cs
- IItemContainerGenerator.cs
- ImageMapEventArgs.cs
- TraceSwitch.cs
- ObjectDataSourceDisposingEventArgs.cs
- MultiView.cs
- ListControl.cs
- StreamingContext.cs
- SafeRightsManagementPubHandle.cs
- ReflectTypeDescriptionProvider.cs
- DataPointer.cs
- DataBinding.cs
- ToolTip.cs
- UserMapPath.cs
- Axis.cs
- InvokePattern.cs
- CharAnimationUsingKeyFrames.cs
- SqlConnection.cs
- EntityExpressionVisitor.cs
- SafeFileMappingHandle.cs
- ListViewDeletedEventArgs.cs
- MessageAction.cs
- WizardSideBarListControlItem.cs
- SoapAttributeOverrides.cs
- RuntimeWrappedException.cs
- GenerateTemporaryTargetAssembly.cs
- HttpDigestClientCredential.cs
- OracleConnectionStringBuilder.cs
- MemoryMappedView.cs
- Identifier.cs
- COSERVERINFO.cs
- Int32Collection.cs
- ComponentChangedEvent.cs
- SimpleHandlerBuildProvider.cs
- DiscriminatorMap.cs
- ObjectQueryExecutionPlan.cs
- CellPartitioner.cs
- XmlLoader.cs
- PasswordBox.cs
- CodeMemberMethod.cs
- DataSpaceManager.cs
- OlePropertyStructs.cs
- HttpCacheVaryByContentEncodings.cs
- Figure.cs
- DesignerForm.cs
- TypedRowGenerator.cs
- SizeIndependentAnimationStorage.cs
- CTreeGenerator.cs
- SqlCacheDependency.cs
- ThemeDictionaryExtension.cs
- MimeParameters.cs
- EventRecord.cs
- BamlRecords.cs
- OutputCacheProfileCollection.cs
- DllNotFoundException.cs
- DeflateEmulationStream.cs
- CompensationToken.cs
- CellLabel.cs
- UriGenerator.cs
- QueueProcessor.cs
- DataGridCell.cs
- MeshGeometry3D.cs
- UnionExpr.cs
- DiagnosticSection.cs
- CatalogPart.cs
- ThicknessAnimation.cs
- TypeBinaryExpression.cs
- Buffer.cs
- MenuAdapter.cs
- PointAnimationBase.cs
- UnsafeNativeMethods.cs
- ScrollData.cs
- RoutedEventArgs.cs
- RelationshipEndCollection.cs
- DictionaryTraceRecord.cs
- SchemaImporter.cs
- WebPartEditorOkVerb.cs
- PreviewControlDesigner.cs
- PeerResolverMode.cs
- AvTraceDetails.cs
- Trace.cs
- bindurihelper.cs
- OledbConnectionStringbuilder.cs
- RelationshipWrapper.cs