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
- DnsPermission.cs
- RotateTransform3D.cs
- SendingRequestEventArgs.cs
- BasicBrowserDialog.designer.cs
- KnownBoxes.cs
- AssemblySettingAttributes.cs
- XmlSchemaAll.cs
- GlyphRunDrawing.cs
- HtmlLiteralTextAdapter.cs
- ScrollItemProviderWrapper.cs
- CanonicalizationDriver.cs
- Authorization.cs
- TTSEvent.cs
- ClientProxyGenerator.cs
- KeyInstance.cs
- MenuBase.cs
- StringFormat.cs
- ConnectionManagementElement.cs
- FrugalMap.cs
- Operators.cs
- SimpleBitVector32.cs
- ECDiffieHellmanCng.cs
- SelectionEditor.cs
- SuppressMessageAttribute.cs
- DetailsViewPageEventArgs.cs
- MediaContext.cs
- ExtendedPropertyCollection.cs
- GradientStopCollection.cs
- ListSourceHelper.cs
- BulletChrome.cs
- XslUrlEditor.cs
- XPathSingletonIterator.cs
- DiffuseMaterial.cs
- GridItemPattern.cs
- SimpleBitVector32.cs
- HttpStreamMessageEncoderFactory.cs
- ManualWorkflowSchedulerService.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- formatter.cs
- AgileSafeNativeMemoryHandle.cs
- SQLDoubleStorage.cs
- InvokeMethodActivityDesigner.cs
- messageonlyhwndwrapper.cs
- TextElementCollection.cs
- BaseCollection.cs
- LateBoundChannelParameterCollection.cs
- XmlnsCache.cs
- ByteStreamMessageUtility.cs
- UndoEngine.cs
- ColorConverter.cs
- Sentence.cs
- InstallerTypeAttribute.cs
- TryExpression.cs
- EDesignUtil.cs
- Int32Animation.cs
- DataRowCollection.cs
- PopOutPanel.cs
- AssemblyResourceLoader.cs
- EnterpriseServicesHelper.cs
- CurrentChangingEventArgs.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- TimeEnumHelper.cs
- StructuralType.cs
- FamilyMapCollection.cs
- CheckPair.cs
- DataGridViewSortCompareEventArgs.cs
- safesecurityhelperavalon.cs
- UrlParameterReader.cs
- JsonFormatWriterGenerator.cs
- SchemaTypeEmitter.cs
- HyperLinkStyle.cs
- SequentialWorkflowHeaderFooter.cs
- BatchParser.cs
- SuppressIldasmAttribute.cs
- CultureTableRecord.cs
- DesignerActionService.cs
- SqlGenerator.cs
- WebPartUserCapability.cs
- MarkupCompilePass1.cs
- ValidatedControlConverter.cs
- SizeConverter.cs
- PropertyMappingExceptionEventArgs.cs
- CacheVirtualItemsEvent.cs
- BaseTransportHeaders.cs
- LinqDataSourceInsertEventArgs.cs
- ReliableReplySessionChannel.cs
- BitmapEffectDrawingContextState.cs
- CustomPeerResolverService.cs
- Vector3DCollectionValueSerializer.cs
- ViewGenerator.cs
- ServiceNotStartedException.cs
- SecurityTokenTypes.cs
- ProgressChangedEventArgs.cs
- KernelTypeValidation.cs
- SmiGettersStream.cs
- MenuItem.cs
- AmbientLight.cs
- ipaddressinformationcollection.cs
- TextWriterEngine.cs
- PathBox.cs