Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECT.cs / 2 / 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
- DataGridTableCollection.cs
- HelpHtmlBuilder.cs
- EntryWrittenEventArgs.cs
- GenericUriParser.cs
- PeerNameResolver.cs
- WebPartEditorCancelVerb.cs
- BuildResultCache.cs
- CqlIdentifiers.cs
- GroupLabel.cs
- ScriptingProfileServiceSection.cs
- IFlowDocumentViewer.cs
- diagnosticsswitches.cs
- SoapTransportImporter.cs
- ReadOnlyCollection.cs
- NativeMethods.cs
- CoTaskMemSafeHandle.cs
- TreeNodeStyle.cs
- PropertyGridView.cs
- ProgressBar.cs
- InheritanceUI.cs
- XmlEncoding.cs
- ControlAdapter.cs
- TextEffect.cs
- ToolBarOverflowPanel.cs
- StagingAreaInputItem.cs
- MessageQueueCriteria.cs
- TextBoxBase.cs
- GenericPrincipal.cs
- DataGridSortCommandEventArgs.cs
- SchemaType.cs
- Point3DCollection.cs
- TemplateBindingExpression.cs
- CodeIterationStatement.cs
- TraceHelpers.cs
- iisPickupDirectory.cs
- DrawingVisualDrawingContext.cs
- PropertyPathWorker.cs
- ElementsClipboardData.cs
- TransformerConfigurationWizardBase.cs
- PaperSource.cs
- BinaryOperationBinder.cs
- Stroke2.cs
- NativeCppClassAttribute.cs
- RemoteTokenFactory.cs
- StylusEditingBehavior.cs
- ControlDesigner.cs
- InstanceBehavior.cs
- WindowsListViewScroll.cs
- ComplexLine.cs
- IPEndPoint.cs
- DuplicateWaitObjectException.cs
- parserscommon.cs
- CustomValidator.cs
- Byte.cs
- ContextDataSource.cs
- Int64AnimationBase.cs
- CustomAttributeBuilder.cs
- OdbcEnvironment.cs
- LinkGrep.cs
- RegexCapture.cs
- EdmSchemaAttribute.cs
- FloatMinMaxAggregationOperator.cs
- SpecialTypeDataContract.cs
- BlurEffect.cs
- OleDbSchemaGuid.cs
- NumberFunctions.cs
- XPathDocumentIterator.cs
- DropAnimation.xaml.cs
- XmlILCommand.cs
- SvcMapFileSerializer.cs
- ExpandCollapseProviderWrapper.cs
- LocationUpdates.cs
- ComplexType.cs
- SqlMetaData.cs
- PartBasedPackageProperties.cs
- OpenFileDialog.cs
- BrowserDefinition.cs
- InputManager.cs
- WebPartHelpVerb.cs
- InsufficientMemoryException.cs
- CellCreator.cs
- SchemaType.cs
- SByte.cs
- FormattedText.cs
- ComponentConverter.cs
- FormViewDeleteEventArgs.cs
- DataViewListener.cs
- SqlDelegatedTransaction.cs
- Rules.cs
- AppSettingsSection.cs
- CriticalFinalizerObject.cs
- ConnectionManagementElementCollection.cs
- Variant.cs
- LoginUtil.cs
- XmlSchemaComplexContentExtension.cs
- SimpleMailWebEventProvider.cs
- ResourceDisplayNameAttribute.cs
- DataGridColumnDropSeparator.cs
- TimeoutConverter.cs
- KernelTypeValidation.cs