Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Printing / QueryPageSettingsEventArgs.cs / 1 / QueryPageSettingsEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Drawing.Printing {
using System.Diagnostics;
using System;
using System.Drawing;
using Microsoft.Win32;
using System.ComponentModel;
///
///
///
/// Provides data for the event.
///
///
public class QueryPageSettingsEventArgs : PrintEventArgs {
private PageSettings pageSettings;
///
///
///
/// Initializes a new instance of the class.
///
///
public QueryPageSettingsEventArgs(PageSettings pageSettings) : base() {
this.pageSettings = pageSettings;
}
///
///
///
/// Gets or sets the page settings for the page to be printed.
///
///
public PageSettings PageSettings {
get { return pageSettings;}
set {
if (value == null)
value = new PageSettings();
pageSettings = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Drawing.Printing {
using System.Diagnostics;
using System;
using System.Drawing;
using Microsoft.Win32;
using System.ComponentModel;
///
///
///
/// Provides data for the event.
///
///
public class QueryPageSettingsEventArgs : PrintEventArgs {
private PageSettings pageSettings;
///
///
///
/// Initializes a new instance of the class.
///
///
public QueryPageSettingsEventArgs(PageSettings pageSettings) : base() {
this.pageSettings = pageSettings;
}
///
///
///
/// Gets or sets the page settings for the page to be printed.
///
///
public PageSettings PageSettings {
get { return pageSettings;}
set {
if (value == null)
value = new PageSettings();
pageSettings = value;
}
}
}
}
// 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
- DataGridViewCellCollection.cs
- RoutedEventConverter.cs
- LinqDataSourceDisposeEventArgs.cs
- VisualTarget.cs
- DurableMessageDispatchInspector.cs
- DataGridTableCollection.cs
- ReversePositionQuery.cs
- QuaternionRotation3D.cs
- ListenerAdapter.cs
- ControlSerializer.cs
- LeftCellWrapper.cs
- HGlobalSafeHandle.cs
- ZeroOpNode.cs
- backend.cs
- ControlCachePolicy.cs
- ZoneIdentityPermission.cs
- TraversalRequest.cs
- BitmapEffectInput.cs
- AsymmetricCryptoHandle.cs
- Win32MouseDevice.cs
- Config.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- Directory.cs
- Baml2006KnownTypes.cs
- RijndaelManaged.cs
- DateBoldEvent.cs
- CheckBoxPopupAdapter.cs
- CheckBoxList.cs
- TagPrefixAttribute.cs
- mediaclock.cs
- DbInsertCommandTree.cs
- SqlStatistics.cs
- UniqueConstraint.cs
- TableChangeProcessor.cs
- HashJoinQueryOperatorEnumerator.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SchemaManager.cs
- GridItemProviderWrapper.cs
- CultureSpecificStringDictionary.cs
- WebResourceAttribute.cs
- Vector3DCollection.cs
- CryptoProvider.cs
- ReplyChannel.cs
- SQLChars.cs
- RightsManagementSuppressedStream.cs
- SQLDateTimeStorage.cs
- CodeGotoStatement.cs
- AccessibleObject.cs
- FormClosedEvent.cs
- BehaviorEditorPart.cs
- PersonalizationStateQuery.cs
- SafeEventLogWriteHandle.cs
- ToolboxItemAttribute.cs
- LinearGradientBrush.cs
- HwndSource.cs
- SmiEventSink_DeferedProcessing.cs
- PathFigureCollection.cs
- Exceptions.cs
- FakeModelItemImpl.cs
- UInt32Converter.cs
- SimpleWorkerRequest.cs
- GridItem.cs
- SecurityListenerSettingsLifetimeManager.cs
- XmlEventCache.cs
- CheckBox.cs
- XmlSerializerAssemblyAttribute.cs
- CustomCategoryAttribute.cs
- embossbitmapeffect.cs
- RtfToXamlLexer.cs
- TypeToken.cs
- Site.cs
- ProcessRequestArgs.cs
- XmlJsonReader.cs
- CodeTypeReferenceExpression.cs
- DataSourceCache.cs
- WebException.cs
- FixedBufferAttribute.cs
- GZipDecoder.cs
- VirtualPathUtility.cs
- DelegatedStream.cs
- MaterialGroup.cs
- Scene3D.cs
- DefaultValueConverter.cs
- LabelLiteral.cs
- PnrpPeerResolverElement.cs
- ItemMap.cs
- TextPattern.cs
- PipeConnection.cs
- FileStream.cs
- NonParentingControl.cs
- XmlComplianceUtil.cs
- AlphabeticalEnumConverter.cs
- ListControlConvertEventArgs.cs
- RequestDescription.cs
- CornerRadiusConverter.cs
- XmlAttributeProperties.cs
- DetailsViewPageEventArgs.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- PeekCompletedEventArgs.cs
- HwndHostAutomationPeer.cs