Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ConnectionProviderAttribute.cs
- ProjectionPlan.cs
- LabelAutomationPeer.cs
- Panel.cs
- _NativeSSPI.cs
- FacetValues.cs
- ManagementScope.cs
- MediaElement.cs
- TcpDuplicateContext.cs
- ThrowHelper.cs
- AdobeCFFWrapper.cs
- RecognizedWordUnit.cs
- ContextMenuStripGroup.cs
- TextEditorParagraphs.cs
- InvokeWebServiceDesigner.cs
- AsymmetricAlgorithm.cs
- DataGridViewColumn.cs
- ComAdminWrapper.cs
- TrackingStringDictionary.cs
- SettingsAttributes.cs
- FixedElement.cs
- Size3DValueSerializer.cs
- DocumentOrderQuery.cs
- TransformGroup.cs
- ZipIOModeEnforcingStream.cs
- CounterSampleCalculator.cs
- LogAppendAsyncResult.cs
- KeySpline.cs
- BamlResourceContent.cs
- RewritingPass.cs
- FrameworkReadOnlyPropertyMetadata.cs
- TimerElapsedEvenArgs.cs
- HtmlUtf8RawTextWriter.cs
- EventData.cs
- RectangleGeometry.cs
- DataGridViewColumnStateChangedEventArgs.cs
- StreamGeometry.cs
- TransformProviderWrapper.cs
- WebOperationContext.cs
- CodeMemberField.cs
- UInt16Storage.cs
- DropTarget.cs
- NegotiateStream.cs
- BitmapEffectOutputConnector.cs
- DynamicValidator.cs
- FlowLayoutPanel.cs
- ValidatorUtils.cs
- PrePrepareMethodAttribute.cs
- OrderedDictionary.cs
- LinqDataSourceStatusEventArgs.cs
- TextBox.cs
- FixedPage.cs
- SqlClientWrapperSmiStreamChars.cs
- PolicyChain.cs
- TemplateParser.cs
- PageStatePersister.cs
- CounterCreationData.cs
- TagPrefixInfo.cs
- SqlSelectStatement.cs
- HostSecurityManager.cs
- XmlDataSource.cs
- OleDbPropertySetGuid.cs
- Base64Encoder.cs
- CacheDependency.cs
- FixedStringLookup.cs
- FindProgressChangedEventArgs.cs
- SynchronizationContext.cs
- PersonalizationEntry.cs
- Set.cs
- BindingManagerDataErrorEventArgs.cs
- ListenerAdaptersInstallComponent.cs
- PointCollectionValueSerializer.cs
- XmlSiteMapProvider.cs
- ComponentDispatcher.cs
- DependencyPropertyValueSerializer.cs
- TraceListener.cs
- TryCatchDesigner.xaml.cs
- XmlBinaryReader.cs
- PrimarySelectionAdorner.cs
- CompilationSection.cs
- EncodingInfo.cs
- StorageRoot.cs
- DataServiceBuildProvider.cs
- ImmutableCommunicationTimeouts.cs
- BulletedList.cs
- DocumentPageViewAutomationPeer.cs
- SplashScreen.cs
- PolicyStatement.cs
- CompoundFileDeflateTransform.cs
- SafeWaitHandle.cs
- CookieHandler.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- ColumnTypeConverter.cs
- XmlAnyElementAttributes.cs
- TokenizerHelper.cs
- HtmlEmptyTagControlBuilder.cs
- WebPartEventArgs.cs
- OptionUsage.cs
- DbConnectionPoolIdentity.cs
- TemplateApplicationHelper.cs