Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Printing / PrintEvent.cs / 1305376 / 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.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PageParser.cs
- PngBitmapDecoder.cs
- ScriptManager.cs
- GradientSpreadMethodValidation.cs
- URLIdentityPermission.cs
- Stack.cs
- WriteFileContext.cs
- ConcurrentDictionary.cs
- RightsManagementEncryptedStream.cs
- SharedDp.cs
- DesignTimeDataBinding.cs
- Interfaces.cs
- XmlNamespaceManager.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- XmlCodeExporter.cs
- FragmentQueryProcessor.cs
- IgnoreSectionHandler.cs
- XmlSchemaCollection.cs
- BufferedConnection.cs
- ExitEventArgs.cs
- ConnectionProviderAttribute.cs
- SingleQueryOperator.cs
- VirtualDirectoryMappingCollection.cs
- Authorization.cs
- FixedPageAutomationPeer.cs
- BaseHashHelper.cs
- GPStream.cs
- FilterQuery.cs
- BitmapScalingModeValidation.cs
- TextPointer.cs
- BaseDataList.cs
- WindowsListViewGroup.cs
- validation.cs
- Journaling.cs
- Figure.cs
- DataGridCellItemAutomationPeer.cs
- ArgumentsParser.cs
- SegmentInfo.cs
- ImageConverter.cs
- ComplexTypeEmitter.cs
- AdornerPresentationContext.cs
- TextModifier.cs
- OciHandle.cs
- JoinCqlBlock.cs
- BinaryConverter.cs
- DirectoryRedirect.cs
- DbCommandDefinition.cs
- AccessedThroughPropertyAttribute.cs
- Roles.cs
- ServiceEndpointElement.cs
- ToolStripArrowRenderEventArgs.cs
- PropertyDescriptorCollection.cs
- InternalsVisibleToAttribute.cs
- QilValidationVisitor.cs
- AttributeCallbackBuilder.cs
- ToggleButtonAutomationPeer.cs
- StackSpiller.Bindings.cs
- Point3DAnimationBase.cs
- TriState.cs
- TextServicesCompartmentEventSink.cs
- DiffuseMaterial.cs
- ExternalException.cs
- PropertyNames.cs
- ContextMenuStrip.cs
- AttachedPropertyMethodSelector.cs
- SystemPens.cs
- NullRuntimeConfig.cs
- SchemaTableOptionalColumn.cs
- SqlParameterCollection.cs
- MultiBindingExpression.cs
- NetStream.cs
- DataSourceSelectArguments.cs
- BuildProviderCollection.cs
- DirectionalLight.cs
- InternalConfigRoot.cs
- LinqToSqlWrapper.cs
- JournalEntry.cs
- BuildProviderAppliesToAttribute.cs
- D3DImage.cs
- SchemaCollectionPreprocessor.cs
- CodeTypeDeclaration.cs
- EntitySqlQueryBuilder.cs
- HuffModule.cs
- UnknownBitmapDecoder.cs
- NavigationProgressEventArgs.cs
- CoTaskMemUnicodeSafeHandle.cs
- ListView.cs
- EdmComplexTypeAttribute.cs
- SignatureGenerator.cs
- CatalogPart.cs
- DesignerLinkAdapter.cs
- WebPartVerbCollection.cs
- Ports.cs
- LineServices.cs
- XmlCharCheckingWriter.cs
- StateItem.cs
- BounceEase.cs
- Page.cs
- WinEventTracker.cs
- SpotLight.cs