Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / SplitterEvent.cs / 1 / 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.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Crypto.cs
- XsltCompileContext.cs
- UnicodeEncoding.cs
- WindowsScrollBar.cs
- HiddenFieldPageStatePersister.cs
- XmlQueryType.cs
- WebServiceParameterData.cs
- RpcCryptoContext.cs
- SamlSubject.cs
- SEHException.cs
- FilterElement.cs
- ToolStripPanelCell.cs
- Ref.cs
- ContentElementAutomationPeer.cs
- DynamicResourceExtensionConverter.cs
- PropertyValidationContext.cs
- FileNameEditor.cs
- WindowHideOrCloseTracker.cs
- DeferredSelectedIndexReference.cs
- PriorityBindingExpression.cs
- ComponentEvent.cs
- COMException.cs
- SqlGenericUtil.cs
- IssuanceTokenProviderState.cs
- XAMLParseException.cs
- ImageButton.cs
- RawKeyboardInputReport.cs
- FontInfo.cs
- TimeSpan.cs
- TraceXPathNavigator.cs
- RangeValuePatternIdentifiers.cs
- VersionedStream.cs
- RangeValuePatternIdentifiers.cs
- NodeInfo.cs
- PublisherMembershipCondition.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- XmlSchemaSimpleTypeUnion.cs
- IdentitySection.cs
- DataBoundControlAdapter.cs
- EventLogPermission.cs
- ValueTable.cs
- ProtocolsConfigurationHandler.cs
- ComponentTray.cs
- MultipartIdentifier.cs
- MapPathBasedVirtualPathProvider.cs
- SelectorAutomationPeer.cs
- ImageDrawing.cs
- ReturnEventArgs.cs
- DefaultBinder.cs
- PasswordBoxAutomationPeer.cs
- ConnectivityStatus.cs
- EncodingNLS.cs
- assemblycache.cs
- ListViewDataItem.cs
- XsltQilFactory.cs
- DataGridViewColumnStateChangedEventArgs.cs
- Matrix3D.cs
- GroupItem.cs
- SessionEndingCancelEventArgs.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SqlDataSourceTableQuery.cs
- AnnouncementInnerClient11.cs
- IdentityHolder.cs
- SendingRequestEventArgs.cs
- ExternalException.cs
- CodePropertyReferenceExpression.cs
- versioninfo.cs
- Guid.cs
- Int32Converter.cs
- SRGSCompiler.cs
- CodeDefaultValueExpression.cs
- ToolStripSeparatorRenderEventArgs.cs
- InvokeCompletedEventArgs.cs
- CacheHelper.cs
- FormsAuthenticationCredentials.cs
- MimeMultiPart.cs
- BaseParser.cs
- X509CertificateStore.cs
- InstanceOwnerQueryResult.cs
- UntrustedRecipientException.cs
- PersonalizationStateInfoCollection.cs
- MarkupProperty.cs
- _Rfc2616CacheValidators.cs
- ConfigurationPropertyCollection.cs
- ParameterBinding.cs
- CDSCollectionETWBCLProvider.cs
- FileStream.cs
- HashHelper.cs
- Vector3D.cs
- ElementNotAvailableException.cs
- SqlNodeAnnotation.cs
- XmlQueryOutput.cs
- ExclusiveTcpListener.cs
- odbcmetadatacollectionnames.cs
- ConfigurationStrings.cs
- DataGridColumn.cs
- AlignmentXValidation.cs
- List.cs
- CFStream.cs
- MessageAction.cs