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
- UpdateException.cs
- ContainerVisual.cs
- FontNamesConverter.cs
- ColumnClickEvent.cs
- Glyph.cs
- DuplexChannel.cs
- SEHException.cs
- AccessedThroughPropertyAttribute.cs
- ColorComboBox.cs
- WebControlsSection.cs
- TemplateKey.cs
- TextProviderWrapper.cs
- VoiceInfo.cs
- ContextInformation.cs
- AssemblyAssociatedContentFileAttribute.cs
- ProxyWebPartConnectionCollection.cs
- PeerContact.cs
- ListViewCommandEventArgs.cs
- ShaderRenderModeValidation.cs
- ValueChangedEventManager.cs
- NoClickablePointException.cs
- DataBindEngine.cs
- FileResponseElement.cs
- RepeaterCommandEventArgs.cs
- BmpBitmapDecoder.cs
- DictionaryEntry.cs
- PolicyVersionConverter.cs
- Drawing.cs
- ECDiffieHellmanCng.cs
- RuntimeArgumentHandle.cs
- HttpException.cs
- MembershipValidatePasswordEventArgs.cs
- DateTimeConverter2.cs
- QueryExpr.cs
- ServiceModelTimeSpanValidator.cs
- ApplyImportsAction.cs
- DbCommandDefinition.cs
- MenuCommandService.cs
- Metadata.cs
- ToolBarButtonClickEvent.cs
- OleDbWrapper.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- TypeSystem.cs
- HostedNamedPipeTransportManager.cs
- SettingsPropertyIsReadOnlyException.cs
- NamedElement.cs
- SystemKeyConverter.cs
- AutomationAttributeInfo.cs
- ColumnTypeConverter.cs
- BigInt.cs
- CompileLiteralTextParser.cs
- TdsRecordBufferSetter.cs
- CodeTypeMember.cs
- Point.cs
- ObjectDataProvider.cs
- DirtyTextRange.cs
- WorkflowOperationBehavior.cs
- EntityParameter.cs
- InvalidateEvent.cs
- TextDpi.cs
- ButtonColumn.cs
- SqlMethodAttribute.cs
- TriggerCollection.cs
- MetadataSection.cs
- CodePageUtils.cs
- DirectoryNotFoundException.cs
- BehaviorEditorPart.cs
- fixedPageContentExtractor.cs
- AppDomainUnloadedException.cs
- EncoderParameters.cs
- ToolStripLocationCancelEventArgs.cs
- DependencyProperty.cs
- SafeCryptContextHandle.cs
- EnumValAlphaComparer.cs
- PropertyChangingEventArgs.cs
- BaseCollection.cs
- DataGridViewSelectedCellCollection.cs
- ConfigurationStrings.cs
- GB18030Encoding.cs
- BooleanKeyFrameCollection.cs
- XmlDomTextWriter.cs
- HotSpotCollection.cs
- MarginsConverter.cs
- UserControlAutomationPeer.cs
- CompModSwitches.cs
- KnownAssembliesSet.cs
- AVElementHelper.cs
- ExpressionLink.cs
- CounterSet.cs
- EntityDataSourceStatementEditor.cs
- GPRECT.cs
- MD5.cs
- SqlBooleanizer.cs
- DataRow.cs
- FilterQuery.cs
- ConnectionConsumerAttribute.cs
- Missing.cs
- DataControlButton.cs
- SubpageParagraph.cs
- Transform3D.cs