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
- DataRow.cs
- UrlAuthFailureHandler.cs
- RelatedView.cs
- SignatureHelper.cs
- EventData.cs
- ValidationEventArgs.cs
- MailWriter.cs
- OdbcFactory.cs
- EntityConnectionStringBuilderItem.cs
- HintTextMaxWidthConverter.cs
- PlatformCulture.cs
- WorkflowServiceInstance.cs
- DataControlReferenceCollection.cs
- DbProviderFactory.cs
- ImageDrawing.cs
- PointCollection.cs
- SqlClientFactory.cs
- XmlTextReaderImplHelpers.cs
- TemplateField.cs
- ImageConverter.cs
- Converter.cs
- ClientTarget.cs
- SessionEndingCancelEventArgs.cs
- SqlLiftIndependentRowExpressions.cs
- XmlNamespaceMapping.cs
- KeyGesture.cs
- EncodingNLS.cs
- SafeBitVector32.cs
- DataGridViewAccessibleObject.cs
- CircleHotSpot.cs
- LogSwitch.cs
- TraceContext.cs
- MemoryPressure.cs
- TracingConnection.cs
- OutputBuffer.cs
- OracleDataAdapter.cs
- ToolTipAutomationPeer.cs
- CaseExpr.cs
- DBCommand.cs
- ElapsedEventArgs.cs
- DataBoundControlHelper.cs
- sitestring.cs
- SqlReferenceCollection.cs
- DeferrableContentConverter.cs
- SafeEventHandle.cs
- WebEventTraceProvider.cs
- PersonalizationStateInfoCollection.cs
- EntityEntry.cs
- AtomPub10ServiceDocumentFormatter.cs
- TCEAdapterGenerator.cs
- CoTaskMemUnicodeSafeHandle.cs
- TextServicesHost.cs
- SoapAttributeOverrides.cs
- ArrayWithOffset.cs
- nulltextnavigator.cs
- CheckedListBox.cs
- FactoryRecord.cs
- XmlConvert.cs
- CachingHintValidation.cs
- ISCIIEncoding.cs
- EntityContainerRelationshipSet.cs
- LongValidatorAttribute.cs
- CapabilitiesUse.cs
- _SingleItemRequestCache.cs
- ElementNotEnabledException.cs
- Imaging.cs
- PersistChildrenAttribute.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ZipIOLocalFileBlock.cs
- DataPagerFieldItem.cs
- StateWorkerRequest.cs
- OleDbErrorCollection.cs
- RegistryConfigurationProvider.cs
- BitmapEffect.cs
- httpapplicationstate.cs
- StringUtil.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- TableAutomationPeer.cs
- ProxyWebPartManager.cs
- WindowsTreeView.cs
- PointAnimationUsingPath.cs
- CorePropertiesFilter.cs
- WebPartConnectionCollection.cs
- LineGeometry.cs
- DefaultAsyncDataDispatcher.cs
- SendActivityValidator.cs
- DataQuery.cs
- MetabaseSettings.cs
- TableRowCollection.cs
- Bezier.cs
- RuntimeEnvironment.cs
- PasswordDeriveBytes.cs
- CustomTokenProvider.cs
- OdbcEnvironment.cs
- RootNamespaceAttribute.cs
- cache.cs
- CodeDelegateCreateExpression.cs
- BooleanToVisibilityConverter.cs
- XmlDownloadManager.cs
- XmlBaseReader.cs