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
- UnsafeNativeMethods.cs
- TextEditorCharacters.cs
- EndpointDiscoveryMetadata11.cs
- ToolboxItem.cs
- RenameRuleObjectDialog.Designer.cs
- IOException.cs
- SqlDataSourceEnumerator.cs
- WebEvents.cs
- RijndaelManaged.cs
- MemoryMappedFile.cs
- Msmq4SubqueuePoisonHandler.cs
- ClientSideQueueItem.cs
- ArgumentOutOfRangeException.cs
- SQLBytesStorage.cs
- CodeSnippetTypeMember.cs
- WarningException.cs
- PnrpPermission.cs
- CodeMemberField.cs
- RuleSettingsCollection.cs
- OdbcReferenceCollection.cs
- DocumentViewerAutomationPeer.cs
- WebPartConnectionsConfigureVerb.cs
- QilPatternVisitor.cs
- XmlElementAttributes.cs
- UserMapPath.cs
- Int32KeyFrameCollection.cs
- MetadataWorkspace.cs
- CfgArc.cs
- IFormattable.cs
- TextBox.cs
- HtmlForm.cs
- CodeExporter.cs
- DbParameterHelper.cs
- ConfigXmlElement.cs
- TripleDES.cs
- SoapSchemaExporter.cs
- HttpRequest.cs
- ManifestResourceInfo.cs
- DataGridViewRowPrePaintEventArgs.cs
- RedirectionProxy.cs
- SQLInt64Storage.cs
- Win32PrintDialog.cs
- XmlnsDictionary.cs
- Clock.cs
- Listbox.cs
- TabControlEvent.cs
- HttpProfileGroupBase.cs
- CodeMethodInvokeExpression.cs
- WindowsListViewItemStartMenu.cs
- EventItfInfo.cs
- IncrementalReadDecoders.cs
- ProvidePropertyAttribute.cs
- DataGridViewHeaderCell.cs
- CapabilitiesSection.cs
- DoubleKeyFrameCollection.cs
- DataFormats.cs
- PropertyGeneratedEventArgs.cs
- mongolianshape.cs
- DefaultMemberAttribute.cs
- QueryCacheKey.cs
- wgx_sdk_version.cs
- FormsAuthenticationEventArgs.cs
- WorkflowApplicationCompletedException.cs
- ServiceContractViewControl.cs
- DetailsViewDeletedEventArgs.cs
- UserControlDocumentDesigner.cs
- PowerStatus.cs
- CursorConverter.cs
- followingquery.cs
- IndexedSelectQueryOperator.cs
- PropertyChangedEventArgs.cs
- PointUtil.cs
- CrossSiteScriptingValidation.cs
- DynamicDiscoSearcher.cs
- SrgsSubset.cs
- AffineTransform3D.cs
- ColumnResizeAdorner.cs
- ConfigurationElementCollection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- CLSCompliantAttribute.cs
- TemplateControlCodeDomTreeGenerator.cs
- ExpressionBinding.cs
- SignatureDescription.cs
- DataTemplateSelector.cs
- CroppedBitmap.cs
- _ListenerAsyncResult.cs
- Component.cs
- ManagementQuery.cs
- UpdateRecord.cs
- ToolStripRenderEventArgs.cs
- XpsS0ValidatingLoader.cs
- PaintValueEventArgs.cs
- MSAANativeProvider.cs
- TextEditorSpelling.cs
- ToolBarPanel.cs
- ToolZone.cs
- LoginView.cs
- TimeEnumHelper.cs
- DynamicDataRoute.cs
- SqlGenericUtil.cs