Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XPathDocument.cs
- DelegateInArgument.cs
- Classification.cs
- WindowInteractionStateTracker.cs
- BaseValidator.cs
- AddressAlreadyInUseException.cs
- DrawingBrush.cs
- Memoizer.cs
- SessionEndingEventArgs.cs
- MgmtResManager.cs
- Rfc2898DeriveBytes.cs
- XmlAutoDetectWriter.cs
- TypefaceMap.cs
- MetadataItemCollectionFactory.cs
- CompilationRelaxations.cs
- SeparatorAutomationPeer.cs
- LinqToSqlWrapper.cs
- SelectionPattern.cs
- NamespaceQuery.cs
- ReferencedCollectionType.cs
- Underline.cs
- ParseNumbers.cs
- ConnectorMovedEventArgs.cs
- BindingList.cs
- ConnectionStringsExpressionEditor.cs
- OleDbError.cs
- Vars.cs
- EventLogLink.cs
- SecureUICommand.cs
- EditorZone.cs
- HotCommands.cs
- DataControlButton.cs
- CachedCompositeFamily.cs
- control.ime.cs
- SqlDataSourceEnumerator.cs
- ControlPropertyNameConverter.cs
- InternalBufferOverflowException.cs
- RequestValidator.cs
- _UriTypeConverter.cs
- FormsAuthenticationUser.cs
- OutOfMemoryException.cs
- XamlVector3DCollectionSerializer.cs
- PackageProperties.cs
- IPipelineRuntime.cs
- InputScopeNameConverter.cs
- HttpResponseWrapper.cs
- BufferedGraphicsContext.cs
- WebContext.cs
- CqlErrorHelper.cs
- LambdaCompiler.Generated.cs
- ServiceRoute.cs
- Filter.cs
- FileSystemWatcher.cs
- AttributeUsageAttribute.cs
- HttpSessionStateBase.cs
- TemplateComponentConnector.cs
- DataSourceHelper.cs
- WebPartDisplayModeEventArgs.cs
- RadioButtonFlatAdapter.cs
- MaskedTextBoxTextEditorDropDown.cs
- XmlMembersMapping.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- WinFormsUtils.cs
- LogicalMethodInfo.cs
- EdmComplexPropertyAttribute.cs
- EncoderNLS.cs
- ConfigXmlSignificantWhitespace.cs
- ReflectEventDescriptor.cs
- AlternationConverter.cs
- ExceptionNotification.cs
- TickBar.cs
- XmlQueryTypeFactory.cs
- RegexMatch.cs
- TextDecoration.cs
- Roles.cs
- GeneralTransform3DTo2D.cs
- Regex.cs
- CodeIterationStatement.cs
- DataGridCaption.cs
- BidPrivateBase.cs
- QueueProcessor.cs
- CustomCredentialPolicy.cs
- TemplateInstanceAttribute.cs
- StringCollection.cs
- SQLMoney.cs
- Triplet.cs
- ObjectCloneHelper.cs
- SR.cs
- SerializationSectionGroup.cs
- ScriptManagerProxy.cs
- RequestValidator.cs
- MobileListItem.cs
- FixedHighlight.cs
- BitmapInitialize.cs
- ContextMenuStrip.cs
- FamilyMapCollection.cs
- CryptoHelper.cs
- DependencyObject.cs
- TargetParameterCountException.cs
- odbcmetadatafactory.cs