Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- PrePrepareMethodAttribute.cs
- DocumentViewer.cs
- BehaviorEditorPart.cs
- TableCellsCollectionEditor.cs
- RuleEngine.cs
- MenuItem.cs
- DummyDataSource.cs
- _HeaderInfo.cs
- ScrollContentPresenter.cs
- DataGridViewCellEventArgs.cs
- ElementUtil.cs
- SelectionEditor.cs
- DetailsViewPagerRow.cs
- CharEntityEncoderFallback.cs
- ComponentResourceKeyConverter.cs
- FastPropertyAccessor.cs
- DispatcherFrame.cs
- ArrangedElementCollection.cs
- NameNode.cs
- SQLMoney.cs
- SecurityTokenAuthenticator.cs
- XmlSchemaAll.cs
- RecipientInfo.cs
- DesignerTextBoxAdapter.cs
- MsmqException.cs
- IsolatedStorageFilePermission.cs
- DataGridViewColumnCollectionEditor.cs
- PropertyEmitter.cs
- SecurityContext.cs
- SortedList.cs
- Camera.cs
- NativeMethods.cs
- SendActivityDesigner.cs
- ConfigXmlAttribute.cs
- SqlBooleanizer.cs
- StreamInfo.cs
- CryptographicAttribute.cs
- SchemaObjectWriter.cs
- SchemaTypeEmitter.cs
- WSSecurityTokenSerializer.cs
- ByteStream.cs
- LongTypeConverter.cs
- ListViewDeletedEventArgs.cs
- ConnectionPoint.cs
- XmlSchemaException.cs
- Figure.cs
- FocusChangedEventArgs.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- WindowsAuthenticationEventArgs.cs
- FolderBrowserDialog.cs
- ProgressBarHighlightConverter.cs
- DataColumnCollection.cs
- ApplicationSettingsBase.cs
- GetPageCompletedEventArgs.cs
- QuotedPrintableStream.cs
- HostSecurityManager.cs
- RSACryptoServiceProvider.cs
- HideDisabledControlAdapter.cs
- Marshal.cs
- SharedDp.cs
- RightsManagementEncryptedStream.cs
- Attribute.cs
- ReadOnlyActivityGlyph.cs
- TraceSource.cs
- EqualityComparer.cs
- ColorConverter.cs
- SchemaImporterExtensionElement.cs
- DataGridCellEditEndingEventArgs.cs
- ProxyElement.cs
- sqlmetadatafactory.cs
- RunInstallerAttribute.cs
- LocalizationParserHooks.cs
- DurableInstanceManager.cs
- JournalEntryListConverter.cs
- SessionViewState.cs
- HTMLTextWriter.cs
- SqlVersion.cs
- GeometryCombineModeValidation.cs
- ScrollPatternIdentifiers.cs
- GlyphsSerializer.cs
- DesignerLoader.cs
- entityreference_tresulttype.cs
- StrokeSerializer.cs
- PseudoWebRequest.cs
- BamlWriter.cs
- SmiConnection.cs
- EditorPartChrome.cs
- AppSettingsExpressionBuilder.cs
- X509SecurityToken.cs
- HtmlFormWrapper.cs
- QilTypeChecker.cs
- ProgressPage.cs
- formatter.cs
- _Events.cs
- WindowsTooltip.cs
- EventlogProvider.cs
- DoubleKeyFrameCollection.cs
- ContractAdapter.cs
- EntityDataSourceChangingEventArgs.cs
- SessionStateUtil.cs