Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CommonUI / System / Drawing / Printing / PrintEvent.cs / 1 / PrintEvent.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 and
/// events.
///
public class PrintEventArgs : CancelEventArgs {
private PrintAction printAction;
///
///
///
/// Initializes a new instance of the class.
///
///
public PrintEventArgs() {
}
///
///
///
/// Initializes a new instance of the class.
///
///
internal PrintEventArgs(PrintAction action) {
this.printAction = action;
}
///
///
///
/// Specifies which is causing this event.
///
///
public PrintAction PrintAction {
get {
return printAction;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Transform.cs
- DbConnectionClosed.cs
- PointHitTestResult.cs
- EnumBuilder.cs
- FrameworkElementFactoryMarkupObject.cs
- ProcessExitedException.cs
- IgnoreFileBuildProvider.cs
- StringDictionary.cs
- Hashtable.cs
- XmlValueConverter.cs
- Random.cs
- XmlBinaryWriterSession.cs
- ValueChangedEventManager.cs
- _ListenerRequestStream.cs
- AutomationElementCollection.cs
- ConfigurationSettings.cs
- HostProtectionException.cs
- DispatcherProcessingDisabled.cs
- InternalCache.cs
- DataSourceXmlElementAttribute.cs
- WindowsScroll.cs
- ExpressionPrefixAttribute.cs
- OpCellTreeNode.cs
- ValidatingReaderNodeData.cs
- DbUpdateCommandTree.cs
- SQLMoney.cs
- HttpVersion.cs
- Utils.cs
- WorkflowFormatterBehavior.cs
- ObjectDataSourceView.cs
- PropertyToken.cs
- SmiRecordBuffer.cs
- ConfigXmlComment.cs
- AttributeEmitter.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- ErrorStyle.cs
- ConfigurationManager.cs
- PeerApplicationLaunchInfo.cs
- PersonalizationProviderHelper.cs
- XmlWrappingWriter.cs
- SafeNativeMethods.cs
- CompilerWrapper.cs
- CheckBoxDesigner.cs
- TypeValidationEventArgs.cs
- WSFederationHttpSecurityElement.cs
- ConvertEvent.cs
- EpmSourceTree.cs
- Schema.cs
- ServiceRoute.cs
- Size3DValueSerializer.cs
- Query.cs
- SmtpNetworkElement.cs
- StringAnimationBase.cs
- DataBoundControlHelper.cs
- FontSource.cs
- TimeoutException.cs
- RawStylusInputReport.cs
- PersonalizationStateInfo.cs
- SerializationInfo.cs
- DispatcherTimer.cs
- TimeoutValidationAttribute.cs
- RegexStringValidatorAttribute.cs
- WindowsStatic.cs
- ThreadAttributes.cs
- CodeGeneratorAttribute.cs
- DbgUtil.cs
- DataGridViewColumnHeaderCell.cs
- TypedAsyncResult.cs
- URLMembershipCondition.cs
- ObjectListSelectEventArgs.cs
- GridViewDeleteEventArgs.cs
- ClearCollection.cs
- InfoCardMasterKey.cs
- WpfXamlType.cs
- PriorityBindingExpression.cs
- OverflowException.cs
- XsdCachingReader.cs
- XamlPathDataSerializer.cs
- HtmlInputImage.cs
- TemplatePagerField.cs
- HttpHandlerActionCollection.cs
- RowUpdatedEventArgs.cs
- ChannelDispatcherCollection.cs
- WsatServiceAddress.cs
- HitTestParameters3D.cs
- ComplexTypeEmitter.cs
- CopyEncoder.cs
- AsyncCompletedEventArgs.cs
- SystemIPAddressInformation.cs
- InternalPermissions.cs
- ContextMenuService.cs
- StorageComplexTypeMapping.cs
- DataRecordInternal.cs
- CaseExpr.cs
- DataContractFormatAttribute.cs
- _Events.cs
- RegexCapture.cs
- MouseButtonEventArgs.cs
- UnionQueryOperator.cs
- TransactionContextValidator.cs