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
- TypeResolver.cs
- SecondaryViewProvider.cs
- InstalledFontCollection.cs
- ElementNotAvailableException.cs
- MergeLocalizationDirectives.cs
- MonthCalendar.cs
- SerializationEventsCache.cs
- TypeLibConverter.cs
- CqlQuery.cs
- SystemKeyConverter.cs
- CommonXSendMessage.cs
- ArrayConverter.cs
- AssociationSet.cs
- __Error.cs
- ProviderException.cs
- RedirectionProxy.cs
- DebuggerAttributes.cs
- NextPreviousPagerField.cs
- WindowsListViewGroupHelper.cs
- FontFamily.cs
- WebHttpSecurity.cs
- PopupRoot.cs
- KeyTimeConverter.cs
- BamlResourceContent.cs
- TransformerInfoCollection.cs
- SendMailErrorEventArgs.cs
- DesignerWidgets.cs
- FlowLayout.cs
- XmlSchemaFacet.cs
- EntityCommand.cs
- HScrollBar.cs
- LayoutEditorPart.cs
- UnsafeNativeMethods.cs
- SecurityState.cs
- DeferredTextReference.cs
- DataSourceCollectionBase.cs
- Button.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- UnsafeNetInfoNativeMethods.cs
- VersionPair.cs
- XmlStringTable.cs
- StringAttributeCollection.cs
- WebServiceReceive.cs
- Compiler.cs
- WebRequestModuleElement.cs
- XmlSchemaSimpleContent.cs
- CalendarButtonAutomationPeer.cs
- HtmlControlAdapter.cs
- TrackingServices.cs
- Brush.cs
- BinHexDecoder.cs
- RIPEMD160.cs
- AccessDataSource.cs
- PermissionSetEnumerator.cs
- EditorZone.cs
- OleDbCommand.cs
- EventMappingSettingsCollection.cs
- MetadataItemEmitter.cs
- loginstatus.cs
- ItemsPresenter.cs
- ProviderBase.cs
- ValueTypeFixupInfo.cs
- BaseDataBoundControl.cs
- WebPartTracker.cs
- EncryptedKey.cs
- RelationshipEndCollection.cs
- SQLBytesStorage.cs
- Encoder.cs
- _SSPISessionCache.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ChannelManagerHelpers.cs
- BitmapEffectInputData.cs
- FontWeight.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- DBDataPermission.cs
- PropertyItem.cs
- CatalogZone.cs
- ProvideValueServiceProvider.cs
- SecurityException.cs
- EntityContainerEmitter.cs
- ComponentEditorForm.cs
- FontDialog.cs
- ExpressionWriter.cs
- MultipartContentParser.cs
- CellQuery.cs
- HostingPreferredMapPath.cs
- TypeDelegator.cs
- XmlSchemaAppInfo.cs
- AuthenticateEventArgs.cs
- SQLResource.cs
- PanelStyle.cs
- ResXResourceReader.cs
- BStrWrapper.cs
- Partitioner.cs
- FilterableAttribute.cs
- AuthorizationSection.cs
- DelegateCompletionCallbackWrapper.cs
- ActivityDesignerAccessibleObject.cs
- XmlSchemaComplexType.cs
- HttpMethodConstraint.cs