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
- PagedDataSource.cs
- ExpandCollapsePattern.cs
- EventHandlerList.cs
- FunctionImportMapping.cs
- Normalization.cs
- IPGlobalProperties.cs
- ContainerAction.cs
- MenuItemBindingCollection.cs
- DeploymentSectionCache.cs
- ToolStripProgressBar.cs
- ConfigurationValue.cs
- AssociatedControlConverter.cs
- KeyNotFoundException.cs
- RowUpdatedEventArgs.cs
- PagePropertiesChangingEventArgs.cs
- ErrorHandler.cs
- ProcessHost.cs
- __Filters.cs
- RestHandler.cs
- Paragraph.cs
- MailBnfHelper.cs
- DelimitedListTraceListener.cs
- RectangleGeometry.cs
- LinkUtilities.cs
- WorkflowRuntimeEndpoint.cs
- IdentityNotMappedException.cs
- ErrorFormatterPage.cs
- GatewayIPAddressInformationCollection.cs
- CompilerLocalReference.cs
- RuntimeVariableList.cs
- PerformanceCounterPermissionAttribute.cs
- SQLRoleProvider.cs
- FullTrustAssembly.cs
- Int16Converter.cs
- CutCopyPasteHelper.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- EndpointFilterProvider.cs
- Rectangle.cs
- PrintingPermissionAttribute.cs
- NullableConverter.cs
- CodeDirectionExpression.cs
- MetadataCache.cs
- SqlDataRecord.cs
- DetailsViewDeleteEventArgs.cs
- SynchronizedInputHelper.cs
- TextControlDesigner.cs
- TableCellAutomationPeer.cs
- InputScopeManager.cs
- AttributeCollection.cs
- ToolStripHighContrastRenderer.cs
- AudioException.cs
- TypeDescriptionProvider.cs
- SiblingIterators.cs
- X509Certificate2.cs
- WebServiceAttribute.cs
- IndexedWhereQueryOperator.cs
- ColumnResizeAdorner.cs
- XmlSchemaDatatype.cs
- ScriptServiceAttribute.cs
- WindowsListViewItem.cs
- UInt64Converter.cs
- PropertyInfoSet.cs
- WebZone.cs
- XmlSchemaValidator.cs
- StorageInfo.cs
- GetWorkflowTree.cs
- UriSectionData.cs
- SaveFileDialogDesigner.cs
- AdPostCacheSubstitution.cs
- StorageMappingItemLoader.cs
- PieceDirectory.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- DesignTimeParseData.cs
- ConfigUtil.cs
- DefaultAssemblyResolver.cs
- AssemblyResourceLoader.cs
- PtsContext.cs
- StructuralCache.cs
- Baml6ConstructorInfo.cs
- SplitterDesigner.cs
- EventToken.cs
- QueryOperator.cs
- Panel.cs
- BaseProcessor.cs
- BaseCodeDomTreeGenerator.cs
- DateTimeFormat.cs
- XmlSerializationReader.cs
- DeadCharTextComposition.cs
- AutomationProperties.cs
- GroupQuery.cs
- PrivilegedConfigurationManager.cs
- HostedHttpTransportManager.cs
- WindowVisualStateTracker.cs
- Pens.cs
- PeerApplicationLaunchInfo.cs
- XmlSchemaComplexType.cs
- SystemSounds.cs
- FileSystemWatcher.cs
- NavigationProperty.cs
- ProcessingInstructionAction.cs