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
- Application.cs
- ACE.cs
- DockAndAnchorLayout.cs
- PropertyPathConverter.cs
- ScriptResourceInfo.cs
- Rfc2898DeriveBytes.cs
- MgmtConfigurationRecord.cs
- ServiceDurableInstanceContextProvider.cs
- CultureTableRecord.cs
- ImageListUtils.cs
- XmlDictionary.cs
- ScriptControl.cs
- DiscoveryDocumentSerializer.cs
- SymbolPair.cs
- ValueProviderWrapper.cs
- SqlCacheDependencyDatabase.cs
- Lasso.cs
- Point3DKeyFrameCollection.cs
- InternalsVisibleToAttribute.cs
- cookiecontainer.cs
- EncodingTable.cs
- MessageDecoder.cs
- NaturalLanguageHyphenator.cs
- WebBrowserHelper.cs
- SqlBulkCopyColumnMappingCollection.cs
- SignedXml.cs
- ManipulationPivot.cs
- WindowPattern.cs
- ConnectivityStatus.cs
- OdbcStatementHandle.cs
- ReadOnlyHierarchicalDataSource.cs
- HtmlDocument.cs
- SecurityTokenRequirement.cs
- WindowsIPAddress.cs
- DataGridViewBindingCompleteEventArgs.cs
- WebPart.cs
- _LoggingObject.cs
- FontFamilyValueSerializer.cs
- ExpressionBindings.cs
- TextTrailingWordEllipsis.cs
- AnnotationResourceCollection.cs
- WebPartConnectVerb.cs
- Style.cs
- HtmlInputText.cs
- EarlyBoundInfo.cs
- EventLog.cs
- ArgumentException.cs
- TextEndOfSegment.cs
- SpoolingTask.cs
- GACIdentityPermission.cs
- TableLayoutSettingsTypeConverter.cs
- CharacterBuffer.cs
- ConfigXmlCDataSection.cs
- VerbConverter.cs
- MaskedTextProvider.cs
- FixedSOMTable.cs
- AnimationClock.cs
- DesigntimeLicenseContextSerializer.cs
- SqlServer2KCompatibilityCheck.cs
- PersonalizationState.cs
- XmlSerializableServices.cs
- recordstate.cs
- Predicate.cs
- MaskPropertyEditor.cs
- FrameworkTemplate.cs
- SimpleHandlerBuildProvider.cs
- TreeView.cs
- httpapplicationstate.cs
- RepeaterItem.cs
- MissingFieldException.cs
- AsymmetricAlgorithm.cs
- WebPartDeleteVerb.cs
- DerivedKeySecurityToken.cs
- InkCollectionBehavior.cs
- CompensateDesigner.cs
- HttpCookiesSection.cs
- OperatorExpressions.cs
- FormViewDeleteEventArgs.cs
- CommandField.cs
- Application.cs
- FunctionImportMapping.cs
- DataSourceSelectArguments.cs
- LocalFileSettingsProvider.cs
- CallSiteOps.cs
- SchemaMapping.cs
- SqlInternalConnectionSmi.cs
- ToolStripSeparator.cs
- _IPv6Address.cs
- ColumnWidthChangedEvent.cs
- NoClickablePointException.cs
- CompilerGlobalScopeAttribute.cs
- X509RawDataKeyIdentifierClause.cs
- GridViewHeaderRowPresenter.cs
- TrustManagerMoreInformation.cs
- EmptyQuery.cs
- DefaultProxySection.cs
- PartitionResolver.cs
- Synchronization.cs
- ItemsControlAutomationPeer.cs
- ValidatedControlConverter.cs