Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ExtensionFile.cs
- TemplatePropertyEntry.cs
- SqlDesignerDataSourceView.cs
- WriteableBitmap.cs
- ViewBox.cs
- smtppermission.cs
- XmlEnumAttribute.cs
- XmlSchemaObjectTable.cs
- RtType.cs
- AccessDataSourceView.cs
- ServerReliableChannelBinder.cs
- ProfileModule.cs
- EdmValidator.cs
- PropertiesTab.cs
- DBSqlParserColumn.cs
- XmlUtil.cs
- DesignTimeTemplateParser.cs
- PropertyGeneratedEventArgs.cs
- DependencyPropertyKind.cs
- ZoneButton.cs
- TypeBuilder.cs
- MenuItemCollection.cs
- ChannelSettingsElement.cs
- MarginCollapsingState.cs
- SelectionChangedEventArgs.cs
- _Events.cs
- DataGridItemCollection.cs
- HttpCacheVary.cs
- CodeTypeMember.cs
- DataBinder.cs
- EventToken.cs
- ValidationEventArgs.cs
- Group.cs
- File.cs
- brushes.cs
- XmlComplianceUtil.cs
- DataTemplate.cs
- View.cs
- SupportsEventValidationAttribute.cs
- ProcessThreadDesigner.cs
- LogicalExpr.cs
- TextRunCache.cs
- AsymmetricKeyExchangeDeformatter.cs
- SQLDecimalStorage.cs
- Compilation.cs
- ZoneIdentityPermission.cs
- HttpRequest.cs
- AxHostDesigner.cs
- ColorContext.cs
- MailWebEventProvider.cs
- ConstraintStruct.cs
- RuntimeResourceSet.cs
- WebDisplayNameAttribute.cs
- DbSetClause.cs
- ImportOptions.cs
- NotifyCollectionChangedEventArgs.cs
- Parser.cs
- WebResourceAttribute.cs
- PartitionerStatic.cs
- GeneratedView.cs
- Cursor.cs
- AudioBase.cs
- HtmlElementErrorEventArgs.cs
- CodePrimitiveExpression.cs
- StructuredTypeInfo.cs
- MenuCommand.cs
- KeyEvent.cs
- SafeEventLogReadHandle.cs
- MaskInputRejectedEventArgs.cs
- ResourceType.cs
- BezierSegment.cs
- StaticExtensionConverter.cs
- XhtmlBasicLabelAdapter.cs
- ProcessHostConfigUtils.cs
- SvcMapFileLoader.cs
- ReceiveMessageContent.cs
- HttpHandlersSection.cs
- SizeF.cs
- SQLGuid.cs
- CodeDirectoryCompiler.cs
- clipboard.cs
- CultureInfoConverter.cs
- SqlDeflator.cs
- LabelLiteral.cs
- XPathScanner.cs
- TransformedBitmap.cs
- PluralizationServiceUtil.cs
- SqlAggregateChecker.cs
- SqlBulkCopy.cs
- SafeNativeMemoryHandle.cs
- ClipboardData.cs
- HwndSubclass.cs
- SchemaAttDef.cs
- Model3D.cs
- BrowserCapabilitiesFactoryBase.cs
- AnonymousIdentificationModule.cs
- ActivityTrace.cs
- RawStylusSystemGestureInputReport.cs
- WindowsListBox.cs
- ProxyManager.cs