Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripLocationCancelEventArgs.cs / 1305376 / ToolStripLocationCancelEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.ComponentModel; using System.Diagnostics; using System; using System.Drawing; ////// /// internal class ToolStripLocationCancelEventArgs : CancelEventArgs { private Point newLocation; ////// ToolStripLocationCancelEventArgs provides Arguments for the Cancelable LocationChanging Event. /// event. /// ////// /// public ToolStripLocationCancelEventArgs(Point newLocation, bool value) : base(value) { this.newLocation = newLocation; } ////// Initializes a new instance of the ToolStripLocationCancelEventArgs with cancel value. /// ////// /// public Point NewLocation { get { return this.newLocation; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Returns the New Location of the ToolStrip. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.ComponentModel; using System.Diagnostics; using System; using System.Drawing; ////// /// internal class ToolStripLocationCancelEventArgs : CancelEventArgs { private Point newLocation; ////// ToolStripLocationCancelEventArgs provides Arguments for the Cancelable LocationChanging Event. /// event. /// ////// /// public ToolStripLocationCancelEventArgs(Point newLocation, bool value) : base(value) { this.newLocation = newLocation; } ////// Initializes a new instance of the ToolStripLocationCancelEventArgs with cancel value. /// ////// /// public Point NewLocation { get { return this.newLocation; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Returns the New Location of the ToolStrip. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GrowingArray.cs
- RepeatButtonAutomationPeer.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- TimeSpanStorage.cs
- PartManifestEntry.cs
- ConfigLoader.cs
- XslCompiledTransform.cs
- TransactionScopeDesigner.cs
- FilterEventArgs.cs
- ManagementClass.cs
- Attributes.cs
- BindableTemplateBuilder.cs
- Psha1DerivedKeyGenerator.cs
- DefaultSection.cs
- __Error.cs
- ScrollPatternIdentifiers.cs
- Vector3DKeyFrameCollection.cs
- ProviderCollection.cs
- ComNativeDescriptor.cs
- ZeroOpNode.cs
- SystemDiagnosticsSection.cs
- WinEventHandler.cs
- WebPartRestoreVerb.cs
- MultiSelectRootGridEntry.cs
- VerificationAttribute.cs
- NumberAction.cs
- InsufficientMemoryException.cs
- SignatureDescription.cs
- IndentedWriter.cs
- ApplicationFileCodeDomTreeGenerator.cs
- StyleTypedPropertyAttribute.cs
- ViewLoader.cs
- CodeEventReferenceExpression.cs
- XmlILIndex.cs
- CategoryGridEntry.cs
- XmlElementCollection.cs
- DynamicValueConverter.cs
- CompositeCollection.cs
- VariantWrapper.cs
- FilterEventArgs.cs
- UnsafeNativeMethods.cs
- DataColumnMappingCollection.cs
- PassportAuthentication.cs
- PrintingPermissionAttribute.cs
- CompositeFontInfo.cs
- DataSourceCacheDurationConverter.cs
- LinkArea.cs
- NumericUpDownAcceleration.cs
- TimerElapsedEvenArgs.cs
- XsltFunctions.cs
- XmlTextAttribute.cs
- HostingEnvironmentWrapper.cs
- MappingItemCollection.cs
- PageThemeCodeDomTreeGenerator.cs
- DataGridViewTextBoxColumn.cs
- AncestorChangedEventArgs.cs
- EnumerableRowCollectionExtensions.cs
- DeploymentSectionCache.cs
- BitmapMetadataEnumerator.cs
- EpmSyndicationContentDeSerializer.cs
- HtmlControl.cs
- DeferredSelectedIndexReference.cs
- FieldDescriptor.cs
- EntityContainerEntitySet.cs
- HtmlSelect.cs
- Menu.cs
- GridViewColumnHeader.cs
- OperationCanceledException.cs
- BuildProviderCollection.cs
- FileDialogCustomPlace.cs
- ConfigurationSectionGroup.cs
- GridItemCollection.cs
- ZipFileInfo.cs
- ISessionStateStore.cs
- ExecutionContext.cs
- ConditionCollection.cs
- EventMappingSettingsCollection.cs
- WindowsSysHeader.cs
- DesignerActionPropertyItem.cs
- AssemblyAssociatedContentFileAttribute.cs
- MetadataCacheItem.cs
- GC.cs
- Slider.cs
- HttpRequest.cs
- TransformCryptoHandle.cs
- UpdateRecord.cs
- WebPartEditorApplyVerb.cs
- HtmlLink.cs
- MemberBinding.cs
- QuaternionAnimationBase.cs
- DataGridPagerStyle.cs
- Style.cs
- SqlClientWrapperSmiStreamChars.cs
- OleDbReferenceCollection.cs
- SymbolEqualComparer.cs
- EntityDataSourceWrapperCollection.cs
- SearchForVirtualItemEventArgs.cs
- SafeFindHandle.cs
- EncoderParameter.cs
- TrimSurroundingWhitespaceAttribute.cs