Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripLocationCancelEventArgs.cs / 1 / ToolStripLocationCancelEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.ComponentModel;
using System.Diagnostics;
using System;
using System.Drawing;
///
///
///
/// ToolStripLocationCancelEventArgs provides Arguments for the Cancelable LocationChanging Event.
/// event.
///
///
internal class ToolStripLocationCancelEventArgs : CancelEventArgs {
private Point newLocation;
///
///
///
/// Initializes a new instance of the ToolStripLocationCancelEventArgs with cancel value.
///
///
public ToolStripLocationCancelEventArgs(Point newLocation, bool value) : base(value) {
this.newLocation = newLocation;
}
///
///
///
/// Returns the New Location of the ToolStrip.
///
///
public Point NewLocation {
get {
return this.newLocation;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.ComponentModel;
using System.Diagnostics;
using System;
using System.Drawing;
///
///
///
/// ToolStripLocationCancelEventArgs provides Arguments for the Cancelable LocationChanging Event.
/// event.
///
///
internal class ToolStripLocationCancelEventArgs : CancelEventArgs {
private Point newLocation;
///
///
///
/// Initializes a new instance of the ToolStripLocationCancelEventArgs with cancel value.
///
///
public ToolStripLocationCancelEventArgs(Point newLocation, bool value) : base(value) {
this.newLocation = newLocation;
}
///
///
///
/// Returns the New Location of the ToolStrip.
///
///
public Point NewLocation {
get {
return this.newLocation;
}
}
}
}
// 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
- GeometryGroup.cs
- AbsoluteQuery.cs
- BrowserCapabilitiesCodeGenerator.cs
- WindowsAuthenticationEventArgs.cs
- EntityDataReader.cs
- CursorConverter.cs
- ReflectPropertyDescriptor.cs
- ComponentResourceManager.cs
- ExpressionLexer.cs
- DesignerSerializerAttribute.cs
- CaseCqlBlock.cs
- CodeMemberProperty.cs
- UnsafeNativeMethods.cs
- RequiredFieldValidator.cs
- ObjectItemAttributeAssemblyLoader.cs
- DataControlFieldCell.cs
- UserControlParser.cs
- ProfileSection.cs
- QilTypeChecker.cs
- AnimatedTypeHelpers.cs
- BuildProviderCollection.cs
- NullReferenceException.cs
- Dictionary.cs
- PauseStoryboard.cs
- AttachInfo.cs
- ProcessThreadCollection.cs
- TextRangeBase.cs
- TypeListConverter.cs
- Viewport2DVisual3D.cs
- CustomWebEventKey.cs
- validation.cs
- List.cs
- PersonalizationProviderCollection.cs
- ScriptingJsonSerializationSection.cs
- TextUtf8RawTextWriter.cs
- AssemblyAttributesGoHere.cs
- ScriptServiceAttribute.cs
- AbstractSvcMapFileLoader.cs
- RootBuilder.cs
- LambdaCompiler.ControlFlow.cs
- TemplateNameScope.cs
- EntityDataSourceMemberPath.cs
- DBConnectionString.cs
- FrameworkElement.cs
- ProxyDataContractResolver.cs
- InputManager.cs
- ObjectDisposedException.cs
- ResourceFallbackManager.cs
- PageParser.cs
- SByteStorage.cs
- PrtCap_Public_Simple.cs
- PaintValueEventArgs.cs
- XmlNode.cs
- Soap12FormatExtensions.cs
- HitTestResult.cs
- IHttpResponseInternal.cs
- Timer.cs
- DeadCharTextComposition.cs
- MaskInputRejectedEventArgs.cs
- Matrix3DConverter.cs
- XmlUTF8TextReader.cs
- UrlPath.cs
- FontWeights.cs
- InkPresenterAutomationPeer.cs
- FileLogRecordHeader.cs
- ListQueryResults.cs
- NamedPipeTransportSecurityElement.cs
- SamlAction.cs
- TransactionFlowElement.cs
- TraceUtils.cs
- CultureTable.cs
- Convert.cs
- NamespaceCollection.cs
- PropertyBuilder.cs
- TextFormatter.cs
- ObjectViewQueryResultData.cs
- GroupBox.cs
- DuplicateWaitObjectException.cs
- DataSourceProvider.cs
- ComponentEditorPage.cs
- CommonDialog.cs
- ManagementQuery.cs
- SqlCommand.cs
- Win32Exception.cs
- InternalTypeHelper.cs
- processwaithandle.cs
- DependencyPropertyValueSerializer.cs
- EntityViewGenerationAttribute.cs
- BezierSegment.cs
- SelectionItemPattern.cs
- RequestCachePolicy.cs
- MultipartContentParser.cs
- XmlStreamStore.cs
- HttpListenerRequest.cs
- PropertyState.cs
- wgx_exports.cs
- Code.cs
- ValueProviderWrapper.cs
- XMLDiffLoader.cs
- Line.cs