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
- PrintPageEvent.cs
- ToolBarTray.cs
- keycontainerpermission.cs
- WebHeaderCollection.cs
- FtpWebResponse.cs
- ErrorWrapper.cs
- ResourceDescriptionAttribute.cs
- ActivityBindForm.Designer.cs
- PropertyTabAttribute.cs
- StickyNoteHelper.cs
- KnownIds.cs
- cache.cs
- OutgoingWebRequestContext.cs
- EntityTypeBase.cs
- DataSetMappper.cs
- HintTextMaxWidthConverter.cs
- SystemInformation.cs
- BaseInfoTable.cs
- DocumentationServerProtocol.cs
- CompilerErrorCollection.cs
- ObjectStateManager.cs
- DateTimePicker.cs
- DurableTimerExtension.cs
- SafeRegistryHandle.cs
- ConcurrentBag.cs
- Calendar.cs
- CounterSetInstance.cs
- SerialErrors.cs
- Permission.cs
- SQLBytesStorage.cs
- ArcSegment.cs
- DebugHandleTracker.cs
- HiddenFieldDesigner.cs
- TrimSurroundingWhitespaceAttribute.cs
- TableHeaderCell.cs
- Utils.cs
- Container.cs
- HttpCookieCollection.cs
- DatePickerAutomationPeer.cs
- ModuleConfigurationInfo.cs
- NativeMethods.cs
- XmlCDATASection.cs
- MergablePropertyAttribute.cs
- ObfuscateAssemblyAttribute.cs
- MappedMetaModel.cs
- SoapSchemaImporter.cs
- XmlDictionaryReaderQuotas.cs
- TransformGroup.cs
- ConfigurationManagerHelperFactory.cs
- Rectangle.cs
- SystemUdpStatistics.cs
- _HeaderInfo.cs
- WebControlAdapter.cs
- EnumerableWrapperWeakToStrong.cs
- WS2007FederationHttpBindingElement.cs
- Bits.cs
- CommentEmitter.cs
- SafeReadContext.cs
- DrawItemEvent.cs
- QilGeneratorEnv.cs
- ValidatingReaderNodeData.cs
- WorkflowCreationContext.cs
- MaterialGroup.cs
- GridViewColumnHeader.cs
- RelatedImageListAttribute.cs
- AssemblyHelper.cs
- UIElementPropertyUndoUnit.cs
- VisualTreeHelper.cs
- BadImageFormatException.cs
- TaskHelper.cs
- SettingsSection.cs
- AnonymousIdentificationSection.cs
- Win32.cs
- EncoderReplacementFallback.cs
- PageWrapper.cs
- BezierSegment.cs
- ObjectIDGenerator.cs
- HtmlControl.cs
- CodeAttachEventStatement.cs
- CheckPair.cs
- DBConcurrencyException.cs
- InputReport.cs
- DSASignatureDeformatter.cs
- CallbackValidatorAttribute.cs
- ListSourceHelper.cs
- CriticalFinalizerObject.cs
- CompilerParameters.cs
- DetailsView.cs
- ExpressionList.cs
- ScrollProperties.cs
- ControlDesigner.cs
- URLString.cs
- SafeNativeMethods.cs
- TransactionScope.cs
- MergeFilterQuery.cs
- TraceUtility.cs
- Bitmap.cs
- ColorTransform.cs
- CngAlgorithm.cs
- UInt32.cs