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
- RequiredAttributeAttribute.cs
- TimeSpanConverter.cs
- MouseEvent.cs
- AstTree.cs
- EncoderParameters.cs
- BindingCompleteEventArgs.cs
- WebPartVerbCollection.cs
- CancelEventArgs.cs
- ConfigurationLocation.cs
- SqlLiftWhereClauses.cs
- FixedDocumentSequencePaginator.cs
- _DomainName.cs
- ImageMapEventArgs.cs
- DivideByZeroException.cs
- RunInstallerAttribute.cs
- OdbcConnectionPoolProviderInfo.cs
- InfoCardProofToken.cs
- DataSourceGroupCollection.cs
- SqlUtil.cs
- GroupBoxRenderer.cs
- PackWebRequestFactory.cs
- SymbolPair.cs
- ExpressionBuilder.cs
- ClassHandlersStore.cs
- ContentValidator.cs
- CannotUnloadAppDomainException.cs
- Completion.cs
- URI.cs
- TextTreeNode.cs
- IgnoreSectionHandler.cs
- OdbcReferenceCollection.cs
- ObjectDisposedException.cs
- OleDbError.cs
- DoubleConverter.cs
- ToolStripItemCollection.cs
- CodeArrayIndexerExpression.cs
- WebPartUtil.cs
- TempFiles.cs
- SchemaImporterExtension.cs
- LinkUtilities.cs
- StringFormat.cs
- Point4DConverter.cs
- GridEntryCollection.cs
- LogoValidationException.cs
- PersonalizationDictionary.cs
- StylusPointDescription.cs
- SqlFunctionAttribute.cs
- SmiEventSink.cs
- ImageListImageEditor.cs
- ClaimTypeElementCollection.cs
- XamlSerializationHelper.cs
- SkewTransform.cs
- X509Certificate2Collection.cs
- Wildcard.cs
- StorageAssociationSetMapping.cs
- BadImageFormatException.cs
- ProcessModuleCollection.cs
- InstanceDescriptor.cs
- WebSysDefaultValueAttribute.cs
- Label.cs
- SqlCommandBuilder.cs
- ReceiveActivityDesignerTheme.cs
- RuntimeTrackingProfile.cs
- VarInfo.cs
- NativeMethods.cs
- OrderByLifter.cs
- TreeNodeBindingCollection.cs
- QueryOutputWriter.cs
- ItemCheckedEvent.cs
- AlignmentXValidation.cs
- UnionExpr.cs
- BoundPropertyEntry.cs
- CompoundFileStreamReference.cs
- DigitShape.cs
- AccessText.cs
- ProcessProtocolHandler.cs
- VSWCFServiceContractGenerator.cs
- UpDownEvent.cs
- Char.cs
- WmpBitmapEncoder.cs
- KnownAssemblyEntry.cs
- BitVector32.cs
- PageContentAsyncResult.cs
- EllipseGeometry.cs
- IIS7WorkerRequest.cs
- WebServiceFaultDesigner.cs
- _NegoStream.cs
- SqlProfileProvider.cs
- OutKeywords.cs
- ProxyWebPartConnectionCollection.cs
- ParentQuery.cs
- SafeBitVector32.cs
- SortedSetDebugView.cs
- EncoderNLS.cs
- InstanceStoreQueryResult.cs
- CrossSiteScriptingValidation.cs
- DataConnectionHelper.cs
- TCEAdapterGenerator.cs
- RunInstallerAttribute.cs
- HMACRIPEMD160.cs