Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / RequestResizeEvent.cs / 1 / RequestResizeEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.Drawing;
using Microsoft.Win32;
///
///
///
/// Provides data for the event.
///
///
public class ContentsResizedEventArgs : EventArgs {
readonly Rectangle newRectangle;
///
///
///
/// Initializes a new instance of the
/// class.
///
///
public ContentsResizedEventArgs(Rectangle newRectangle) {
this.newRectangle = newRectangle;
}
///
///
///
/// Represents the requested size of the control.
///
///
public Rectangle NewRectangle {
get {
return newRectangle;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.Drawing;
using Microsoft.Win32;
///
///
///
/// Provides data for the event.
///
///
public class ContentsResizedEventArgs : EventArgs {
readonly Rectangle newRectangle;
///
///
///
/// Initializes a new instance of the
/// class.
///
///
public ContentsResizedEventArgs(Rectangle newRectangle) {
this.newRectangle = newRectangle;
}
///
///
///
/// Represents the requested size of the control.
///
///
public Rectangle NewRectangle {
get {
return newRectangle;
}
}
}
}
// 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
- SqlDataSourceView.cs
- XamlWriter.cs
- Matrix3D.cs
- DataGridViewRowHeaderCell.cs
- EventWaitHandleSecurity.cs
- NamespaceQuery.cs
- NumberSubstitution.cs
- ResourceManagerWrapper.cs
- Cursors.cs
- EncodingInfo.cs
- RadialGradientBrush.cs
- EntitySetDataBindingList.cs
- RectAnimation.cs
- GeometryConverter.cs
- PerformanceCounterCategory.cs
- ExpressionNode.cs
- SQLString.cs
- ToolStripDesignerUtils.cs
- SoapServerMessage.cs
- UnmanagedBitmapWrapper.cs
- DescriptionAttribute.cs
- Label.cs
- Message.cs
- CommonDialog.cs
- SecurityHelper.cs
- oledbconnectionstring.cs
- ObjectStateManager.cs
- TextBoxRenderer.cs
- PropertyValueChangedEvent.cs
- RestHandlerFactory.cs
- ConnectivityStatus.cs
- Parser.cs
- WorkflowApplication.cs
- DbLambda.cs
- Label.cs
- MetadataResolver.cs
- StreamGeometry.cs
- DebugTraceHelper.cs
- DocumentReferenceCollection.cs
- UpdateCommand.cs
- CategoryState.cs
- MostlySingletonList.cs
- CodeTypeReferenceSerializer.cs
- HierarchicalDataBoundControl.cs
- XmlSchemaSimpleContent.cs
- Command.cs
- TcpTransportSecurityElement.cs
- SamlAuthenticationStatement.cs
- MetadataUtil.cs
- IriParsingElement.cs
- Win32Exception.cs
- DeobfuscatingStream.cs
- AssemblyResourceLoader.cs
- ZipIOExtraFieldPaddingElement.cs
- GenericWebPart.cs
- InlineCategoriesDocument.cs
- CssStyleCollection.cs
- WinInet.cs
- TreeNodeStyleCollection.cs
- XmlQueryType.cs
- IdentifierCollection.cs
- ModelUtilities.cs
- DES.cs
- DbBuffer.cs
- FreezableCollection.cs
- ReachPageContentCollectionSerializerAsync.cs
- DataGridViewIntLinkedList.cs
- DataStorage.cs
- MenuBindingsEditorForm.cs
- NavigationPropertyAccessor.cs
- XmlNamedNodeMap.cs
- EntryPointNotFoundException.cs
- AdCreatedEventArgs.cs
- TextReader.cs
- SpeechSynthesizer.cs
- GlobalAclOperationRequirement.cs
- SqlGatherConsumedAliases.cs
- MsmqInputMessagePool.cs
- PngBitmapDecoder.cs
- DisplayNameAttribute.cs
- ReflectionTypeLoadException.cs
- Cell.cs
- DataGrid.cs
- TypeGeneratedEventArgs.cs
- ToolStripPanelCell.cs
- XmlCharType.cs
- HttpProfileGroupBase.cs
- ObjectDataSourceEventArgs.cs
- CatalogZone.cs
- Directory.cs
- SwitchAttribute.cs
- AstTree.cs
- Atom10FormatterFactory.cs
- BinaryFormatter.cs
- DBSchemaRow.cs
- DataBoundLiteralControl.cs
- SizeAnimation.cs
- KnownBoxes.cs
- RulePatternOps.cs
- PermissionRequestEvidence.cs