Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- EntitySqlQueryBuilder.cs
- TableRow.cs
- ObfuscateAssemblyAttribute.cs
- DataGridComponentEditor.cs
- WebBrowserHelper.cs
- CollectionChangeEventArgs.cs
- Transform.cs
- Link.cs
- EntityException.cs
- PolygonHotSpot.cs
- FolderBrowserDialog.cs
- JsonDataContract.cs
- DispatcherExceptionFilterEventArgs.cs
- WorkerRequest.cs
- WhitespaceSignificantCollectionAttribute.cs
- AssemblyCache.cs
- Aggregates.cs
- LostFocusEventManager.cs
- Codec.cs
- ApplicationManager.cs
- OdbcEnvironment.cs
- PropertyDescriptor.cs
- ToolStripManager.cs
- NativeMethods.cs
- BaseTreeIterator.cs
- DataListItemCollection.cs
- SizeKeyFrameCollection.cs
- BoundConstants.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ConfigurationPermission.cs
- ProgressPage.cs
- OleDbParameterCollection.cs
- GatewayIPAddressInformationCollection.cs
- precedingsibling.cs
- XmlSchemaElement.cs
- UIInitializationException.cs
- X509CertificateRecipientServiceCredential.cs
- DbConvert.cs
- Knowncolors.cs
- LiteralDesigner.cs
- ErrorWebPart.cs
- EncodingInfo.cs
- DesignSurface.cs
- SynchronizedInputHelper.cs
- WebSysDefaultValueAttribute.cs
- SeverityFilter.cs
- AsyncCompletedEventArgs.cs
- CodeGotoStatement.cs
- ObjectAssociationEndMapping.cs
- RSAProtectedConfigurationProvider.cs
- Update.cs
- CodeGenerator.cs
- XamlPointCollectionSerializer.cs
- PenThreadPool.cs
- Queue.cs
- ToolStripManager.cs
- PreservationFileReader.cs
- DllNotFoundException.cs
- BinarySerializer.cs
- HostSecurityManager.cs
- SessionPageStatePersister.cs
- SafeNativeMethods.cs
- EventDriven.cs
- CustomValidator.cs
- ViewGenResults.cs
- MessageFault.cs
- SynchronousChannel.cs
- WebConfigurationHostFileChange.cs
- BitSet.cs
- PopupControlService.cs
- WhitespaceReader.cs
- CultureInfoConverter.cs
- CodeTypeOfExpression.cs
- ProxyAssemblyNotLoadedException.cs
- Binding.cs
- ImageAutomationPeer.cs
- UnsafeNetInfoNativeMethods.cs
- TemplatePartAttribute.cs
- ClientSideQueueItem.cs
- RemotingServices.cs
- Inflater.cs
- oledbmetadatacolumnnames.cs
- EncryptedData.cs
- ToolStripLabel.cs
- RtfToXamlReader.cs
- EndPoint.cs
- CqlParserHelpers.cs
- Attributes.cs
- Win32.cs
- SamlAssertion.cs
- ClientTargetCollection.cs
- Application.cs
- PingReply.cs
- UrlMappingsModule.cs
- TableCellAutomationPeer.cs
- SmuggledIUnknown.cs
- RoutedCommand.cs
- AttachedPropertyMethodSelector.cs
- WebPartZoneBase.cs
- IdentitySection.cs