Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / TreeViewEvent.cs / 1 / TreeViewEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.ComponentModel;
using System.Drawing;
using Microsoft.Win32;
///
///
///
/// Provides data for the , , , or event.
///
///
public class TreeViewEventArgs : EventArgs {
TreeNode node;
TreeViewAction action = TreeViewAction.Unknown;
///
///
/// [To be supplied.]
///
public TreeViewEventArgs(TreeNode node) {
this.node = node;
}
///
///
/// [To be supplied.]
///
public TreeViewEventArgs(TreeNode node, TreeViewAction action) {
this.node = node;
this.action = action;
}
///
///
/// [To be supplied.]
///
public TreeNode Node {
get {
return node;
}
}
///
///
/// An event specific action-flag.
///
public TreeViewAction Action {
get {
return action;
}
}
}
}
// 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.ComponentModel;
using System.Drawing;
using Microsoft.Win32;
///
///
///
/// Provides data for the , , , or event.
///
///
public class TreeViewEventArgs : EventArgs {
TreeNode node;
TreeViewAction action = TreeViewAction.Unknown;
///
///
/// [To be supplied.]
///
public TreeViewEventArgs(TreeNode node) {
this.node = node;
}
///
///
/// [To be supplied.]
///
public TreeViewEventArgs(TreeNode node, TreeViewAction action) {
this.node = node;
this.action = action;
}
///
///
/// [To be supplied.]
///
public TreeNode Node {
get {
return node;
}
}
///
///
/// An event specific action-flag.
///
public TreeViewAction Action {
get {
return action;
}
}
}
}
// 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
- ConfigurationPropertyAttribute.cs
- SpecialNameAttribute.cs
- CodeGenerator.cs
- HtmlDocument.cs
- CfgSemanticTag.cs
- KeyConverter.cs
- RefreshEventArgs.cs
- InternalSafeNativeMethods.cs
- PointF.cs
- DbReferenceCollection.cs
- MemberPath.cs
- XhtmlStyleClass.cs
- columnmapkeybuilder.cs
- Sorting.cs
- LockCookie.cs
- DataColumnMapping.cs
- StringValueSerializer.cs
- EntityDataSourceConfigureObjectContext.cs
- SchemaAttDef.cs
- AspCompat.cs
- RawAppCommandInputReport.cs
- EnumBuilder.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- FormClosedEvent.cs
- MimePart.cs
- XmlParserContext.cs
- AutomationProperty.cs
- CommonObjectSecurity.cs
- AdRotator.cs
- odbcmetadatacollectionnames.cs
- Int64Converter.cs
- CodeIdentifier.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- LocalFileSettingsProvider.cs
- ReliableSessionBindingElementImporter.cs
- BooleanStorage.cs
- GZipDecoder.cs
- ProcessModelSection.cs
- MemberExpression.cs
- Renderer.cs
- LocalTransaction.cs
- Point.cs
- HttpRuntimeSection.cs
- XhtmlBasicTextViewAdapter.cs
- CopyCodeAction.cs
- figurelength.cs
- WebBrowserUriTypeConverter.cs
- ProcessManager.cs
- SecUtil.cs
- Vector3DKeyFrameCollection.cs
- APCustomTypeDescriptor.cs
- Menu.cs
- TrackBarRenderer.cs
- StubHelpers.cs
- Utils.cs
- DaylightTime.cs
- SystemPens.cs
- CreateBookmarkScope.cs
- TextRangeAdaptor.cs
- CodeSnippetStatement.cs
- UriParserTemplates.cs
- XmlNodeReader.cs
- CompilerGlobalScopeAttribute.cs
- RenderData.cs
- CacheHelper.cs
- WebServiceClientProxyGenerator.cs
- StyleSelector.cs
- FormsAuthentication.cs
- AddInControllerImpl.cs
- MasterPageCodeDomTreeGenerator.cs
- ImpersonateTokenRef.cs
- GeometryDrawing.cs
- MsmqIntegrationInputChannel.cs
- DataConnectionHelper.cs
- RegexParser.cs
- DateTimeConverter.cs
- SettingsBindableAttribute.cs
- BrowsableAttribute.cs
- Pen.cs
- BlobPersonalizationState.cs
- WebMessageEncodingBindingElement.cs
- Group.cs
- TokenCreationException.cs
- ControlType.cs
- FlowDocumentReaderAutomationPeer.cs
- DecoderReplacementFallback.cs
- VirtualDirectoryMapping.cs
- COM2IDispatchConverter.cs
- FixedSOMImage.cs
- LayoutTableCell.cs
- LocalizableAttribute.cs
- AttributeEmitter.cs
- XmlSchemaGroup.cs
- HtmlEncodedRawTextWriter.cs
- IDispatchConstantAttribute.cs
- JumpList.cs
- DataTableReaderListener.cs
- PagerSettings.cs
- GradientStopCollection.cs
- TargetConverter.cs