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
- DBParameter.cs
- Identity.cs
- DispatcherProcessingDisabled.cs
- XmlUtilWriter.cs
- ListItemCollection.cs
- KnowledgeBase.cs
- XmlSchemaExternal.cs
- CodeIterationStatement.cs
- TextTabProperties.cs
- GenericRootAutomationPeer.cs
- Clipboard.cs
- IndexingContentUnit.cs
- XPathItem.cs
- XamlFxTrace.cs
- SqlXmlStorage.cs
- DeviceSpecificDesigner.cs
- HighContrastHelper.cs
- DataGridViewCheckBoxCell.cs
- XmlElementCollection.cs
- OrderedDictionary.cs
- ScalarOps.cs
- BulletChrome.cs
- Substitution.cs
- HashHelper.cs
- HtmlInputCheckBox.cs
- DateTimeFormat.cs
- ExpressionBuilderContext.cs
- RoleService.cs
- XmlSchemaExternal.cs
- OAVariantLib.cs
- XmlNodeChangedEventArgs.cs
- AsyncCompletedEventArgs.cs
- SamlSerializer.cs
- FlowDocumentReaderAutomationPeer.cs
- BindingContext.cs
- DocumentPageView.cs
- HitTestWithPointDrawingContextWalker.cs
- HtmlCalendarAdapter.cs
- ProgressBarAutomationPeer.cs
- HwndSource.cs
- DesignerOptionService.cs
- IndicShape.cs
- MainMenu.cs
- IntSecurity.cs
- Annotation.cs
- ILGenerator.cs
- BlobPersonalizationState.cs
- SqlUserDefinedAggregateAttribute.cs
- Int64KeyFrameCollection.cs
- EventTrigger.cs
- ListViewDeletedEventArgs.cs
- OdbcDataAdapter.cs
- InternalResources.cs
- MediaCommands.cs
- CodePageUtils.cs
- ImpersonationOption.cs
- SystemMulticastIPAddressInformation.cs
- ControlPaint.cs
- RemotingAttributes.cs
- WebControlAdapter.cs
- PropertyKey.cs
- EpmHelper.cs
- DesignerMetadata.cs
- ItemChangedEventArgs.cs
- GeneralTransform3D.cs
- SByte.cs
- HttpPostedFileBase.cs
- NameNode.cs
- AuthenticationConfig.cs
- ToolbarAUtomationPeer.cs
- DataGridHeaderBorder.cs
- XamlDesignerSerializationManager.cs
- SignedXml.cs
- NetCodeGroup.cs
- EncodingInfo.cs
- ConfigsHelper.cs
- IntegerValidator.cs
- SchemaAttDef.cs
- SessionStateItemCollection.cs
- RadialGradientBrush.cs
- ParameterModifier.cs
- TypeLoadException.cs
- Clipboard.cs
- XmlElementCollection.cs
- IntranetCredentialPolicy.cs
- XmlWhitespace.cs
- CompressionTransform.cs
- InputReferenceExpression.cs
- FormsAuthenticationUser.cs
- DecoderExceptionFallback.cs
- TextTreeTextBlock.cs
- DocumentSchemaValidator.cs
- OraclePermission.cs
- ValidatorCollection.cs
- precedingsibling.cs
- TextAnchor.cs
- TreeWalker.cs
- ListItem.cs
- InternalConfigHost.cs
- ImageButton.cs