Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / SplitterCancelEvent.cs / 1305376 / 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
- HttpResponseBase.cs
- RequestCache.cs
- OdbcInfoMessageEvent.cs
- DataTableReader.cs
- XmlCharType.cs
- ScriptReferenceBase.cs
- UserControl.cs
- SmtpTransport.cs
- RolePrincipal.cs
- NamedPipeChannelFactory.cs
- FixedPosition.cs
- WindowsServiceElement.cs
- OracleTimeSpan.cs
- DataGridViewCheckBoxColumn.cs
- SecurityException.cs
- DocumentAutomationPeer.cs
- AutomationAttributeInfo.cs
- Delegate.cs
- MarkupCompilePass1.cs
- TimeEnumHelper.cs
- LayoutExceptionEventArgs.cs
- PersonalizationStateInfoCollection.cs
- MD5CryptoServiceProvider.cs
- DesignerLoader.cs
- ApplicationFileParser.cs
- VisualProxy.cs
- UrlAuthorizationModule.cs
- Font.cs
- StreamGeometry.cs
- ReflectionUtil.cs
- XPathNodeIterator.cs
- XPathEmptyIterator.cs
- TileModeValidation.cs
- ComplexPropertyEntry.cs
- RoutedPropertyChangedEventArgs.cs
- SizeF.cs
- MouseWheelEventArgs.cs
- MapPathBasedVirtualPathProvider.cs
- HtmlShimManager.cs
- WebContext.cs
- GestureRecognitionResult.cs
- TargetControlTypeAttribute.cs
- FormClosedEvent.cs
- ErrorFormatterPage.cs
- X509WindowsSecurityToken.cs
- VideoDrawing.cs
- GlyphsSerializer.cs
- TaskFileService.cs
- TcpTransportManager.cs
- MultiSelector.cs
- DataQuery.cs
- TextEvent.cs
- QilDataSource.cs
- BasicViewGenerator.cs
- TriState.cs
- sortedlist.cs
- SecuritySessionClientSettings.cs
- CodeIdentifiers.cs
- StrongBox.cs
- FontSizeConverter.cs
- CorruptingExceptionCommon.cs
- Rules.cs
- Stream.cs
- XPathAncestorIterator.cs
- QueryServiceConfigHandle.cs
- ProviderConnectionPointCollection.cs
- NotifyCollectionChangedEventArgs.cs
- DataRowComparer.cs
- SafeReadContext.cs
- SapiAttributeParser.cs
- ContextQuery.cs
- Int32Collection.cs
- cookie.cs
- CompleteWizardStep.cs
- PolicyManager.cs
- TextViewBase.cs
- DataProtectionSecurityStateEncoder.cs
- EventHandlerList.cs
- validationstate.cs
- PreviewControlDesigner.cs
- OrthographicCamera.cs
- StringReader.cs
- TrackingLocation.cs
- AutomationEventArgs.cs
- WebPartConnection.cs
- IdentityNotMappedException.cs
- ComponentEditorForm.cs
- MultipartIdentifier.cs
- XmlDataSource.cs
- Models.cs
- IdentityValidationException.cs
- ActivityTypeDesigner.xaml.cs
- SqlFormatter.cs
- ElementNotEnabledException.cs
- ApplicationId.cs
- DbDataRecord.cs
- UnsafeNativeMethods.cs
- ControlCodeDomSerializer.cs
- SqlDependencyUtils.cs
- ObjectListField.cs