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
- Span.cs
- FilterableData.cs
- QuotedPrintableStream.cs
- HtmlMeta.cs
- DbException.cs
- SiteMapDataSource.cs
- WebServiceHost.cs
- RequestNavigateEventArgs.cs
- DrawTreeNodeEventArgs.cs
- DataPagerCommandEventArgs.cs
- UpdatePanelTriggerCollection.cs
- WebReference.cs
- IPEndPointCollection.cs
- FormViewCommandEventArgs.cs
- AssemblyAttributes.cs
- RichTextBoxDesigner.cs
- WindowsListViewScroll.cs
- ButtonAutomationPeer.cs
- ProfileManager.cs
- AsymmetricAlgorithm.cs
- SiteMapPath.cs
- HandlerBase.cs
- TypeLibConverter.cs
- WebServiceData.cs
- SendActivityValidator.cs
- PrePostDescendentsWalker.cs
- DesignerValidatorAdapter.cs
- sqlstateclientmanager.cs
- MouseDevice.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- XamlGridLengthSerializer.cs
- SqlError.cs
- SubstitutionList.cs
- CodeVariableDeclarationStatement.cs
- SchemaAttDef.cs
- Brush.cs
- ProgressBarRenderer.cs
- FlowDocumentReaderAutomationPeer.cs
- EventArgs.cs
- ConfigXmlComment.cs
- RowsCopiedEventArgs.cs
- TextFragmentEngine.cs
- InternalRelationshipCollection.cs
- HiddenField.cs
- HtmlSelect.cs
- FormatterServices.cs
- NetMsmqBinding.cs
- DbTypeMap.cs
- SqlWebEventProvider.cs
- InstanceCreationEditor.cs
- ToolStripDesignerAvailabilityAttribute.cs
- EditCommandColumn.cs
- SamlAssertionKeyIdentifierClause.cs
- PlatformCulture.cs
- Rijndael.cs
- DirectionalLight.cs
- processwaithandle.cs
- PointConverter.cs
- CodeCastExpression.cs
- TrackingStringDictionary.cs
- Content.cs
- ArgumentOutOfRangeException.cs
- JavascriptCallbackBehaviorAttribute.cs
- EnterpriseServicesHelper.cs
- MessageCredentialType.cs
- ObjectListCommand.cs
- WindowsListViewScroll.cs
- DropDownList.cs
- CacheEntry.cs
- MobileControlsSectionHelper.cs
- HttpConfigurationSystem.cs
- IPCCacheManager.cs
- COM2ExtendedUITypeEditor.cs
- TokenBasedSetEnumerator.cs
- BuildProvider.cs
- CategoryNameCollection.cs
- WebPartUtil.cs
- FolderBrowserDialogDesigner.cs
- XPathChildIterator.cs
- AuthorizationSection.cs
- WebPartDeleteVerb.cs
- KernelTypeValidation.cs
- Atom10ItemFormatter.cs
- DATA_BLOB.cs
- Nullable.cs
- TagElement.cs
- DataGridCheckBoxColumn.cs
- RenderDataDrawingContext.cs
- ProtocolsConfigurationEntry.cs
- DataGridViewAdvancedBorderStyle.cs
- WindowsGraphicsWrapper.cs
- NameTable.cs
- Visual3D.cs
- SynchronizedInputHelper.cs
- OSFeature.cs
- ModuleBuilderData.cs
- Section.cs
- ProofTokenCryptoHandle.cs
- SettingsPropertyWrongTypeException.cs
- KeysConverter.cs