Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / SplitterCancelEvent.cs / 1 / SplitterCancelEvent.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; ////// /// public class SplitterCancelEventArgs : CancelEventArgs { private readonly int mouseCursorX; private readonly int mouseCursorY; private int splitX; private int splitY; ////// Provides data for splitter events. /// ////// /// public SplitterCancelEventArgs(int mouseCursorX, int mouseCursorY, int splitX, int splitY) : base (false) { this.mouseCursorX = mouseCursorX; this.mouseCursorY = mouseCursorY; this.splitX = splitX; this.splitY = splitY; } ////// Initializes an instance of the ///class with the specified coordinates /// of the mouse pointer and the upper-left corner of the . /// /// /// public int MouseCursorX { get { return mouseCursorX; } } ////// Gets the x-coordinate of the /// mouse pointer (in client coordinates). /// ////// /// public int MouseCursorY { get { return mouseCursorY; } } ////// Gets the y-coordinate of the mouse pointer (in /// client coordinates). /// ////// /// public int SplitX { get { return splitX; } set { splitX = value; } } ////// Gets the x-coordinate of the /// upper-left corner of the ///(in client coordinates). /// /// /// public int SplitY { get { return splitY; } set { splitY = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets the y-coordinate of the upper-left corner of the ///(in client coordinates). /// // 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; ////// /// public class SplitterCancelEventArgs : CancelEventArgs { private readonly int mouseCursorX; private readonly int mouseCursorY; private int splitX; private int splitY; ////// Provides data for splitter events. /// ////// /// public SplitterCancelEventArgs(int mouseCursorX, int mouseCursorY, int splitX, int splitY) : base (false) { this.mouseCursorX = mouseCursorX; this.mouseCursorY = mouseCursorY; this.splitX = splitX; this.splitY = splitY; } ////// Initializes an instance of the ///class with the specified coordinates /// of the mouse pointer and the upper-left corner of the . /// /// /// public int MouseCursorX { get { return mouseCursorX; } } ////// Gets the x-coordinate of the /// mouse pointer (in client coordinates). /// ////// /// public int MouseCursorY { get { return mouseCursorY; } } ////// Gets the y-coordinate of the mouse pointer (in /// client coordinates). /// ////// /// public int SplitX { get { return splitX; } set { splitX = value; } } ////// Gets the x-coordinate of the /// upper-left corner of the ///(in client coordinates). /// /// /// public int SplitY { get { return splitY; } set { splitY = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets the y-coordinate of the upper-left corner of the ///(in client coordinates). ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CqlQuery.cs
- ElasticEase.cs
- Property.cs
- ObjectHandle.cs
- SqlNode.cs
- PathSegmentCollection.cs
- ManagementOptions.cs
- _DisconnectOverlappedAsyncResult.cs
- ServiceProviders.cs
- Bitmap.cs
- PersistenceTypeAttribute.cs
- SettingsBase.cs
- ValueUnavailableException.cs
- Message.cs
- SqlDataAdapter.cs
- XPathParser.cs
- FontStyleConverter.cs
- WpfPayload.cs
- HostingPreferredMapPath.cs
- LayeredChannelListener.cs
- XsltFunctions.cs
- ZoneMembershipCondition.cs
- DataRecordInternal.cs
- precedingsibling.cs
- EntityProviderFactory.cs
- EventItfInfo.cs
- VerificationException.cs
- ClassDataContract.cs
- AuthenticationService.cs
- AuthenticationModuleElementCollection.cs
- WebHeaderCollection.cs
- ScrollChrome.cs
- CodeAccessPermission.cs
- compensatingcollection.cs
- ProcessHost.cs
- DefaultTextStore.cs
- altserialization.cs
- OleDbRowUpdatingEvent.cs
- BevelBitmapEffect.cs
- OutputCacheSettingsSection.cs
- MultiPageTextView.cs
- DesignSurfaceEvent.cs
- CellIdBoolean.cs
- WindowsContainer.cs
- XmlAnyElementAttribute.cs
- ExpressionBuilder.cs
- FontClient.cs
- MessagePropertyFilter.cs
- SpeakInfo.cs
- XpsManager.cs
- webeventbuffer.cs
- InfoCardSymmetricAlgorithm.cs
- TextServicesLoader.cs
- ChannelManager.cs
- ClientEventManager.cs
- ClientCredentialsSecurityTokenManager.cs
- SqlReferenceCollection.cs
- DebugView.cs
- ReadContentAsBinaryHelper.cs
- TypefaceCollection.cs
- DateTime.cs
- sqlmetadatafactory.cs
- HybridDictionary.cs
- AdornerPresentationContext.cs
- WebResourceAttribute.cs
- webeventbuffer.cs
- UserPreferenceChangedEventArgs.cs
- EncodingTable.cs
- FunctionImportMapping.cs
- DataGridToolTip.cs
- QilStrConcat.cs
- SecurityContext.cs
- IRCollection.cs
- XmlNodeChangedEventManager.cs
- LocalizabilityAttribute.cs
- ResourceCategoryAttribute.cs
- IdentitySection.cs
- ImageAnimator.cs
- SqlConnectionString.cs
- DataGridViewCellConverter.cs
- DeviceSpecific.cs
- ToolboxComponentsCreatingEventArgs.cs
- BaseTemplatedMobileComponentEditor.cs
- LinqDataSourceHelper.cs
- OdbcException.cs
- SelectedPathEditor.cs
- DialogResultConverter.cs
- PointLightBase.cs
- MsmqAppDomainProtocolHandler.cs
- CheckedListBox.cs
- HttpResponseWrapper.cs
- XmlSchemaAnyAttribute.cs
- ExpressionConverter.cs
- HttpCacheVary.cs
- WebBrowserContainer.cs
- keycontainerpermission.cs
- FormViewUpdateEventArgs.cs
- TraceContext.cs
- ValidationHelpers.cs
- NativeMethods.cs