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
- MessageLogger.cs
- BuildManager.cs
- XmlChildEnumerator.cs
- PersistChildrenAttribute.cs
- DataGridPageChangedEventArgs.cs
- AdRotator.cs
- AudioStateChangedEventArgs.cs
- XmlBindingWorker.cs
- SystemIPGlobalStatistics.cs
- DocumentPageViewAutomationPeer.cs
- WhiteSpaceTrimStringConverter.cs
- OperandQuery.cs
- SystemIPGlobalProperties.cs
- StorageMappingFragment.cs
- MultiTargetingUtil.cs
- BaseCollection.cs
- EventManager.cs
- WebServiceClientProxyGenerator.cs
- HandlerBase.cs
- ScriptControl.cs
- ObjectDataSourceView.cs
- DateTimeFormatInfoScanner.cs
- ScriptControlManager.cs
- RawMouseInputReport.cs
- CalendarDesigner.cs
- UriScheme.cs
- CodeAttributeDeclaration.cs
- FastEncoder.cs
- ClientProxyGenerator.cs
- DynamicRenderer.cs
- XmlWriter.cs
- SqlDataSource.cs
- IncrementalReadDecoders.cs
- ConfigurationElementProperty.cs
- DocComment.cs
- X509ClientCertificateAuthenticationElement.cs
- AsyncStreamReader.cs
- NotImplementedException.cs
- DocumentApplication.cs
- QueryExpr.cs
- SamlSecurityToken.cs
- DefaultClaimSet.cs
- SettingsPropertyValue.cs
- TaiwanLunisolarCalendar.cs
- BindingsCollection.cs
- CodeDomDecompiler.cs
- Win32KeyboardDevice.cs
- SymbolDocumentGenerator.cs
- ListBox.cs
- DbDataReader.cs
- InvalidAsynchronousStateException.cs
- SubMenuStyleCollection.cs
- EventHandlerService.cs
- ListBindingHelper.cs
- Int16.cs
- EdmType.cs
- TextTreeUndo.cs
- cache.cs
- XmlUtil.cs
- AttachedAnnotationChangedEventArgs.cs
- ExtensionSurface.cs
- SizeLimitedCache.cs
- FunctionDefinition.cs
- Config.cs
- Task.cs
- TypedTableBase.cs
- ToolStripInSituService.cs
- HtmlTextArea.cs
- LineSegment.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- TeredoHelper.cs
- ObjectStorage.cs
- BitmapEffect.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- RepeatButton.cs
- DataRelationPropertyDescriptor.cs
- X509Certificate2Collection.cs
- WebScriptMetadataFormatter.cs
- IdnMapping.cs
- ExtentKey.cs
- SoapFault.cs
- HtmlGenericControl.cs
- HyperLinkStyle.cs
- ArgumentException.cs
- cache.cs
- Utils.cs
- PropertyValue.cs
- InfoCardCryptoHelper.cs
- StrongNameMembershipCondition.cs
- ProviderConnectionPoint.cs
- CommandDevice.cs
- EpmCustomContentDeSerializer.cs
- ModifyActivitiesPropertyDescriptor.cs
- XMLUtil.cs
- InheritanceService.cs
- ClientRuntime.cs
- UnsafeNativeMethods.cs
- RegistryConfigurationProvider.cs
- RequestQueryProcessor.cs
- DbConnectionPoolOptions.cs