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
- DataGridClipboardCellContent.cs
- autovalidator.cs
- ColumnMapProcessor.cs
- RequestCachingSection.cs
- BamlLocalizationDictionary.cs
- SqlMethods.cs
- SafeBitVector32.cs
- QueryContinueDragEventArgs.cs
- IntPtr.cs
- UInt64.cs
- BaseValidator.cs
- FormsAuthenticationTicket.cs
- SettingsPropertyCollection.cs
- Queue.cs
- TextTreeRootNode.cs
- CommandSet.cs
- AmbiguousMatchException.cs
- X509Utils.cs
- DbUpdateCommandTree.cs
- NumberFormatInfo.cs
- IIS7WorkerRequest.cs
- IssuanceLicense.cs
- RepeaterItemEventArgs.cs
- ToolStripButton.cs
- _SecureChannel.cs
- xml.cs
- Matrix3D.cs
- InheritedPropertyDescriptor.cs
- TreeSet.cs
- XmlBaseWriter.cs
- ADMembershipProvider.cs
- ObjectStorage.cs
- SchemaTableColumn.cs
- Context.cs
- CharEntityEncoderFallback.cs
- WebPartManagerInternals.cs
- NumberFormatInfo.cs
- BidirectionalDictionary.cs
- DocumentPaginator.cs
- Environment.cs
- UriParserTemplates.cs
- DataGridPreparingCellForEditEventArgs.cs
- PasswordTextContainer.cs
- HttpModulesSection.cs
- Pair.cs
- LOSFormatter.cs
- TraceHandlerErrorFormatter.cs
- CommandManager.cs
- CallTemplateAction.cs
- GridViewCommandEventArgs.cs
- NativeMethods.cs
- HttpSysSettings.cs
- DataSourceBooleanViewSchemaConverter.cs
- DataSourceView.cs
- UIntPtr.cs
- ValidationRuleCollection.cs
- SR.cs
- ScrollPattern.cs
- SecurityPermission.cs
- RemoveStoryboard.cs
- SchemaNamespaceManager.cs
- TokenizerHelper.cs
- DesignerDataTableBase.cs
- HttpResponseHeader.cs
- BoundPropertyEntry.cs
- TimeSpanValidator.cs
- ImageMetadata.cs
- SizeChangedInfo.cs
- PermissionAttributes.cs
- HtmlTableCell.cs
- Win32SafeHandles.cs
- Select.cs
- FilterEventArgs.cs
- ExpressionParser.cs
- Evidence.cs
- LostFocusEventManager.cs
- SystemInfo.cs
- PathSegment.cs
- SizeValueSerializer.cs
- PathBox.cs
- TaskExtensions.cs
- InputBinder.cs
- StylusPointPropertyInfoDefaults.cs
- NativeMethods.cs
- ToolStripItemImageRenderEventArgs.cs
- RayHitTestParameters.cs
- DataGridViewTextBoxCell.cs
- _LoggingObject.cs
- StringAnimationBase.cs
- CommandID.cs
- SplineKeyFrames.cs
- DataGrid.cs
- ToolboxItemLoader.cs
- RichTextBoxConstants.cs
- WhiteSpaceTrimStringConverter.cs
- XslTransform.cs
- SqlError.cs
- LineSegment.cs
- IntegerValidator.cs
- LeaseManager.cs