Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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;
///
///
///
/// Provides data for splitter events.
///
///
public class SplitterCancelEventArgs : CancelEventArgs {
private readonly int mouseCursorX;
private readonly int mouseCursorY;
private int splitX;
private int splitY;
///
///
///
/// Initializes an instance of the class with the specified coordinates
/// of the mouse pointer and the upper-left corner of the .
///
///
public SplitterCancelEventArgs(int mouseCursorX, int mouseCursorY, int splitX, int splitY)
: base (false) {
this.mouseCursorX = mouseCursorX;
this.mouseCursorY = mouseCursorY;
this.splitX = splitX;
this.splitY = splitY;
}
///
///
///
/// Gets the x-coordinate of the
/// mouse pointer (in client coordinates).
///
///
public int MouseCursorX {
get {
return mouseCursorX;
}
}
///
///
///
/// Gets the y-coordinate of the mouse pointer (in
/// client coordinates).
///
///
public int MouseCursorY {
get {
return mouseCursorY;
}
}
///
///
///
/// Gets the x-coordinate of the
/// upper-left corner of the (in client coordinates).
///
///
public int SplitX {
get {
return splitX;
}
set {
splitX = value;
}
}
///
///
///
/// Gets the y-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.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ChtmlFormAdapter.cs
- PhysicalOps.cs
- PerfProviderCollection.cs
- LifetimeServices.cs
- SystemColors.cs
- KeyEvent.cs
- SafeNativeMethods.cs
- SubMenuStyle.cs
- DatePickerTextBox.cs
- AdRotator.cs
- LinqDataSource.cs
- VectorCollection.cs
- CompilerResults.cs
- NullableDoubleAverageAggregationOperator.cs
- Decorator.cs
- IISMapPath.cs
- TempFiles.cs
- RTTypeWrapper.cs
- Flattener.cs
- PassportAuthentication.cs
- CodeTypeDeclaration.cs
- WpfKnownMemberInvoker.cs
- CrossContextChannel.cs
- IndexedSelectQueryOperator.cs
- ItemChangedEventArgs.cs
- JobInputBins.cs
- FormsAuthenticationModule.cs
- TransformerInfo.cs
- SoapExtensionImporter.cs
- Size3D.cs
- ScriptServiceAttribute.cs
- ToolStripSystemRenderer.cs
- PropertyTabChangedEvent.cs
- TraceInternal.cs
- GeometryHitTestResult.cs
- QilLiteral.cs
- SelectionGlyphBase.cs
- MimePart.cs
- NavigationProgressEventArgs.cs
- RenderOptions.cs
- DSACryptoServiceProvider.cs
- SrgsNameValueTag.cs
- WCFBuildProvider.cs
- StringFreezingAttribute.cs
- ScriptRegistrationManager.cs
- TreeView.cs
- EntityDataSourceContextCreatedEventArgs.cs
- LinqDataSourceValidationException.cs
- TraceHandlerErrorFormatter.cs
- InternalConfirm.cs
- GatewayDefinition.cs
- ServiceOperationHelpers.cs
- TransformCryptoHandle.cs
- WmlMobileTextWriter.cs
- ProfileGroupSettingsCollection.cs
- Matrix3DValueSerializer.cs
- TagNameToTypeMapper.cs
- WebPartConnectionsCancelVerb.cs
- ButtonBase.cs
- EraserBehavior.cs
- ScopelessEnumAttribute.cs
- WindowsToolbar.cs
- ExeContext.cs
- XsdDataContractImporter.cs
- Int16Converter.cs
- Util.cs
- StoreAnnotationsMap.cs
- NamespaceCollection.cs
- ToolStripPanelRenderEventArgs.cs
- PreProcessInputEventArgs.cs
- TdsParserSafeHandles.cs
- PolyQuadraticBezierSegment.cs
- COM2ComponentEditor.cs
- SQLString.cs
- ImageCollectionEditor.cs
- TextEditorCopyPaste.cs
- ResourceExpressionBuilder.cs
- Panel.cs
- ReadOnlyTernaryTree.cs
- ZipIOLocalFileBlock.cs
- CryptoKeySecurity.cs
- OptimisticConcurrencyException.cs
- SingletonChannelAcceptor.cs
- TiffBitmapDecoder.cs
- SubMenuStyle.cs
- OrthographicCamera.cs
- DateBoldEvent.cs
- XPathNodeList.cs
- ProcessStartInfo.cs
- WebPartDisplayModeCollection.cs
- TemplateControl.cs
- MaskDescriptors.cs
- PersonalizationProviderCollection.cs
- ControlBuilder.cs
- ListBindingConverter.cs
- LassoHelper.cs
- CompileXomlTask.cs
- MappingItemCollection.cs
- _Semaphore.cs
- ToolStripOverflow.cs