Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- XmlEventCache.cs
- DisplayMemberTemplateSelector.cs
- DataSourceCache.cs
- TypeElement.cs
- XmlSchemaAnnotated.cs
- Maps.cs
- StreamInfo.cs
- SqlDataSourceSelectingEventArgs.cs
- IFormattable.cs
- Configuration.cs
- OpenTypeLayoutCache.cs
- PeerResolver.cs
- ControlPropertyNameConverter.cs
- QueryGenerator.cs
- UInt16Converter.cs
- PasswordRecovery.cs
- SymmetricKey.cs
- HMAC.cs
- BulletChrome.cs
- HMACSHA256.cs
- IndentedWriter.cs
- BoolExpression.cs
- Size.cs
- TailCallAnalyzer.cs
- XmlNamespaceManager.cs
- DefaultAsyncDataDispatcher.cs
- BidPrivateBase.cs
- HostedElements.cs
- MDIControlStrip.cs
- CodeFieldReferenceExpression.cs
- NullableLongAverageAggregationOperator.cs
- PassportAuthenticationModule.cs
- COM2ExtendedUITypeEditor.cs
- TemplateBindingExpressionConverter.cs
- XmlIncludeAttribute.cs
- AssertFilter.cs
- DbResourceAllocator.cs
- Msec.cs
- PrintDocument.cs
- ObjectListDesigner.cs
- HtmlButton.cs
- Model3DGroup.cs
- RootContext.cs
- ListViewCancelEventArgs.cs
- FloaterBaseParagraph.cs
- PrivilegeNotHeldException.cs
- DomainConstraint.cs
- SqlBulkCopyColumnMappingCollection.cs
- Typeface.cs
- MembershipUser.cs
- PropertyAccessVisitor.cs
- UndirectedGraph.cs
- XmlSchemaComplexContentExtension.cs
- BaseContextMenu.cs
- InputReportEventArgs.cs
- IgnoreSection.cs
- connectionpool.cs
- xmlformatgeneratorstatics.cs
- FileIOPermission.cs
- WindowExtensionMethods.cs
- InvalidAsynchronousStateException.cs
- ResXResourceReader.cs
- XmlSerializerFormatAttribute.cs
- TextModifier.cs
- ErrorsHelper.cs
- VectorAnimationBase.cs
- DataGridViewCellStateChangedEventArgs.cs
- XmlEncoding.cs
- ConstraintManager.cs
- StylusLogic.cs
- HttpListenerPrefixCollection.cs
- SharedStatics.cs
- GridViewUpdateEventArgs.cs
- ReferenceSchema.cs
- Metafile.cs
- SecurityResources.cs
- XamlTreeBuilderBamlRecordWriter.cs
- DataGridCaption.cs
- StackOverflowException.cs
- _IPv4Address.cs
- InstanceKeyCollisionException.cs
- UserPersonalizationStateInfo.cs
- IconConverter.cs
- UserControlBuildProvider.cs
- TextBox.cs
- HTMLTextWriter.cs
- ProvideValueServiceProvider.cs
- dataSvcMapFileLoader.cs
- InvalidOleVariantTypeException.cs
- SystemColors.cs
- EtwProvider.cs
- CollectionDataContractAttribute.cs
- InfiniteTimeSpanConverter.cs
- BezierSegment.cs
- Part.cs
- SelectionItemPattern.cs
- EntitySet.cs
- WsiProfilesElementCollection.cs
- ResourceAttributes.cs
- BindingParameterCollection.cs