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
- WindowsProgressbar.cs
- WebPartCloseVerb.cs
- XmlWriter.cs
- TypeInitializationException.cs
- HttpProfileGroupBase.cs
- RenderingEventArgs.cs
- ColumnHeader.cs
- ConstNode.cs
- XamlFilter.cs
- DataServiceQueryContinuation.cs
- PolicyLevel.cs
- UnsafeNetInfoNativeMethods.cs
- Int32Rect.cs
- VideoDrawing.cs
- sortedlist.cs
- ExtendedProperty.cs
- DataServiceQueryOfT.cs
- AttributeAction.cs
- OrderedDictionaryStateHelper.cs
- _SslSessionsCache.cs
- TranslateTransform3D.cs
- QueuePathDialog.cs
- PartialTrustVisibleAssembly.cs
- datacache.cs
- FixedSOMContainer.cs
- CodeCommentStatementCollection.cs
- ExpressionWriter.cs
- PictureBox.cs
- RegionData.cs
- RolePrincipal.cs
- ByteStack.cs
- FontDialog.cs
- PenThreadWorker.cs
- HttpRawResponse.cs
- AddInController.cs
- FeatureSupport.cs
- GeneralTransform3DGroup.cs
- TemplateKey.cs
- FormatterConverter.cs
- WebPartZoneCollection.cs
- DataGridColumnReorderingEventArgs.cs
- CheckableControlBaseAdapter.cs
- OverrideMode.cs
- ToolStripOverflowButton.cs
- BaseCollection.cs
- XmlElementAttributes.cs
- CultureSpecificStringDictionary.cs
- NegotiationTokenAuthenticatorStateCache.cs
- Constraint.cs
- ByteRangeDownloader.cs
- basemetadatamappingvisitor.cs
- HtmlEmptyTagControlBuilder.cs
- SuppressMergeCheckAttribute.cs
- ProtocolsConfigurationEntry.cs
- SafeReversePInvokeHandle.cs
- Tokenizer.cs
- AnnotationHelper.cs
- ProtocolsInstallComponent.cs
- EventWaitHandle.cs
- TextAutomationPeer.cs
- SettingsBase.cs
- PanelStyle.cs
- Config.cs
- Mutex.cs
- CssClassPropertyAttribute.cs
- WebCategoryAttribute.cs
- PropertyDescriptorGridEntry.cs
- HtmlLink.cs
- MailMessage.cs
- Accessors.cs
- Delegate.cs
- SchemaImporterExtensionElement.cs
- CrossAppDomainChannel.cs
- Rule.cs
- InstallerTypeAttribute.cs
- WindowsContainer.cs
- SqlConnectionPoolGroupProviderInfo.cs
- WeakReferenceList.cs
- DateTimeConstantAttribute.cs
- ParameterModifier.cs
- ConstrainedDataObject.cs
- XmlSchemaImporter.cs
- IsolatedStorageFile.cs
- ConfigXmlCDataSection.cs
- PathTooLongException.cs
- DataTableMappingCollection.cs
- DataTemplateSelector.cs
- PageCache.cs
- DiscreteKeyFrames.cs
- XpsPackagingPolicy.cs
- NavigationFailedEventArgs.cs
- HttpRequest.cs
- XmlConvert.cs
- LateBoundBitmapDecoder.cs
- EDesignUtil.cs
- FixedSOMTableRow.cs
- SchemaCollectionCompiler.cs
- BinHexDecoder.cs
- XmlSchemaInferenceException.cs
- ReadWriteObjectLock.cs