Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / SplitterEvent.cs / 1305376 / SplitterEvent.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.
///
///
[System.Runtime.InteropServices.ComVisible(true)]
public class SplitterEventArgs : EventArgs {
private readonly int x;
private readonly int y;
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 SplitterEventArgs(int x, int y, int splitX, int splitY) {
this.x = x;
this.y = y;
this.splitX = splitX;
this.splitY = splitY;
}
///
///
///
/// Gets the x-coordinate of the
/// mouse pointer (in client coordinates).
///
///
public int X {
get {
return x;
}
}
///
///
///
/// Gets the y-coordinate of the mouse pointer (in
/// client coordinates).
///
///
public int Y {
get {
return y;
}
}
///
///
///
/// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DrawingContextDrawingContextWalker.cs
- PixelFormatConverter.cs
- Filter.cs
- SqlDataSourceSelectingEventArgs.cs
- RequiredFieldValidator.cs
- IssuedSecurityTokenParameters.cs
- XPathNavigator.cs
- Label.cs
- EventItfInfo.cs
- EnumDataContract.cs
- DependencyObject.cs
- RelationshipEntry.cs
- XmlResolver.cs
- ChtmlCalendarAdapter.cs
- ValidatingPropertiesEventArgs.cs
- RequestTimeoutManager.cs
- RealProxy.cs
- FlowDocumentPage.cs
- DrawingContext.cs
- DictionaryBase.cs
- Blend.cs
- validation.cs
- ConstructorNeedsTagAttribute.cs
- Keywords.cs
- Site.cs
- XmlAggregates.cs
- DefaultEvaluationContext.cs
- SimpleType.cs
- SystemTcpConnection.cs
- CalendarModeChangedEventArgs.cs
- ImageBrush.cs
- XmlCDATASection.cs
- SiteMapSection.cs
- GeneratedCodeAttribute.cs
- AnnotationHighlightLayer.cs
- DbTransaction.cs
- TextTreeFixupNode.cs
- PageRouteHandler.cs
- WindowsTab.cs
- SocketPermission.cs
- XPathSelfQuery.cs
- ClientSettingsProvider.cs
- ContactManager.cs
- RoleManagerEventArgs.cs
- Descriptor.cs
- RuntimeIdentifierPropertyAttribute.cs
- SafeFindHandle.cs
- MD5HashHelper.cs
- TextRangeBase.cs
- Util.cs
- SQLMoneyStorage.cs
- ParseNumbers.cs
- AssemblyHash.cs
- SrgsGrammarCompiler.cs
- CalendarDay.cs
- ToolStripDropTargetManager.cs
- _DigestClient.cs
- PasswordRecovery.cs
- ClientBuildManager.cs
- UxThemeWrapper.cs
- XmlSchemaSimpleContent.cs
- TextBoxRenderer.cs
- webproxy.cs
- OperationPickerDialog.cs
- Privilege.cs
- CodePageUtils.cs
- PasswordRecoveryAutoFormat.cs
- RealizationDrawingContextWalker.cs
- DocumentXmlWriter.cs
- TypeContext.cs
- XmlDictionaryString.cs
- MD5CryptoServiceProvider.cs
- SourceLineInfo.cs
- NamespaceEmitter.cs
- wpf-etw.cs
- TextParentUndoUnit.cs
- SystemDiagnosticsSection.cs
- ComponentCache.cs
- SecurityManager.cs
- ItemList.cs
- DbProviderSpecificTypePropertyAttribute.cs
- MouseActionConverter.cs
- CultureTable.cs
- ModuleElement.cs
- ListSurrogate.cs
- TextSelectionHelper.cs
- RadioButtonPopupAdapter.cs
- MaterialGroup.cs
- TrustSection.cs
- BaseProcessProtocolHandler.cs
- Int64Animation.cs
- ConcurrentStack.cs
- SqlTypeSystemProvider.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- MatrixTransform.cs
- RemoteCryptoTokenProvider.cs
- FileDialog_Vista.cs
- ByteStack.cs
- CodePageEncoding.cs
- TimersDescriptionAttribute.cs