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
- EventArgs.cs
- TraceInternal.cs
- TagElement.cs
- MobileControlDesigner.cs
- VisualSerializer.cs
- NetworkInformationException.cs
- BadImageFormatException.cs
- TypefaceCollection.cs
- RelationshipEntry.cs
- RelationshipNavigation.cs
- StrongTypingException.cs
- StringValueSerializer.cs
- SessionEndingEventArgs.cs
- InsufficientExecutionStackException.cs
- UseAttributeSetsAction.cs
- XsdDataContractExporter.cs
- ResourceType.cs
- ProxySimple.cs
- TypeToTreeConverter.cs
- SqlFacetAttribute.cs
- DbBuffer.cs
- CompositeScriptReferenceEventArgs.cs
- TemplateComponentConnector.cs
- indexingfiltermarshaler.cs
- XmlDataImplementation.cs
- LockedBorderGlyph.cs
- BaseCAMarshaler.cs
- AdornerPresentationContext.cs
- HtmlPhoneCallAdapter.cs
- EventWaitHandle.cs
- OutputCacheProfileCollection.cs
- OAVariantLib.cs
- HttpModulesInstallComponent.cs
- Base64Encoder.cs
- SQLStringStorage.cs
- GetWinFXPath.cs
- DataGridState.cs
- LightweightEntityWrapper.cs
- PackWebResponse.cs
- PageParserFilter.cs
- Int32Storage.cs
- RuleSettingsCollection.cs
- State.cs
- SessionSwitchEventArgs.cs
- WindowsListViewSubItem.cs
- LoginCancelEventArgs.cs
- StateMachineWorkflow.cs
- DateTimeStorage.cs
- FacetValueContainer.cs
- ElementHostAutomationPeer.cs
- EmptyTextWriter.cs
- HashHelper.cs
- VersionValidator.cs
- CalendarDataBindingHandler.cs
- connectionpool.cs
- ChannelBinding.cs
- EntityContainerAssociationSet.cs
- NameValuePermission.cs
- SecurityAlgorithmSuiteConverter.cs
- SqlDataReader.cs
- PassportIdentity.cs
- TransactionProtocolConverter.cs
- RewritingValidator.cs
- CodeVariableReferenceExpression.cs
- ObjectListSelectEventArgs.cs
- LocalValueEnumerator.cs
- HttpCacheParams.cs
- ViewUtilities.cs
- ResourcesGenerator.cs
- TdsParserSessionPool.cs
- InfiniteIntConverter.cs
- GlobalId.cs
- StrongName.cs
- ColumnMapVisitor.cs
- X509CertificateValidator.cs
- MissingMethodException.cs
- CustomBindingElement.cs
- XPathCompileException.cs
- hebrewshape.cs
- BoundPropertyEntry.cs
- AutomationElement.cs
- StylusPointPropertyId.cs
- EntityStoreSchemaFilterEntry.cs
- SecureStringHasher.cs
- SystemIPv4InterfaceProperties.cs
- __FastResourceComparer.cs
- ContentValidator.cs
- FrameworkContextData.cs
- WebBrowser.cs
- File.cs
- PersonalizationEntry.cs
- TimeSpanOrInfiniteConverter.cs
- CallSiteBinder.cs
- TransformerTypeCollection.cs
- DependencyPropertyDescriptor.cs
- Int16.cs
- SimpleHandlerFactory.cs
- PropertyEmitter.cs
- DesignerActionVerbItem.cs
- XamlDesignerSerializationManager.cs