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
- DesignBindingPicker.cs
- WebBrowserNavigatingEventHandler.cs
- TaskExtensions.cs
- FormsAuthenticationTicket.cs
- ReflectionHelper.cs
- Formatter.cs
- BinHexEncoder.cs
- ListControl.cs
- CopyOnWriteList.cs
- UnauthorizedWebPart.cs
- MobileControlBuilder.cs
- ClientSection.cs
- BaseCAMarshaler.cs
- CodeBinaryOperatorExpression.cs
- CompoundFileReference.cs
- DataSourceExpression.cs
- PagedDataSource.cs
- ByteKeyFrameCollection.cs
- LinkArea.cs
- PenCursorManager.cs
- HttpModulesSection.cs
- Byte.cs
- WebEventCodes.cs
- Win32KeyboardDevice.cs
- GregorianCalendar.cs
- AlphabetConverter.cs
- XmlTextReaderImpl.cs
- CodeGen.cs
- CreateUserWizard.cs
- AssertFilter.cs
- AsyncOperation.cs
- Model3DGroup.cs
- BufferedStream2.cs
- CallbackValidatorAttribute.cs
- basemetadatamappingvisitor.cs
- ToRequest.cs
- PolyLineSegment.cs
- coordinatorfactory.cs
- DataControlImageButton.cs
- ShutDownListener.cs
- AutoCompleteStringCollection.cs
- ConstraintConverter.cs
- RightsManagementEncryptedStream.cs
- StrokeNode.cs
- PopupRootAutomationPeer.cs
- CacheVirtualItemsEvent.cs
- ItemDragEvent.cs
- DateTime.cs
- UnsafeNativeMethods.cs
- MSAAEventDispatcher.cs
- DataGridViewCellCancelEventArgs.cs
- FormsIdentity.cs
- EqualityComparer.cs
- SurrogateEncoder.cs
- DiscoveryServiceExtension.cs
- EpmSourcePathSegment.cs
- ServiceDescriptionReflector.cs
- ScaleTransform3D.cs
- EventListenerClientSide.cs
- ErrorHandlerFaultInfo.cs
- RoleGroup.cs
- Floater.cs
- IteratorDescriptor.cs
- WebAdminConfigurationHelper.cs
- XPathNodePointer.cs
- Thickness.cs
- DllNotFoundException.cs
- TreeNodeBinding.cs
- XmlWrappingReader.cs
- XPathNodeHelper.cs
- CollectionViewGroupRoot.cs
- HighlightVisual.cs
- PointCollection.cs
- DisplayNameAttribute.cs
- PropertyDescriptorCollection.cs
- DependencyObjectValidator.cs
- WeakReferenceKey.cs
- Point4D.cs
- QuotedPrintableStream.cs
- HttpHandlerAction.cs
- Cursors.cs
- DataGridViewRowConverter.cs
- CorrelationManager.cs
- Vector3DValueSerializer.cs
- DbConnectionInternal.cs
- SqlVersion.cs
- HighlightVisual.cs
- MemoryFailPoint.cs
- NetDataContractSerializer.cs
- WeakRefEnumerator.cs
- ObservableDictionary.cs
- MimeXmlReflector.cs
- CodeAttributeArgumentCollection.cs
- FileDialogCustomPlacesCollection.cs
- StructuredType.cs
- AccessText.cs
- ToolStripPanelRenderEventArgs.cs
- TextDecorationCollection.cs
- configsystem.cs
- HttpPostedFile.cs