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
- externdll.cs
- DataControlPagerLinkButton.cs
- DataGridViewControlCollection.cs
- Boolean.cs
- ObjectSecurity.cs
- _AutoWebProxyScriptHelper.cs
- HostingEnvironmentSection.cs
- DesignerDataParameter.cs
- PersistStreamTypeWrapper.cs
- ConnectionsZone.cs
- SQLCharsStorage.cs
- TypedReference.cs
- QfeChecker.cs
- BrowserCapabilitiesFactory.cs
- TextEditorContextMenu.cs
- RowToParametersTransformer.cs
- HashCodeCombiner.cs
- MessageQueuePermissionAttribute.cs
- ToolStripItemEventArgs.cs
- VirtualPathUtility.cs
- DynamicValidator.cs
- ToolStripDesignerAvailabilityAttribute.cs
- PointIndependentAnimationStorage.cs
- OleDbStruct.cs
- RegexCaptureCollection.cs
- CatalogZoneDesigner.cs
- SectionVisual.cs
- TextPenaltyModule.cs
- GeneralTransform.cs
- InProcStateClientManager.cs
- MSAAEventDispatcher.cs
- Accessible.cs
- DesignerActionVerbItem.cs
- PageThemeBuildProvider.cs
- Header.cs
- SizeAnimationUsingKeyFrames.cs
- ExceptionDetail.cs
- ImageDrawing.cs
- GlobalizationSection.cs
- TextParagraph.cs
- SqlCacheDependency.cs
- CasesDictionary.cs
- coordinatorfactory.cs
- PrimitiveXmlSerializers.cs
- HtmlImageAdapter.cs
- DataGridCell.cs
- UIPermission.cs
- XhtmlTextWriter.cs
- SerTrace.cs
- TimeSpanStorage.cs
- Config.cs
- CompensableActivity.cs
- EmulateRecognizeCompletedEventArgs.cs
- DataGridViewColumnEventArgs.cs
- DesigntimeLicenseContextSerializer.cs
- AdornerDecorator.cs
- SqlSelectStatement.cs
- DbExpressionVisitor_TResultType.cs
- ListViewCancelEventArgs.cs
- WebEventCodes.cs
- StubHelpers.cs
- OracleString.cs
- XmlSchemaCollection.cs
- InternalControlCollection.cs
- CacheChildrenQuery.cs
- XmlLoader.cs
- InputManager.cs
- FormatterConverter.cs
- SingleAnimation.cs
- Avt.cs
- DataGridViewToolTip.cs
- SharedPersonalizationStateInfo.cs
- DataGridViewCellValidatingEventArgs.cs
- AppLevelCompilationSectionCache.cs
- UIElementIsland.cs
- MultipleViewPatternIdentifiers.cs
- CSharpCodeProvider.cs
- PrtTicket_Base.cs
- filewebresponse.cs
- FlowDocumentPaginator.cs
- AsymmetricAlgorithm.cs
- RelatedView.cs
- XslAstAnalyzer.cs
- ByValueEqualityComparer.cs
- MouseDevice.cs
- DropShadowEffect.cs
- WindowsAuthenticationEventArgs.cs
- LogicalExpr.cs
- EndpointDiscoveryMetadataCD1.cs
- AspCompat.cs
- RunInstallerAttribute.cs
- __Error.cs
- ClientRoleProvider.cs
- StreamGeometry.cs
- StrokeCollectionDefaultValueFactory.cs
- XmlWriterSettings.cs
- XmlSchemaElement.cs
- LocalFileSettingsProvider.cs
- ButtonDesigner.cs
- AnnotationObservableCollection.cs