Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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.
//
//-----------------------------------------------------------------------------
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
- Screen.cs
- DBAsyncResult.cs
- ResourceReferenceExpressionConverter.cs
- RSAPKCS1KeyExchangeFormatter.cs
- InternalsVisibleToAttribute.cs
- QilScopedVisitor.cs
- ChannelEndpointElement.cs
- HtmlForm.cs
- RenderData.cs
- ShutDownListener.cs
- HttpContextServiceHost.cs
- ParsedAttributeCollection.cs
- Attachment.cs
- DataSourceCacheDurationConverter.cs
- QuaternionAnimationUsingKeyFrames.cs
- _DomainName.cs
- SubstitutionDesigner.cs
- ImageSource.cs
- RelationshipEnd.cs
- OdbcInfoMessageEvent.cs
- ExpressionUtilities.cs
- WindowsListView.cs
- TagMapCollection.cs
- DocumentPageTextView.cs
- RecordsAffectedEventArgs.cs
- SQLBinary.cs
- Matrix.cs
- Baml2006Reader.cs
- EntityStoreSchemaFilterEntry.cs
- ITextView.cs
- EncoderReplacementFallback.cs
- PointCollectionConverter.cs
- Exceptions.cs
- WindowsUpDown.cs
- XmlSchemaAnyAttribute.cs
- PropertyChange.cs
- ServiceModelSecurityTokenTypes.cs
- DockPattern.cs
- ScriptComponentDescriptor.cs
- FixedSOMSemanticBox.cs
- XsdDateTime.cs
- PerformanceCounterPermissionEntry.cs
- SafeNativeMethods.cs
- _SSPISessionCache.cs
- EnumerableRowCollection.cs
- ImageBrush.cs
- AnimationException.cs
- DocumentXmlWriter.cs
- ServiceModelExtensionCollectionElement.cs
- TextDpi.cs
- DataSourceCacheDurationConverter.cs
- TextBoxAutomationPeer.cs
- StoryFragments.cs
- SqlVisitor.cs
- DesignerAutoFormat.cs
- ZoneIdentityPermission.cs
- PrintController.cs
- mda.cs
- Renderer.cs
- _ProxyChain.cs
- hresults.cs
- MethodCallConverter.cs
- RuleEngine.cs
- ToolStripItemTextRenderEventArgs.cs
- IODescriptionAttribute.cs
- HierarchicalDataTemplate.cs
- ProviderBase.cs
- BadImageFormatException.cs
- SystemDropShadowChrome.cs
- ExpandableObjectConverter.cs
- OdbcDataAdapter.cs
- AssemblyInfo.cs
- ObjectManager.cs
- RegexGroup.cs
- CodeExporter.cs
- RequestCachePolicyConverter.cs
- DbConnectionPoolGroupProviderInfo.cs
- SymDocumentType.cs
- UTF7Encoding.cs
- SRDisplayNameAttribute.cs
- AnnotationComponentChooser.cs
- SizeChangedInfo.cs
- PolyBezierSegmentFigureLogic.cs
- GeneratedView.cs
- ArrayExtension.cs
- DeobfuscatingStream.cs
- DelegatedStream.cs
- WeakHashtable.cs
- FormatControl.cs
- SqlTypeSystemProvider.cs
- ListSourceHelper.cs
- GorillaCodec.cs
- EntityProviderFactory.cs
- RtType.cs
- CharacterMetricsDictionary.cs
- SocketAddress.cs
- InstalledFontCollection.cs
- DockProviderWrapper.cs
- HtmlControl.cs
- XslTransform.cs