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
- ReadWriteObjectLock.cs
- RuleInfoComparer.cs
- _WebProxyDataBuilder.cs
- ClientSettings.cs
- SafeNativeMethods.cs
- DesigntimeLicenseContext.cs
- SafeEventLogWriteHandle.cs
- GenericPrincipal.cs
- InfoCardPolicy.cs
- ActivityExecutorOperation.cs
- ListControl.cs
- __Error.cs
- SqlCacheDependencyDatabaseCollection.cs
- SystemIcmpV6Statistics.cs
- WorkflowOperationFault.cs
- TextEffect.cs
- StdValidatorsAndConverters.cs
- HtmlShimManager.cs
- Native.cs
- StringCollection.cs
- DoubleKeyFrameCollection.cs
- ClientSession.cs
- BitmapEffectInput.cs
- RegexWriter.cs
- AsyncDataRequest.cs
- ResourceAttributes.cs
- MachineSettingsSection.cs
- CollectionChangeEventArgs.cs
- TableRowCollection.cs
- CheckBox.cs
- Gdiplus.cs
- BrowserCapabilitiesFactoryBase.cs
- SafeRightsManagementQueryHandle.cs
- PersonalizablePropertyEntry.cs
- DbCommandTree.cs
- ExcCanonicalXml.cs
- GeometryConverter.cs
- SecurityMessageProperty.cs
- TableRowGroup.cs
- ScrollBar.cs
- KnownTypesProvider.cs
- Triplet.cs
- ChangePassword.cs
- TextMetrics.cs
- Expander.cs
- EmbeddedMailObject.cs
- ProviderSettingsCollection.cs
- DataGridRowHeaderAutomationPeer.cs
- ViewSimplifier.cs
- GridViewCellAutomationPeer.cs
- SQLBinaryStorage.cs
- DigestComparer.cs
- SignedPkcs7.cs
- ISessionStateStore.cs
- BaseDataListDesigner.cs
- TextTrailingCharacterEllipsis.cs
- TextEditorParagraphs.cs
- Misc.cs
- FunctionParameter.cs
- ListDependantCardsRequest.cs
- TimeIntervalCollection.cs
- ProcessModuleCollection.cs
- RepeaterCommandEventArgs.cs
- IntSecurity.cs
- CachedTypeface.cs
- ProxyElement.cs
- CellParaClient.cs
- GestureRecognizer.cs
- Stylesheet.cs
- DelegateHelpers.cs
- __ComObject.cs
- OracleBFile.cs
- RenameRuleObjectDialog.cs
- LogLogRecordHeader.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- PageCatalogPart.cs
- RoleService.cs
- EventMappingSettings.cs
- BuildProviderAppliesToAttribute.cs
- RotateTransform3D.cs
- NavigationExpr.cs
- TextRange.cs
- CapabilitiesSection.cs
- Int32RectConverter.cs
- XamlValidatingReader.cs
- CheckedPointers.cs
- DtrList.cs
- UserNamePasswordValidationMode.cs
- Int16.cs
- ClonableStack.cs
- X509ServiceCertificateAuthenticationElement.cs
- RotateTransform.cs
- altserialization.cs
- BindUriHelper.cs
- ProxyGenerationError.cs
- TreeNodeCollectionEditor.cs
- TableCellCollection.cs
- TimersDescriptionAttribute.cs
- XNodeValidator.cs
- RbTree.cs